Admin-Ahead Community

Linux => Control Panels => Plesk => Topic started by: Aby on January 06, 2014, 05:46:18 am

Title: Unix Plesk: Generate webserver config files
Post by: Aby on January 06, 2014, 05:46:18 am

Unix Plesk: Generate webserver config files

  I don't believe plesk has a way to build the httpd.conf However it should be fairly easy to make it pick them up, i'd just do something like

for i in `ls /var/www/vhosts`;do echo include /var/www/vhosts/$i/conf/httpd.include;done

and chuck that in your httpd.conf (even though it doesn't store the includes there it doesn't matter). Also check /etc/httpd/conf for a backup of httpd.conf theres normally always one or two in there anyway which might save this hassle.

===