[thelist] .htaccess

Matthew Blanchard blanchardmatthew at hotmail.com
Thu Dec 6 04:37:03 CST 2001


> From: "Bill Haenel" <bill at webmarketingworx.com>
> Subject: RE: [thelist] .htaccess


> Let's say I added  a .htaccess file to a directory with this line:
>
> AddType application/x-httpd-php .html
>
> Now let's say I don't want this to affect subdirectories...how do I make
> that happen?
>

Unfortunately, you can't use the <Directory> directive in .htaccess.
So I think the only solution is to put in every sub-directory an .htaccess
file with the directive:

AddType text/html .html

(I haven't tried that.)






More information about the thelist mailing list