Default apache location always shows a 404
I normally upload this script to my server to watch the load remotely. But with my newest server anything I add to the /usr/local/apache/htdocs/ folder gives a 404.
lv117.example.com/status/
I've changed the ownership and permissions to be like the other servers that work fine.
lv115.example.com/status/
-
It should be symlinked to /var/www/html since this is the new location but maybe not, what does this give you: grep DocumentRoot /etc/apache2/conf/httpd.conf | head -1
you may also need tochown -R nobody: /usr/local/apache/htdocs/status0 -
Bingo, it was missing the symlink. Must of overwritten it on accident. Thanks! 0 -
Hello, I'm happy to see the issue was solved. Thanks! 0
Please sign in to leave a comment.
Comments
3 comments