<p dir="ltr">On 6 Aug 2013 15:08, "Greg" <<a href="mailto:greg@2lm.fr">greg@2lm.fr</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> this configuration does not work as expected :<br>
><br>
> server {<br>
> satisfy any;<br>
> auth_basic "DING DING SONG";<br>
> auth_basic_user_file /etc/apache2/htpasswd;<br>
> allow from CIDR;<br>
> allow from CIDR;<br>
> allow from CIDR;<br>
> allow from CIDR;<br>
><br>
> location ^~ /allowed/ {<br>
> allow all;<br>
> }<br>
><br>
> deny all;<br>
> }<br>
><br>
> I short, I want to disallow access on my website, only some IPs can<br>
> access, except for /allowed/ which is open.</p>
<p dir="ltr">Just checking you're aware that this only matches "/allowed/" by itself and nothing below it.</p>
<p dir="ltr">Is that what you meant? Is that what you're testing?</p>
<p dir="ltr">J</p>