different php configuration per .httaccess?
| From: | Zbigniew Szalbot | Date: | Mon, 23 Oct 2006 20:36:52 +0000 |
| Subject: | different php configuration per .httaccess? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-243502@lists.php.net to get a copy of this message | ||
Hello,
I would like to know if it is possible to change php configuration per .htaccess file? For example, to be able to switch register_globals on/off and the like (based on the main configuration file)?
If it is possible, could someone share what the general syntax for .htaccess file would look like?
For exmaple, would I need to put register_globals = on in .htaccess to make it work for a given directory?
Many thanks for your advice!
Warm regards,
--
Zbigniew Szalbot