SOLVED Default apache location always shows a 404

WebHostPro

Well-Known Member
PartnerNOC
Jul 28, 2002
1,715
28
328
LA, Costa RIca
cPanel Access Level
Root Administrator
Twitter
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/
 
Last edited by a moderator:

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
807
158
168
New Jersey
cPanel Access Level
DataCenter Provider
It should be symlinked to /var/www/html since this is the new location

but maybe not, what does this give you:

Code:
grep DocumentRoot /etc/apache2/conf/httpd.conf | head -1
you may also need to

Code:
chown -R nobody: /usr/local/apache/htdocs/status
 
  • Like
Reactions: WebHostPro

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello,

I'm happy to see the issue was solved.

Thanks!