I recently added httpd
to start during the start up by doing this:
cd /etc/rc.d/rc5.d/
ln -s /etc/init.d/httpd S80httpd
Although httpd
starts on boot, seems like my DocumentRoot
that was set in httpd.conf
located in /etc/httpd/conf/httpd.conf
does not take effect and Fedora Test Page
gets loaded.
When I used to start httpd manually by httpd -k start
, everything was working fine.
I perhaps have not correctly understood the <number>
part of s<number>script
/ k<number>script
naming convention for the RC scripts.
Although, I know that it's for representing the order in which the script will be executed during the run of runlevel control script.
I picked up S80httpd
from How to auto start Apache during boot time.
What is exactly happening?
I am using Fedora 15
and Apache/2.2.21
.