BrianP
02-07-2001, 12:40 PM
I installed Apache 1.3.14 on my RH7 pc, following the instructions on Apachetoday.com pretty much to the letter. Once it was installed I wanted to change the root directory from the default Apache test page, so I changed the DocumentRoot line in the httpd.conf file in /usr/local/web/apache/conf. But it did nothing. Suspicious, I then tried changing the index.html.en file in /usr/local/web/apache/htdocs, but that did nothing either--same page, no changes! (And yes I did a server restart)
I finally figured out what directory it is looking at. I was wondering why the link to the manual on the default Apache test page wasn't working, well it's because the default page was in a completely different directory! For some reason, the document directory that it looks at is /var/www/apache.
Why is it doing that? Is there some version of Apache that came with RH7 that I wasn't aware of (the Not Found page says Apache 1.3.12 at the bottom)? How can I get it to look at the correct directory?
I finally figured out what directory it is looking at. I was wondering why the link to the manual on the default Apache test page wasn't working, well it's because the default page was in a completely different directory! For some reason, the document directory that it looks at is /var/www/apache.
Why is it doing that? Is there some version of Apache that came with RH7 that I wasn't aware of (the Not Found page says Apache 1.3.12 at the bottom)? How can I get it to look at the correct directory?