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.

Directory Alias in WHM or Cpanel

Discussion in 'General Discussion' started by redfoxmedia, Feb 22, 2010.

  1. redfoxmedia

    redfoxmedia Registered

    Joined:
    Feb 22, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I am wondering if anyone out there can help me?

    I need a way to create a 'directory alias' in cPanel/WHM.

    This feature is a standard feature in apache (mod_alias), but I don't see anything in cpanel/WHM that allows us to do it?

    I can do the manual changes into the apache config file, but it will be overwritten by cpanel, when it rebuilds the vhost config file

    The mod_alias is a way to map a web address to any directory, like http://domain.com/shop to any physical folder/directory in the server.

    If this feature is available in cpanel/WHM, can anyone please provide instruction on where/hoe to access it or set it up? I wopuld be greatly appreciative.
     
  2. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    447
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    You can enable custom modules in Apache by following guidelines here. To add custom directives to httpd.conf without them being overwritten by any update, you can check this link.
     
Loading...

Share This Page