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 > Allowing only some requests ?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Allowing only some requests ?

Réponse
 
LinkBack Outils de la discussion
Vieux 12/05/2007, 13h51   #1
geometris@fastmail.fm
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Allowing only some requests ?

Hi,
After reading the docs about <Limit> and <LimitExcept>, I still cannot
figure out if I can use them to allow only one type of request from
all users and without any authentification.
For instance, if I want to only allow POST requests in the cgi-bin
directory, is this the right way to do ?

Order Allow, Deny
allow from all
<Directory C:/Apache2/www.verygoodsite.com/cgi-bin>
<LimitExcept POST>
deny from all
</LimitExcept>
</Directory>

  Réponse avec citation
Vieux 12/05/2007, 14h14   #2
shimmyshack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Allowing only some requests ?

On May 12, 1:51 pm, geomet...@fastmail.fm wrote:
> Hi,
> After reading the docs about <Limit> and <LimitExcept>, I still cannot
> figure out if I can use them to allow only one type of request from
> all users and without any authentification.
> For instance, if I want to only allow POST requests in the cgi-bin
> directory, is this the right way to do ?
>
> Order Allow, Deny
> allow from all
> <Directory C:/Apache2/www.verygoodsite.com/cgi-bin>
> <LimitExcept POST>
> deny from all
> </LimitExcept>
> </Directory>


yes,
Limit is shorthand for "limit the configuration to the following
verbs"
LimitExcept means "limit the config to the all but the following
verbs"

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


É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,06464 seconds with 10 queries