Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Unix Plesk: Generate webserver config files  (Read 2159 times)

0 Members and 1 Guest are viewing this topic.

Aby

  • Guest
Unix Plesk: Generate webserver config files
« 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.

===