httpd_flags="-DSSL"?

Don Hinton don.hinton at vanderbilt.edu
Sun Dec 18 19:12:13 PST 2005


Hi Jeff:

On Sunday 18 December 2005 21:03, Jeff D. Hamann wrote:
> I've searched plenty looking for the proper method to get apache2 to start
> up at boot time with little success. I've tried the various combinations of
> httpd_flags/apache2_flags/apache_flags= to my rc.conf file to no avail:
>
> bobby# cat rc.conf
> blah, blah, blah...
> apache_enable="YES"
> httpd_flags="-DSSL"
> blah, blah, blah...
> bobby#
>
> What's the trick? I've fixed the cert file to not require the dialog on
> startup and have been able to start apache2 using the command:
>
> /usr/local/sbin/apachectl startssl
>
> and then it starts without the dialog.
>
> Ideas?

Make sure your apache2.sh file exists and is executable, you probably need to 
rename if from apache2.sh.sample (or something like that), e.g.:

/usr/local/etc/rc.d/apache2.sh

Also, it will contain the flags you need to set in rc.conf.

hth...
don

>
> Jeff.
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

-- 
Don Hinton <don.hinton at vanderbilt.edu>                    615.480.5667
ISIS, Vanderbilt University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051218/ac67e2d6/attachment.bin


More information about the freebsd-questions mailing list