Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2007 19:19:44 +0300
From:      "Mike Barnard" <mike.barnardq@gmail.com>
To:        "Derek Ragona" <derek@computinginnovations.com>
Cc:        Warren Head <warrenhead@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: autostart apache
Message-ID:  <7dc029620701240819v3876b799g600cfd20f60f5c9a@mail.gmail.com>
In-Reply-To: <6.0.0.22.2.20070124100254.0260e310@mail.computinginnovations.com>
References:  <51e113440701240636q60e5e05an6bcfe50d6acae13c@mail.gmail.com> <6.0.0.22.2.20070124100254.0260e310@mail.computinginnovations.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

,
> >
> >I would like Apache2 to start automatically when FreeBSD is done booting.
> >I thought that would happen because I placed this inside /etc/rc.conf
> >
> >apache_enable="YES"
> >


you cannot start any of the apache2x family like that in FreeBSD, that is
for apache13, for apache2x you need to specify apache2_enable="YES" or
apache22_enable="YES" in the rc.conf file... depending on which apache you
have installed, also, check /usr/local/etc/rc.d/apache.sh (it can be
apache2.sh as well) and look out for lines that look like the rc.conf enable
settings, that should guide you on how to include it in your rc.conf

>But that doesn't seem to be the case. It doesn't start automatically, I
> have
> >

make those changes above and you should have no problem

Regards
--

Mike

--
Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.
------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7dc029620701240819v3876b799g600cfd20f60f5c9a>