Hey all,
I have 1 IP on my Linode 360. I'm running Apache2 on Ubuntu 9.10 x86.
Long story short, I'm running about 5 VirtualHosts, and I'm specifying them using:
Code:
<VirtualHost *:80>
I also have this statement in my ports.conf file:
Code:
NameVirtualHost *:80
I've enabled Mod_Status and have set ExtendedStatus On. This is what my status.conf looks like:
Code:
<IfModule mod_status.c>
#
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Uncomment and change the ".example.com" to allow
# access from other hosts.
#
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Allow from all
# Order deny,allow
# Deny from all
# Allow from .example.com
</Location>
</IfModule>
Now my issue is that when I browse to oneofmydomains.com/server-status, I get a 404 not found. I came across this post:
http://systembash.com/content/apache-mod_status-404/. Basically I'm reading that I cannot designate VirtualHosts using *:80, AND have mod_status running, both on the same port.
If I add "Listen 8080" to my ports.conf, and I hit mydomain.com:8080/server-status, I DO receive the server-status page, which is obviously what I want. The *very small* downside, is that I must tack on the extra :8080 to view it.
Any thoughts on how to make this work with port 80 as well?
Have a great thanksgiving!
Thanks,
Ace