Starting Apache 2.0.52 in rc.conf under FreeBSD 5.3

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Dec 30 05:33:26 PST 2004


Anthony Atkielski wrote:
> I installed Apache 2.0.52 on my fresh reinstallation of FreeBSD 5.3, but
> I can't figure out how the new rc.conf system works.  How do I set
> things up so I can start Apache in rc.conf?  I installed Apache directly
> from the downloaded source rather than from the ports, so this wasn't
> done automatically.

Yes.  Delete the version of Apache2 you installed yourself, and install 
it from ports, remembering to add 'apache2_enable="YES"' to 
/etc/rc.conf.  The ports version contains all of the required rc.d 
scripts to get itself started automatically on bootup.  The standard 
distribution doesn't.  That's why they call them ports, you know; 
because the software is /ported/ onto FreeBSD incorporating all 
necessary changes to make them work the FreeBSD way, and so you don't 
have to keep redoing all that stuff yourself.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       8 Dane Court Manor
                                                       School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey         Tilmanstone
Tel: +44 1304 617253                                  Kent, CT14 0JL UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 372 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041230/fd56ae71/signature.bin


More information about the freebsd-questions mailing list