Apache is reading from the wrong DocumentRoot

wolfie7873

New Member
Messages
1
Reaction score
0
Points
0
I changed my Directory directive to match the document root of /var/www/html, but Apache is still serving from /home/user/public-html

I don't understand why Apache didn't respect my change. Thoughts?
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Did you restart Apache?

service httpd restart
-or-
apachectl restart
 

Darren Wilson

New Member
Messages
1
Reaction score
0
Points
1
For anyone else running into this problem, my solution was to rename "/etc/httpd/conf.d/user.conf" to "/etc/httpd/conf.d/user.conf.bak".
I would love to be enlightened if there's a better solution.
 
Top