View Full Version : I want to auto_prepend a php file based on the virtual host name

03-22-2010, 02:15 AM
<VirtualHost *:80>
ServerName dev.inflash.com
ServerAlias dev.inflash.com
DocumentRoot /var/www/public_html/inflash

How would I get a preloaded php loaded into that virtualhost alone?

As is now, I set auto_prepend in php.ini to load a file, but I don't want it for every virtual host.