|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hello all;
I have installed Apache v2.2 on an NT4 box. I am working with the .conf files and wanted to allow access to "server-status" and "server-info" from one of the machines on my LAN. However when I configure "httpd-info.conf" as shown below: <Location /server-info> SetHandler server-info Order deny,allow Deny from all # Allow from all Allow from 192.168.2.100 </Location> The "Allow from all" works... but the "allow from 192.168.2.100" (which is the IP address of one of the computers on my LAN) gives me the "you are not allowed acess to this page" message. I've read the Apache docs (location, allow, deny, etc.) and done some searching on google -- but can't seem to figure out what I am overlooking. Can someone point me in the right direction? TIA. Charles... |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
"Charles Crume" <NOccsSPAM@charlescrumesoftware.com> schreef in bericht
news:45cac3d2$0$18923$4c368faf@roadrunner.com... > Order deny,allow > Deny from all > # Allow from all > Allow from 192.168.2.100 > </Location> > > The "Allow from all" works... but the "allow from 192.168.2.100" (which is > the IP address of one of the computers on my LAN) gives me the "you are > not allowed acess to this page" message. The message is prefixed with that IP or is it 127.0.0.1? HansH |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
I have tried both IP address (i.e., Allow from 127.0.0.1 192.168.2.100) and
get the same message. How can I tell the the message is prefixed by? Charles... "HansH" <hansh@invalid.invalid> wrote in message news:45cad153$0$333$e4fe514c@news.xs4all.nl... > "Charles Crume" <NOccsSPAM@charlescrumesoftware.com> schreef in bericht > news:45cac3d2$0$18923$4c368faf@roadrunner.com... > >> Order deny,allow >> Deny from all >> # Allow from all >> Allow from 192.168.2.100 >> </Location> >> >> The "Allow from all" works... but the "allow from 192.168.2.100" (which >> is the IP address of one of the computers on my LAN) gives me the "you >> are >> not allowed acess to this page" message. > The message is prefixed with that IP or is it 127.0.0.1? > > HansH > > |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
"Charles Crume" <NOccsSPAM@charlescrumesoftware.com> schreef in bericht news:45cba80e$0$28120$4c368faf@roadrunner.com... >>> Allow from 192.168.2.100 >>> </Location> >>> >>> The "Allow from all" works... but the "allow from 192.168.2.100" (which >>> is the IP address of one of the computers on my LAN) gives me the "you >>> are >>> not allowed acess to this page" message. >> The message is prefixed with that IP or is it 127.0.0.1? >> >I have tried both IP address (i.e., Allow from 127.0.0.1 192.168.2.100) and >get the same message. How can I tell the the message is prefixed by? > Check the error_log ... [Tue Feb 06 00:38:25 2007] [error] [client 192.168.178.21] (13)Permission denied: file permissions deny server access: /local/path/to/file .... it's the [client ....] part that of interest here, the numbers should match your 'Allow from '. HansH |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Hi Hans;
Thanks... I looked in the access.log and every request is IP address 0.0.0.0 -- so that explains why only "Allow from all" works. I must have something messed up! Can you tell me where to start looking? TIA. Charles... "HansH" <hansh@invalid.invalid> wrote in message news:45cbbee6$0$337$e4fe514c@news.xs4all.nl... > > "Charles Crume" <NOccsSPAM@charlescrumesoftware.com> schreef in bericht > news:45cba80e$0$28120$4c368faf@roadrunner.com... >>>> Allow from 192.168.2.100 >>>> </Location> >>>> >>>> The "Allow from all" works... but the "allow from 192.168.2.100" (which >>>> is the IP address of one of the computers on my LAN) gives me the "you >>>> are >>>> not allowed acess to this page" message. >>> The message is prefixed with that IP or is it 127.0.0.1? >>> >>I have tried both IP address (i.e., Allow from 127.0.0.1 192.168.2.100) >>and get the same message. How can I tell the the message is prefixed by? >> > Check the error_log ... > [Tue Feb 06 00:38:25 2007] [error] [client 192.168.178.21] (13)Permission > denied: file permissions deny server access: /local/path/to/file > ... it's the [client ....] part that of interest here, the numbers should > match your 'Allow from '. > > HansH > > |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Well... some searching on google showed that others using Apache v2.2 on
Windows 2000 had to add a: Win32DisableAcceptEx line to the httpd.conf file. Can anyone enlighten me on just what this does? (the online Apache docs just give a short explanation.) Also... additional research led me to some info on the httpd-mpm.conf configuration file. I am looking at it right now -- it says to use "apachectl -l" to find out the active mpm -- but no such command exists on my machine. Can anyone give me some additional info on the httpd-mpm.conf file (again the online Apache docs just give a quick explanation) Any advice on what I might need to do to it for use on a Windows NT4 machine? TIA. Charles... "Charles Crume" <NOccsSPAM@charlescrumesoftware.com> wrote in message news:45cbd0af$0$24744$4c368faf@roadrunner.com... > Hi Hans; > > Thanks... I looked in the access.log and every request is IP address > 0.0.0.0 -- so that explains why only "Allow from all" works. > > I must have something messed up! Can you tell me where to start looking? > > TIA. > > Charles... > > > > "HansH" <hansh@invalid.invalid> wrote in message > news:45cbbee6$0$337$e4fe514c@news.xs4all.nl... >> >> "Charles Crume" <NOccsSPAM@charlescrumesoftware.com> schreef in bericht >> news:45cba80e$0$28120$4c368faf@roadrunner.com... >>>>> Allow from 192.168.2.100 >>>>> </Location> >>>>> >>>>> The "Allow from all" works... but the "allow from 192.168.2.100" >>>>> (which is the IP address of one of the computers on my LAN) gives me >>>>> the "you are >>>>> not allowed acess to this page" message. >>>> The message is prefixed with that IP or is it 127.0.0.1? >>>> >>>I have tried both IP address (i.e., Allow from 127.0.0.1 192.168.2.100) >>>and get the same message. How can I tell the the message is prefixed by? >>> >> Check the error_log ... >> [Tue Feb 06 00:38:25 2007] [error] [client 192.168.178.21] (13)Permission >> denied: file permissions deny server access: /local/path/to/file >> ... it's the [client ....] part that of interest here, the numbers should >> match your 'Allow from '. >> >> HansH >> >> > > |
|
![]() |
| Outils de la discussion | |
|
|