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.

Apache Problem

Discussion in 'EasyApache' started by jothimani, Jun 8, 2006.

  1. jothimani

    jothimani Registered

    Joined:
    Mar 23, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    While restarting apache i am getting this error

    Invalid command 'Alias', perhaps mis-spelled or defined by a module not included in the server configuration
     
  2. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    There are more than one Apache setting that could involve the work "alias". The most common one in a shared hosting environment would be "ServerAlias".

    The error message should state in which line of your httpd.conf the invalid entry is. If you post that line here, and perhaps a few lines above and below that, I am sure somebody will be able to give you an answer ;)
     
  3. chzelle

    chzelle Active Member

    Joined:
    Jul 30, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Run /usr/local/apache/bin/apachectl configtest
    This will give you the error message on which line. Check the line which is needing the ServerAlias directive.

    Hope that helps.
     
Loading...

Share This Page