Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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,216
    Likes Received:
    10
    Trophy Points:
    313
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice