[ale] Apache htaccess questions

Jan Mason jan.mason at xmtc.net
Tue Feb 11 17:00:27 EST 2003


The answer is to make the .htaccess file in the /home/foobar/www/bbs/ 
directory read as follows:

/home/foobar/www/bbs/.htaccess
     Satisfy Any
     Allow from all

All the other directories still prompt for a userid and password and the 
bbs requires no userid and password.

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
> 


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






More information about the Ale mailing list