note 24138 deleted from configuration by sniper
| From: | sniper@php.net | Date: | Fri, 24 Oct 2003 12:26:39 +0000 |
| Subject: | note 24138 deleted from configuration by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-59227@lists.php.net to get a copy of this message | ||
Note Submitter: netdelay@linuxbr.com.br
----
You can configure this values for independent VirtualHosts.
Just put at your httpd.conf <VirtualHost> section the flag
php_admin_value <variable_name> <value>
Example:
<VirtualHost 127.0.0.1>
DocumentRoot /path/to/file
ServerName your.website.name
php_admin_value auto_prepend_file /path/to/file/lib/config.inc.php
</VirtualHost>
And now the file config.inc.php will be automatically loaded before the main file, but only for this
Virtual Host