PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > prevent access to status | apache
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

prevent access to status | apache

Réponse
 
LinkBack Outils de la discussion
Vieux 16/02/2005, 22h18   #1
cooch17@NOSPAMverizon.net
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut prevent access to status | apache

Greetings -

I like to be able to look at the extended status page on my web server
(running apache 2.0.53), but I want to restrict access to that page to
a particular ip address. I've tried the following

ExtendedStatus On
<Location /status>
order deny,allow
allow from my.ip.address.here
deny from all
</Location>

in the httpd.conf file, but this doesn't seem to do the trick. I can
still access the status page from any ip address.

Obviously, I'm missing something - any /suggestions appreciated).

THanks in advance...
  Réponse avec citation
Vieux 17/02/2005, 09h43   #2
Tim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: prevent access to status | apache

On Wed, 16 Feb 2005 17:18:03 -0500,
cooch17@NOSPAMverizon.net posted:

> Greetings -
>
> I like to be able to look at the extended status page on my web server
> (running apache 2.0.53), but I want to restrict access to that page to
> a particular ip address. I've tried the following
>
> ExtendedStatus On
> <Location /status>
> order deny,allow
> allow from my.ip.address.here
> deny from all
> </Location>
>
> in the httpd.conf file, but this doesn't seem to do the trick. I can
> still access the status page from any ip address.


Mine's: <Location /server-status>

You might also want to do a similar block for: <Location /server-info>

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
  Réponse avec citation
Vieux 17/02/2005, 14h28   #3
cooch17@NOSPAMverizon.net
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: prevent access to status | apache

On Thu, 17 Feb 2005 20:13:58 +1030, Tim <tim@mail.localhost.invalid>
>>
>> ExtendedStatus On
>> <Location /status>
>> order deny,allow
>> allow from my.ip.address.here
>> deny from all
>> </Location>
>>
>> in the httpd.conf file, but this doesn't seem to do the trick. I can
>> still access the status page from any ip address.

>
>Mine's: <Location /server-status>
>


Actually, I tried that - makes no difference. I can still access the
status page from any ip I try. I've also tried

<Location /server-status>
SetHandler server-status
Order Deny,Allow
Deny from all
Allow from my.ip.address.here
</Location>

Same diff - doesn't work. I can still access the status page from any
ip I try it from.

Weird. Any ideas?
  Réponse avec citation
Vieux 17/02/2005, 14h33   #4
cooch17@NOSPAMverizon.net
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: prevent access to status | solved

On Thu, 17 Feb 2005 09:28:04 -0500, cooch17@NOSPAMverizon.net wrote:

Figured out the problem - turns out I'd overridden the settiings later
on in the httpd.conf file.

Sigh...looks like its one of those days. :-)
  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 21h09.


É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,11045 seconds with 12 queries