What the best way to add some directories to apache default host via WHM

strangeman

Registered
Oct 16, 2013
1
0
1
cPanel Access Level
Root Administrator
For example, I have server host.example.com. It hosts bunch of sites with personal domains - example1.com, example2.com, example3.com etc.
I installed and configured zabbix, and I want to get access to it via host.example.com/zabbix. Where is I can write something like

Code:
Alias /zabbix /usr/share/zabbix
<Directory "/usr/share/zabbix">
    Options Indexes FollowSymLinks
    DirectoryIndex index.php
    AllowOverride none
    allow from all
</Directory>
? :-/
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
You could try to add the 1st line in Pre Main Include
and the rest in Post VirtualHost Include
WHM -> Service Configuration -> Apache Configuration -> Include Editor