PDA

View Full Version : .htaccess


phppete
02-18-2005, 09:07 AM
How would I specify which directories I *don't* want:

php_value auto_prepend_file "filepath...."

to run on?

I wish to add a list that won't prepend my file like (psuedo code) ->

<Directory dir1,dir2>
Ignore php_value auto_prepend_file
</Directory>

Thanks

Pete

Terra
02-18-2005, 11:36 AM
There is no 'Ignore' per se, however you can respecify the directive and set it to whatever you want which will override any parent specification...

--
Terra
sysAdmin
FutureQuest

phppete
02-18-2005, 11:39 AM
Hi Terra,

Thanks for the reply, I can't respecify, php_value auto_prepend_file to 0, or none, it must be a value and "" obviously throws an error so I am still non the wiser, you would have thought some kind of void or boolean to turn it off in a directory would be possible like

php_value auto_prepent_file ""

but you can't :(

If you know a solution I would be most grateful :)

Thanks

Pete