[SOLVED] Apache - Changes to httpd.conf not apparant

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

[SOLVED] Apache - Changes to httpd.conf not apparant

Post by impulse() »

I'm using Fedora Core 6 and I've editing /etc/httpd/conf/httpd.conf and changed 'DocumentRoot' and the '<Directory>' to a different directory and then I have restarted Apache but it's still reading from the default /var/www/html.

Has anybody else encountered this problem?

Regards,
Last edited by impulse() on Wed Apr 25, 2007 4:50 pm, edited 1 time in total.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

It needs to be changed in two places.
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Post by impulse() »

I have solved it now. I had changed it in 2 places but I hadn't commented out the lines in /etc/httpd/conf.d/welcome.conf
Post Reply