You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bernhard Kraft <kr...@mokka.at> on 2004/02/03 17:37:07 UTC
[users@httpd] .htaccess authentication
Hello !
I have a short question:
I have a .htaccess file in one directory and a
"require" (plus the necessary AuthType etc.)
line within the .htaccess file.
Now I have a subdirectory for which I DON'T
want authentication anymore.
How can I shut off authentication with an .htaccess
file for a subdirectory of a directory for which
I enabled authentication before.
greetings,
Bernhard
-----------------------------------------
Bernhard Kraft
<kr...@mokka.at>
MOKKA MEDIENAGENTUR GMBH
Mariahilferstrasse 170
1150 Wien
T: 01 895 33 33 50
F: 01 895 33 33 20
www.mokka.at
-----------------------------------------
---------------------------------------------------------------------
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
Re: [users@httpd] .htaccess authentication
Posted by Juanca <ju...@sat.com.py>.
you´re right Patrick Boutilier thanks.
> Juanca wrote:
>> create the file .htaccess on
>> /var/www/directory-with-auth/subdirectory-without-aut/
>>
>> put
>>
>> satisfy any
>>
>>
>> /etc/init.d/apache restart
>>
>>
>> enjoy it
>>
>> ,''`.
>> : :' : Juanca
>> `. `'
>> `-
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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
>>
>
>
> You don't need to restart Apache.
>
> ---------------------------------------------------------------------
> 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
>
>
,''`.
: :' : Juanca
`. `'
`-
---------------------------------------------------------------------
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
Re: [users@httpd] .htaccess authentication
Posted by Patrick Boutilier <bo...@ednet.ns.ca>.
Juanca wrote:
> create the file .htaccess on
> /var/www/directory-with-auth/subdirectory-without-aut/
>
> put
>
> satisfy any
>
>
> /etc/init.d/apache restart
>
>
> enjoy it
>
> ,''`.
> : :' : Juanca
> `. `'
> `-
>
>
>
> ---------------------------------------------------------------------
> 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
>
You don't need to restart Apache.
---------------------------------------------------------------------
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
Re: [users@httpd] .htaccess authentication
Posted by Juanca <ju...@sat.com.py>.
create the file .htaccess on
/var/www/directory-with-auth/subdirectory-without-aut/
put
satisfy any
/etc/init.d/apache restart
enjoy it
,''`.
: :' : Juanca
`. `'
`-
---------------------------------------------------------------------
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
Re: [users@httpd] .htaccess authentication
Posted by Patrick Boutilier <bo...@ednet.ns.ca>.
Bernhard Kraft wrote:
> Hello !
>
> I have a short question:
> I have a .htaccess file in one directory and a
> "require" (plus the necessary AuthType etc.)
> line within the .htaccess file.
>
> Now I have a subdirectory for which I DON'T
> want authentication anymore.
>
> How can I shut off authentication with an .htaccess
> file for a subdirectory of a directory for which
> I enabled authentication before.
>
> greetings,
> Bernhard
> -----------------------------------------
> Bernhard Kraft
> <kr...@mokka.at>
>
> MOKKA MEDIENAGENTUR GMBH
> Mariahilferstrasse 170
> 1150 Wien
> T: 01 895 33 33 50
> F: 01 895 33 33 20
> www.mokka.at
> -----------------------------------------
>
> ---------------------------------------------------------------------
> 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
>
Try this in the .htaccess file in the subdirectory for which you don't
want authentication anymore.
satisfy any
---------------------------------------------------------------------
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