danielrc15
Programmer
Hi,
I have a vhosts set up, of several domains each in their own vhost.
What I need to do is share my php scripts across the vhosts, as I don't want to have to create copies of the files and store them in each vhost.
I want to share my db config and php function scripts across vhosts.
So have them situated above the vhost area, so they are not accessible via a url, I have tried to place them outside the vhost documentroot and access the files in php, but it does not work.
How can I share files across virtual hosts?
Thanks
Daniel
I have a vhosts set up, of several domains each in their own vhost.
What I need to do is share my php scripts across the vhosts, as I don't want to have to create copies of the files and store them in each vhost.
I want to share my db config and php function scripts across vhosts.
So have them situated above the vhost area, so they are not accessible via a url, I have tried to place them outside the vhost documentroot and access the files in php, but it does not work.
How can I share files across virtual hosts?
Thanks
Daniel