Re: Apache per directory setting
| From: | Jason Wong | Date: | Wed, 07 Jan 2004 05:17:23 +0000 |
| Subject: | Re: Apache per directory setting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173948@lists.php.net to get a copy of this message | ||
On Wednesday 07 January 2004 12:44, Chris Lee wrote:
> Is it possible to set PHP flag at Apache ver 1.3.x per directory?
Yes.
> e.g.
> <VirtualHost 127.0.0.1>
> DocumentRoot /home/www/apps/htdocs
> ServerName localhost
> <Directory "/home/www/cch/htdocs/test">
> php_flag register_globals on
> </Directory>
> </VirtualHost>
>
> I tried but fail to turn on Register Globals settings (Default is
> off). Any Hints?
You need to use:
php_value register_globals 1
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Involvement with people is always a very delicate thing --
it requires real maturity to become involved and not get all messed up.
-- Bernard Cooke
*/