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.

verify_vhost_includes issues

Discussion in 'General Discussion' started by coolcash, Mar 4, 2009.

  1. coolcash

    coolcash Registered

    Joined:
    Mar 4, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I am having issues with the verify_vhost_includes script, I have put a config file in the /usr/local/apache/conf/userdata/std/2/user/dev.somesite.com/ folder which just includes this:

    ServerAlias domainalias.com

    When I run the script i get:

    Syntax error on line 1 of /usr/local/apache/conf/userdata/std/2/luser/dev.somesite.com/mystuff.conf
    ServerAlias only used in <VirtualHost>

    Any suggestions?

    Thanks,

    Spencer
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I'm curious, is there any particular reason you want to use ServerAlias rather than simply using cPanel's Parked Domains functionality?
     
Loading...

Share This Page