[ale] Apache htaccess questions

Jan Mason jan.mason at xmtc.net
Sun Feb 9 12:58:40 EST 2003


I have a web site that I am trying to setup the access to using 
.htaccess files.  Is it possible to have the top level directory, 
/home/foobar/www/, password protected via a /home/foobar/www/.htaccess 
file while also having the /home/foobar/www/bbs/ directory setup to have 
no password protection via a /home/foobar/www/bbs/.htaccess file?  If so 
how?

Jan Mason wrote:
> I have a web site that is under development that is password controlled 
> using the following .htaccess file.  Works as expected.
> 
> /home/foobar/www/.htaccess
>     AuthUserFile /home/foobar/.htpasswd
>     AuthGroupFile /dev/null
>     AuthName "Foobar"
>     AuthType Basic
>     require valid-user
>     Options -Indexes
>     IndexIgnore *
>     <Files .htaccess>
>         order allow,deny
>         deny from all
>     </Files>
>     AddType application/x-httpd-php .php3 .phtml .php .php4 .html .htm
> 
> I have a bulletin board which is located in ~/www/bbs/ which I want to 
> remove the password protection from while keeping the password 
> protection working on the rest of the site.  This is not working right 
> now.  I have been using the .htaccess documentation on the apache web 
> site with pretty good luck so far but I am have problems getting this to 
> work.  How do I override the password protection for just this one 
> directory?  The .htaccess file for the bbs currently looks as follows:
> 
> /home/foobar/www/bbs/.htaccess
>     Options -Indexes
>     IndexIgnore *
>     <Files .htaccess>
>         order allow,deny
>         deny from all
>     </Files>
>     AddType application/x-httpd-php .php3 .phtml .php .php4 .html .htm

-- 
Jan Mason
jan.mason at xmtc.net



_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list