Re: Use PHP to disable htaccess
| From: | Richard Lynch | Date: | Thu, 05 Oct 2006 21:24:50 +0000 |
| Subject: | Re: Use PHP to disable htaccess | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-242729@lists.php.net to get a copy of this message | ||
On Thu, October 5, 2006 2:50 pm, Justin Cook wrote:
> I took over a website that uses a htaccess file to auto append a file
> to every page. I have one page that I do not want to do this one. Is
> there a way to disable the htaccess file with a php statement on this
> one page? Thanks!
Not with a PHP statement, but maybe throw this in .htaccess:
<Files no_auto_append_on_this_one.php>
php_value auto_append ""
</Files>
Never tried it, but it should work...
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?