PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > Allow form IP address NOT working
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Allow form IP address NOT working

Réponse
 
LinkBack Outils de la discussion
Vieux 08/02/2007, 06h29   #1
Charles Crume
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Allow form IP address NOT working

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...


  Réponse avec citation
Vieux 08/02/2007, 07h31   #2
HansH
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Allow form IP address NOT working

"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


  Réponse avec citation
Vieux 08/02/2007, 22h43   #3
Charles Crume
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Allow form IP address NOT working

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
>
>



  Réponse avec citation
Vieux 09/02/2007, 00h25   #4
HansH
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Allow form IP address NOT working


"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


  Réponse avec citation
Vieux 09/02/2007, 01h36   #5
Charles Crume
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Allow form IP address NOT working

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
>
>



  Réponse avec citation
Vieux 09/02/2007, 02h39   #6
Charles Crume
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Allow form IP address NOT working

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
>>
>>

>
>



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 10h01.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,15809 seconds with 14 queries