apache error code in the log file

Problems with the Windows version of XAMPP, questions, comments, and anything related.

apache error code in the log file

Postby Ominae » 22. September 2010 12:08

Hi there

i recently reStarted the computer running XAMPP with apache 2.2 loaded
when i tryed to start Apache agen i got code error 1 after looking into it
i found it was a Apache error i checked the log file and read this mssg

Syntax error on line 125 of C:/xampp/apache/conf/extra/httpd-xampp.conf:
The specified network mask is invalid.

Now i look at the .conf file and i dont see the problem i am sorry total nub
when it comes to this atm... but lines 123 to 127 read as folows

Code: Select all
 
Allow from ::1 127.0.0.0/8 \
               fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/64 \
               fe80::/10 169.254.0.0/16               
    ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>

this is a copy and paste from the conf file is there any one that can help me
with this while apache is down as is all my sites :(
Ominae
 
Posts: 20
Joined: 16. September 2010 15:34

Re: apache error code in the log file

Postby Ominae » 22. September 2010 17:06

i dont realy understand what they were or how they affect the setup file
but i removed 2 lines of code
Code: Select all
               fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/64 \
               fe80::/10 169.254.0.0/16 \   

this at least has my apache server running agen so for now this will do
unless some one says i should not have done this.....

but i have to be honest i would still like to know why they stoped the service
from starting in the first place....

later all
Ominae
 
Posts: 20
Joined: 16. September 2010 15:34

Re: apache error code in the log file

Postby Ominae » 22. September 2010 17:08

okay this course apache to load but i carnt acces any of the sites or even admin pages

:S
Ominae
 
Posts: 20
Joined: 16. September 2010 15:34

Re: apache error code in the log file

Postby Altrea » 23. September 2010 04:47

Ominae wrote:i dont realy understand what they were or how they affect the setup file

Why have you changed them, if you don't know what they are for? This entry is not original:
Code: Select all
               192.168.0.0/64 \

The original Network-Mask was /16, not /64

And the whole block is to protect your xampp Administration Panel, phpmyadmin, etc. from outer access
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8293
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: apache error code in the log file

Postby Ominae » 23. September 2010 06:20

acctualy i did not change them at all this is how it was installed
and line 125 is the problems in the error your saying i should change
line 124 to solve the problem okay so i did so now line 120 to line 127
reads as follows

Code: Select all
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
    Order deny,allow
    Deny from all
    Allow from ::1 127.0.0.0/8 \
               fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
               fe80::/10 169.254.0.0/16
    ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>


this is with the change you sujested Apache now loads however that is all it will do
i can not view any web page via apache not even the admin page on the localhost
address :S now i am getttin realy confused any idears.....

(just to be clear these are the first changes I have made to any apache2.2 files ever
only the installation prog as made files)
Ominae
 
Posts: 20
Joined: 16. September 2010 15:34

Re: apache error code in the log file

Postby Altrea » 23. September 2010 06:32

Ominae wrote:acctualy i did not change them at all this is how it was installed

Which XAMPP Version?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8293
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: apache error code in the log file

Postby Ominae » 23. September 2010 07:21

xampp 1.7.3

do you think i should try an redownload and install??
or can we fix it do you think
Ominae
 
Posts: 20
Joined: 16. September 2010 15:34

Re: apache error code in the log file

Postby Nobbie » 23. September 2010 11:07

I installed Xampp 1.7.3 a few weeks ago, this is the original content of the unchanged httpd-xampp.conf:

Code: Select all
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
    Order deny,allow
    Deny from all
    Allow from ::1 127.0.0.0/8 \
               fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
               fe80::/10 169.254.0.0/16

    ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>


This differs from your settings - you must have changed that (accidently). Simply copy and paste these lines instead of re-installing the whole package.
Nobbie
 
Posts: 8770
Joined: 09. March 2008 13:04

Re: apache error code in the log file

Postby Ominae » 23. September 2010 11:51

thanx dude that got apache to load okay

but it dun seem to work i carnt use the locak host to admin
and i carnt see any websites that i h ave build :S

Edit jsust looked atthe log it is not stating to listen to port 80 now :S
Ominae
 
Posts: 20
Joined: 16. September 2010 15:34

Re: apache error code in the log file

Postby Ominae » 23. September 2010 16:41

thanx to every one that tryed to help i just started agen :)

after bakin up the SQL and HTP folders :)
Ominae
 
Posts: 20
Joined: 16. September 2010 15:34


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 52 guests