Forbidden (403), when accessing server-status on apache 2.2.22

Solution 1:

The Allow from line doesn't have to do with your website. Allow from allows people with a specified IP address (or domain name that resolves to an IP) to access your website.

So if your home has an IP address of, you would put allow from and NOT allow from

That should fix your 403 (forbidden), although I realize you said you tried changing that to, and accessing it directly from the server. Have you tried changing to localhost?

Now, regarding the 404. That's a different issue entirely. That's a "Not Found" error, and not a "forbidden" error.

VirtualHost containers, by default, aren't really meant to be used with mod_status. It simply will not work. According to this website, you have 2 options:

  1. Make the server listen on an alternative port (such as 8080)
  2. Change the asterisk in to your server's public IP address - then, you can access the server-status only from localhost /

Solution 2:

Check if you have the right VirtualHost configuration. You can try to create VirtualHost config for, like this:

<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot /var/www
    <Directory />
            Options FollowSymLinks
            AllowOverride All
    <Directory /var/www>
      Options +FollowSymLinks
      AllowOverride None
      order allow,deny
      allow from all



Found it here