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!

Forcing MOD_SSL startup

Discussion in 'General Discussion' started by n32, Mar 7, 2007.

  1. n32

    n32 Member

    Joined:
    Oct 31, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    151
    Does anyone know how to make it so the startup of httpd is defaulted to being -DSSL ? Sometimes on a few of my servers, the apache would crash, and one of my programs would restart it OR Cpanel itself will. What happens when cpanel starts it up is that it will restart it without the SSL. Causing downtime for the application.

    I would like to modify the init.d or something to make it forcibly start up with ssl as default. I have no need for a non-ssl server. Any help is appreciated.
     
  2. Scott.Mc

    Scott.Mc Member

    Joined:
    Feb 22, 2006
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    151
    You can edit /etc/rc.d/init.d/httpd or just use /scripts/restartsrv_httpd (which will start ssl).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. psrsathish

    psrsathish Active Member

    Joined:
    Jul 19, 2006
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    India.
    Hi,

    Simply give "/etc/init.d/httpd startssl " to start httpd with ssl support.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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