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.

Include Statement not entered in apache conf for secure sites

Discussion in 'EasyApache' started by rligg, Aug 18, 2008.

  1. rligg

    rligg Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    16
    Lately Cpanel is not inserting

    Include "/usr/local/apache/conf/userdata/*.conf"
    Include "/usr/local/apache/conf/userdata/ssl/2/*.conf"

    in to the 443 Virtual Hst Container for a domain. It inserts those lines for the port 80 container though.

    How do I fix this? I have had to manually enter these lines in, each time I install a cert for a client.
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    What is your full cPanel version number?
     
  3. rligg

    rligg Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    16
    WHM 11.23.2 cPanel 11.23.4-S26138

    Let me ask, does there have to be a file in /userdata/ssl/ before you install a certificate?
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    If no files exist in userdata/ssl, then no Include statements will be added to the VirtualHost.
     
  5. rligg

    rligg Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    16
    Thanks. SO may I ask why does the include file have a path for:

    Include "/usr/local/apache/conf/userdata/*.conf"

    What is the point of this line?

    I thought I could just put universal VHOST directives for domains(ssl and non ssl) in this area and they would be added to the conf. I assume I am incorrect.
     
Loading...

Share This Page