The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'EasyApache' started by strangeman, Oct 16, 2013.

  1. strangeman

    strangeman Registered

    Joined:
    Oct 16, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    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>
    ? :-/
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    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
     
Loading...

Share This Page