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.

Where to place httpd.conf VirtualHost include files

Discussion in 'General Discussion' started by Netmaking, Aug 13, 2008.

  1. Netmaking

    Netmaking Member

    Joined:
    Feb 28, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    What's the correct placement for configuration files to be included in single Virtualhost blocks of the httpd.conf file?

    According to the documentation, the placement should be:

    /usr/local/apache/conf/userdata/(ssl|std)/(1|2)/<user>/<domain>/<something>.conf

    However, in the httpd.conf file itsself, I found the following text:

    # To customize this VirtualHost use an include file at the following location
    # Include "/usr/local/apache/conf/userdata/<user>/<domain>/*.conf"

    ...meaning that the standard/ssl and apache version directories are omitted. Which placement is correct/preferred.


    Also, if in any way related, I'm a little concerned about the following message when terminating an account:

    <domain> not found in httpd.conf.
     
Loading...

Share This Page