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
signature.asc
Description: OpenPGP digital signature