httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Glauberman" <rglauber...@michaeli-gymnasium.de>
Subject Re: [users@httpd] Question regarding Authentication in httpd.conf/apache2
Date Mon, 13 Dec 2004 21:54:34 GMT
you could set satisfy any for this dir, but i don't know if this will work.
one tip: you should remove the limit get directive as you should limit 
everything. else one would be able to see your files by sending a post in 
place of a get.
ralf

----- Original Message ----- 
From: "Rojo Loco" <rojoloco@hotmail.com>
To: <users@httpd.apache.org>
Sent: Monday, December 13, 2004 9:12 PM
Subject: [users@httpd] Question regarding Authentication in 
httpd.conf/apache2


>I have an httpd.conf question regarding Authentication.  My problem is as 
>follows.
>
> Say, for example, that I'd like to protect /usr/local/www and all 
> subdirectories, EXCEPT /usr/local/www/unprotected.
>
> When I do the following:
>
> <Directory /usr/local/www>
>    AllowOverride None
>    Options FollowSymLinks
>    Order allow,deny
>    Allow from all
>    AuthUserFile /very/protected/path
>    AuthName "Login here please"
>    AuthType Basic
>        <Limit GET>
>            require valid-user
>        </Limit>
> </Directory>
>
> I can of course get /usr/local/www protected, and all subdirectories.
> Can I in any way then after I have said the following above choose to NOT 
> protect a single subdirectory?
>
> i.e.
> <Directory /usr/local/www/unprotected>
>   I want to NOT require valid-user here and omit any Auth line...
> </Directory>
>
> Thanks,
>
> Rojo Loco
>
> ===============================
> rojoloco <rojoloco@hotmail.com>
> ===============================
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message