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!

Custom Apache configs are "ignored" when included via Post VirtualHost Includes

Discussion in 'EasyApache' started by danaus, Sep 19, 2010.

  1. danaus

    danaus Registered

    Sep 19, 2010
    Likes Received:
    Trophy Points:
    We have a CMS running on our server, and it automatically generates its own VirutalHost records for the domains/sub-domains of the sites which run within it.

    I've added this line to the Post VirtualHost Includes in the Apache Includes Editor:
    Include "/home/username/cms/data/conf/*.conf"

    apachectl -S tells me that apache can see and process the .conf files in /home/username/cms/data/conf/ without any issues, but when I go to a domain/sub-domain which is configured via one of these config files I get the "Default Website Page" message in the browser (/usr/local/apache/htdocs ?).

    I'm new to working with cPanel, so I may have missed a configuration option, or perhaps the file permissions on the .conf files are incorrect, or something insignificant like that.

    Is anyone able to provide some advice which could help me solve the problem?

    Secondary question: is this sort of behaviour actually possible with cPanel?

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