Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Require password for all but one directory?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  newbie: problem with 'UserDir' directive  
Author Message
jimspmcatcher

External


Since: Feb 15, 2004
Posts: 1



(Msg. 1) Posted: Sun Feb 15, 2004 7:59 pm
Post subject: Require password for all but one directory?
Archived from groups: alt>apache>configuration (more info?)

I have a somewhat odd directory structure for a web site: There is one
directory (call it "foo") where I want to have basic password
authentication working for all of foo's subdirectories >>except one<<,
which needs to be wide open to the public. Rather than setting up
individual <directory ...> entries for each private directory
undeneath foo, I've written one <directory> statement to require
authentication for foo itself, and then have opened up the public
subdirectory with:

<directory /path/to/foo/public>
Satisfy any
</directory>

Can anyone think of a good reason to not do it this way? I'd really
rather not have a whole bunch of directory statements locking up the
individual private subdirectories, but I'm happy to hear advice from
more experienced Apache people.

Thanks,
Jim Miller

 >> Stay informed about: Require password for all but one directory? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
AuthType require password only? - Is there a way to have the Apache authorization dialog prompt just for a password, rather than a user id and password? I have the current htaccess script: Thanks! AuthUserFile private.pass AuthGroupFile /dev/null AuthName 'Protected Area' AuthType..

directory not shown if password required - hi having a direcotry with two subdirecotries public_html/pics/winter public_html/pics/summer in the httpd.conf file i set up the winter-directory to use password authentication. then apache onlys lists the the summer directory when listing the pics ...

problem with Require - hello there ! i wanna restrict the content of a certain dir so i ve created a user file with htpasswd -c file user1 then i ve put <Directory /usr/local/apache2/htdocs/dir> AuthName test AuthType Basic AuthUserFile file Require user </Directo...

WAP with password - Hi, currently I make a WAP-Site, and I want to secure some pages. I do this with ".htpasswd". My mobile-phone (Siemens S45) seems to be very stupid, because the WAP-Browser on it doesn't remeber the pages, which are password-secure. And all ...

password protection - Hi all, I try to make a folder of my webserver protected by a password using ..htaccess ... Here is my .htaccess file : AuthUserFile /cca/www/htdocs/phpMyAdmin/.htpasswd AuthGroupFile /dev/null AuthName "Restricted Directory" AuthType Basic ...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]