Bluehost.com Web Hosting $6.95

Newbie : allow all user in child directory

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-15-2004
Damien
 
Posts: n/a
Default Newbie : allow all user in child directory

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
  #2 (permalink)  
Old 04-15-2004
Thor Kottelin
 
Posts: n/a
Default Re: Newbie : allow all user in child directory



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
  #3 (permalink)  
Old 04-16-2004
Damien
 
Posts: n/a
Default Re: Newbie : allow all user in child directory

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
  #4 (permalink)  
Old 04-16-2004
Thor Kottelin
 
Posts: n/a
Default Re: Newbie : allow all user in child directory



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
  #5 (permalink)  
Old 04-16-2004
Damien
 
Posts: n/a
Default Re: Newbie : allow all user in child directory

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
  #6 (permalink)  
Old 04-17-2004
B.J.Honeycut
 
Posts: n/a
Default Re: Newbie : allow all user in child directory

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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:27 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0