[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[users@httpd] restrict Location URL with special string


Hi,

 

I have URL like below (with ? and =)

 

http://myserver/?s=about

 

What’s the correct syntax to allow only some IP.

 

 

<Location "/\?s\=about">

Require ip 127.0.0.1

</Location>

 

 

<Location "/?s=about">

Require ip 127.0.0.1

</Location>

 

 

<LocationMatch "about">

Require ip 127.0.0.1

</LocationMatch>

 

 

Nothing work.

 

Thanks in advance for any suggestion.

Regards.

__________________________

Avant d'imprimer, pensez à l'environnement ! Please consider the environment before printing ! 
Ce message et toutes ses pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. IFP Energies nouvelles décline toute responsabilité au titre de ce message. This message and any attachments are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. IFP Energies nouvelles should not be liable for this message.

__________________________