View Full Version : apache start
hirohitosan
December 9th, 2008, 10:51
Hi there. I installed Apache on my FreeBSD but I don't know how to enable it.
How can I start at boot apache?
Thanks
Oko
December 9th, 2008, 10:55
Hi there. I installed Apache on my FreeBSD but I don't know how to enable it.
How can I start at boot apache?
Thanks
How about you read documentation first before playing with things
http://www.freebsd.org/doc/en/books/handbook/network-apache.html
bsddaemon
December 9th, 2008, 11:07
Hi there. I installed Apache on my FreeBSD but I don't know how to enable it.
How can I start at boot apache?
Thanks
Please take a look at the startup file for apache, by default, its located in:
/usr/local/etc/rc.d
The startup file will give you a hint what you should put in the rc.conf for starting up apache at boot time. E.g. for apache 1.3
apache.sh
apache_enable=
apache_flags="-DSSL"
The 2nd one is only used in the rc.conf if you need ssl support.
hirohitosan
December 9th, 2008, 13:16
Thanx guys
I started apache
# /usr/local/sbin/apachectl start
and I add in
/etc/rc.conf
apache22_enable="YES"
an it works :)
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.