Web Servers on Windows - Newbie : allow all user in child directory

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Windows > April 2004 > Newbie : allow all user in child directory





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Newbie : allow all user in child directory
Damien

2004-04-15, 8:44 am

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
Thor Kottelin

2004-04-15, 11:52 am



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
Damien

2004-04-16, 7:59 am

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
Thor Kottelin

2004-04-18, 10:54 am



Damien wrote:
>
> Thor Kottelin <thor@anta.net> wrote in message news:<407EA9C1.9AB44612@anta.net>...
> (snip)
>
> 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
Damien

2004-04-18, 10:54 am

Thor Kottelin a écrit :
(snip)

>
>
> Does adding "Satisfy any" help?
>
> Thor
>


Goooal ! ;o)

Thanks a lot !

Best regards,
Damien
B.J.Honeycut

2004-04-18, 10:54 am

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)
>
>
> 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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com