Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default Include Statement not entered in apache conf for secure sites

    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. #2
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by rligg View Post
    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.
    What is your full cPanel version number?

  3. #3
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default

    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. #4
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by rligg View Post
    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?
    If no files exist in userdata/ssl, then no Include statements will be added to the VirtualHost.

  5. #5
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default

    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.

Similar Threads & Tags
Similar threads

  1. what for /usr/local/apache/conf/sites?
    By sodapopinski in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-23-2011, 04:59 PM
  2. WHM - http.conf Easy/Apache, where did my include go?
    By prince_mallow in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-24-2010, 07:19 PM
  3. httpd.conf sites/www.domain.com.conf Wildcard DNS
    By ttremain in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-16-2008, 11:19 AM
  4. problem with new server - httpd.conf stanza not entered...
    By noimad1 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-03-2004, 08:32 PM
  5. include() <-- Is it secure for you?
    By Rafaelfpviana in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 04-14-2004, 07:06 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube