Global customizations affect the way certain services (such as Apache) are configured for all sites on the Parallels Pro Control Panel server. For example, in the case of Apache, you can customize the way the VirtualHost container is written.
Each service that can be globally customized has a file explaining its variables in the file, /usr/share/doc/webppliance-
<servicename>/custom.py.
To globally customize any service, you must copy the file /usr/share/doc/webppliance-
<servicename>/custom.py
into /usr/lib/ensim-python/site-packages/vh3/custom/
<servicename>.py
For example, to globally modify the behavior of the Apache service on Parallels Pro Control Panel, you must run the following command:
cp /usr/share/doc/webppliance-apache-3.5.0/custom.py /usr/lib/ensim-python/site-packages/vh3/custom/apache.py
Then, modify the file /usr/lib/ensim-python/site-packages/vh3/custom/apache.py
as required. The significance of each of the customizable variables is given in the custom.py
file.
Global customizations are retained when you back up and subsequently restore the Parallels Pro Control Panel server.
To apply global customizations
/usr/share/doc/webppliance-
<servicename>/custom.py
as /usr/lib/ensim-python/site-packages/vh3/custom/
<servicename>.py
.In the <servicename> field enter the name of the service you want to customize.
For example, to customize the anonftp service, copy /usr/share/doc/webppliance-anonftp/custom.py
as /usr/lib/python2.1/site-packages/vh3/custom/anonftp.py
.
.py
as per your requirements./etc/rc.d/init.d/epld restart