This is a discussion on Newbie : allow all user in child directory within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi to all, I've protected a directory using a simple .htaccess I am satisfied with. But now, I want ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi to all,
I've protected a directory using a simple .htaccess I am satisfied with. But now, I want to allow any user to access a subdirectory. Eg : /root/members >> password protected /root/members/foo >> password protected /root/members/public >> open to anyone What directives should I use to override the .htaccess in /root/members ? I've tried a couple things, looked around the Apache reference, but everything refers to protecting directories :o). Oh, one last thing : moving the directory is not an option :o( Thanks in advance ! Damien |
|
|||
|
Damien wrote: > I've protected a directory using a simple .htaccess I am satisfied > with. But now, I want to allow any user to access a subdirectory. > > Eg : > /root/members >> password protected > /root/members/foo >> password protected > /root/members/public >> open to anyone > > What directives should I use to override the .htaccess in > /root/members ? echo "Order deny,allow" > /root/members/public/.htaccess Thor -- http://thorweb.anta.net/ IRCnet #areena |
|
|||
|
Thor Kottelin <thor@anta.net> wrote in message news:<407EA9C1.9AB44612@anta.net>...
(snip) > echo "Order deny,allow" > /root/members/public/.htaccess Thanks, but no luck... Here's the original htaccess : PerlSetVar AuthFile /members/.passlist AuthName "Espace Membre" AuthType Basic require valid-user Here's the one I tried in members/public : Order deny,allow I've also tried "Allow from all" after the above directive. Still got the pass prompt. Any idea ? Where am I wrong ? Thanks again in advance ! Damien |
|
|||
|
Damien wrote: > > Thor Kottelin <thor@anta.net> wrote in message news:<407EA9C1.9AB44612@anta.net>... > (snip) > > echo "Order deny,allow" > /root/members/public/.htaccess > > Thanks, but no luck... > > Here's the original htaccess : > PerlSetVar AuthFile /members/.passlist > AuthName "Espace Membre" > AuthType Basic > require valid-user > > Here's the one I tried in members/public : > Order deny,allow > > I've also tried "Allow from all" after the above directive. > > Still got the pass prompt. Does adding "Satisfy any" help? Thor -- http://thorweb.anta.net/ IRCnet #areena |
|
|||
|
Thor Kottelin a écrit :
(snip) >>Here's the one I tried in members/public : >>Order deny,allow >> >>I've also tried "Allow from all" after the above directive. >> >>Still got the pass prompt. > > > Does adding "Satisfy any" help? > > Thor > Goooal ! ;o) Thanks a lot ! Best regards, Damien |
|
|||
|
On Fri, 16 Apr 2004 17:15:08 GMT,Damien <truc@bidule.net> penned this
whopper in comp.infosystems.www.servers.ms-windows > Thor Kottelin a écrit : > (snip) > >>>Here's the one I tried in members/public : >>>Order deny,allow >>> >>>I've also tried "Allow from all" after the above directive. >>> >>>Still got the pass prompt. >> >> >> Does adding "Satisfy any" help? >> >> Thor >> > > Goooal ! ;o) > > Thanks a lot ! > > Best regards, > Damien > Nice slapshot! -- "Time will bring to light whatever is hidden; it will cover up and conceal what is now shining in splendor." Horace (65 - 8 BC); Roman poet. Mike |