Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-14-2003, 05:02 PM   #1
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
Apache 2 w/ SSL Boot

Hello everyone.

I'm trying to figure out a way to put my apache installation at bootup time. I have RH9, and it seems to be that at runlevel 5, it runs a symbolic link /etc/rc5.d/S85httpd that points to the file /etc/rc.d/init.d/httpd. Now i'm using SSL, which means I need to type apachectl startssl to start apache. I looked in the apachectl script, and startssl is the same as doing:
httpd -k start -DSSL
Now I was wondering what would be a good way to incorporate that command in the /etc/rc.d/init.d/httpd script file? I looked through it, and there was the start() command:
start() {
        echo -n $"Starting $prog: "
        check13 || exit 1
        daemon $httpd $OPTIONS
        [ $RETVAL = 0 ] && touch /var/lock/subsys/httpd
        return $RETVAL
$httpd points to the file place, but I can't figure out where the $OPTIONS variable comes from. If i could edit that variable to "-k start -DSSL", then everything would work fine, i'm assuming. So does anyone know where I can define that $OPTIONS variable?


oh yeah, btw, i already got rid of the pass phrase needed with apachectl startssl, so no need to worry about that!

Last edited by jqcaducifer; 08-14-2003 at 05:03 PM.
Old 08-15-2003, 02:42 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I think it is usually from:

You could just use this though:
daemon $httpd -k start -DSSL $OPTIONS


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 05:11 PM
apache and apache-ssl questions merana Debian 4 03-10-2005 11:10 AM
apache-ssl opabil Linux - Networking 0 11-03-2004 08:26 AM
SSL and Apache bigdogg Linux - Software 25 07-22-2004 10:24 AM
Apache 2.0 and SSL harlow400 Linux - Software 8 03-10-2004 03:56 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration