RE: [PHP] Auto Prepend/Append
| From: | Boget, Chris | Date: | Tue, 06 Mar 2001 18:49:39 +0000 |
| Subject: | RE: [PHP] Auto Prepend/Append | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42791@lists.php.net to get a copy of this message | ||
> Try putting
> <Files "*.html">
> php_value auto_prepend_file "foo.php"
> </Files>
> in your httpd.conf file. Once you put this in the conf file
> for Apache, restart Apache and see if the changes take place.
> That should do what you want it to.
Unfortunately, no.
Here is what we have in our httpd.conf file:
<VirtualHost mydomain.com:80>
Port 80
<Files "*.html">
php_value auto_prepend_file "prepend.php"
</Files>
DocumentRoot /this/is/the/path/to/mydomain.com
ServerName mydomain.com
</VirtualHost>
We are running several different virtual hosts, but want this
change applicable to this one only.
Thanks for everyone's help thus far. Hopefully we can get this
up and running.
Chris