Customer wants to add some custom directives to the configuration of their Apache website.
POA does only allow to Provider to manage Apache configuration of customers' websites in the Provider Control Panel, a customer cannot do this in Customer Control Panel.
Follow the steps below to adjust Apache virtual host configuration of a particular customer website.
Click on the host where Apache application is installed depending on the host type - hardware or VPS:
- Hardware Nodes: Top > Deployment Director > Server Manager > Hardware Nodes
- VPS: Top > Service Director > Virtuozzo Manager > VPSs
- Switch to the Applications tab.
- Click on the Apache application.
- Switch to the Customer services includes tab. This page contains the list of all customers' Apache domain services created on the host, based on the given Apache service and provides interface for management functions, such as setting up default directives include templates and editing the included directives manually.
- Find the customers' webspace, e.g. using subscription ID.
- Click on either of buttons
right to the customer's webspace, the left button is used to manage
non-SSL Apache virtual hosts, the right one - to manage SSL-enabled
Apache virtual hosts.
Click to see the screenshot:
The Manual include editing dialog will appear containing two text boxes:
- Automatically generated – this box contains the text of directives that were automatically generated for the selected host, they are not editable.
- Manual editing - this box is used for entering custom Apache directives.
- Enter the new directives into the Manual editing text input box.
- Click the Submit button when you are done with editing.
Important: While entering or editing custom directives in the Apache configuration file in POA Provider Control Panel, pay special attention to the correctness of the directives syntax. If you happen to enter wrong or improper value, Apache server may refuse to start after the next restart and it may take time to find the reason of the problem since Apache syntax checking is not supported by POA.
For Odin Service Automation 6.0 please check appropriate article.