Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Kobus on August 05, 2005, 10:04:30 PM
-
Afternoon everyone
I run PHPWS CMS and need to add a few additional php_admin_value open_basedir directoves to the apache conf file for a single domain. How would I go about adding this to the httpd.conf file?
Thanks in advance
Kobus
-
Afternoon everyone
I run PHPWS CMS and need to add a few additional php_admin_value open_basedir directoves to the apache conf file for a single domain. How would I go about adding this to the httpd.conf file?
Thanks in advance
Kobus
By creating the necessary templates-custom files, re-expanding httpd.conf, check to make sure you settings are there, then restart e-smith-httpd.
JB
-
Hi
Adding template fragments affects all 17 doamins. I only want to change 1.
Kobus
-
Adding template fragments affects all 17 doamins. I only want to change 1.
Your template fragment needs to be in the VirtualHosts subdirectory, and needs to check which virtual domain is being expanded, and only add text where you need it. Something like:
{
$OUT = '';
if ($virtualHost eq "one.you.care.about")
{
$OUT .= "stuff you want to add\n";
}
}
-
Thank you all for your help.
Thanks Charlie for the code. That sorted it.
Kobus