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.
/etc/rc.d/rc5.d/S80httpdscript to see if it mentions other config files then the ones you intend for it to use. Why are you linking that start up script? Did the package not install one for you? – Tim Jan 12 at 18:05S80httpdscript now. – ThinkingMonkey Jan 12 at 18:06config: /etc/httpd/conf/httpd.conf. I definitely am not running two different installs. – ThinkingMonkey Jan 12 at 18:08/etc/httpd/conf/httpd.confthe correct config file where you have defined your doc root? Can you also post the entire stanza that has your docroot definition? – Tim Jan 12 at 18:10