LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (http://www.linuxquestions.org/questions/%2Absd-17/)
-   -   starting apache automatically upon booting (http://www.linuxquestions.org/questions/%2Absd-17/starting-apache-automatically-upon-booting-289938/)

zoso 02-14-2005 02:25 AM

starting apache automatically upon booting
 
hi,

i've tried for an hour (or four) to get apache to automatically start when i boot (using FreeBSD 4.11).. i've made sure the /usr/local/etc/rc.d/apache.sh script is executable, and apache_enable="YES" is set.. what am i doing wrong?

Brian Knoblauch 02-14-2005 02:49 PM

The startup script only actually fires if it sees a config file in a specific place. You may need to tweak that part of the script to point to where your config actually is. Sorry I can't be more specific, but I don't have any BSD boxen left to look at now (we went completely to Linux) :-)

zoso 02-14-2005 02:57 PM

thanks! i'll see what i can find out..

rehab junkie 02-14-2005 07:45 PM

Check that the configuration file, httpd.conf, is in /usr/local/etc/apache.

zoso 02-14-2005 09:01 PM

Quote:

Originally posted by rehab junkie
Check that the configuration file, httpd.conf, is in /usr/local/etc/apache.
it is. i don't know what else to do.


All times are GMT -5. The time now is 09:11 AM.