Apache Server Status page in port 8443

Posted by batman on Server Fault See other posts from Server Fault or by batman
Published on 2012-09-04T08:02:40Z Indexed on 2012/09/04 9:39 UTC
Read the original article Hit count: 233

Filed under:
|
|

I'm very new to apache. I tried to enable the server status page of apache.

I added the status.conf and status.load to mods-enabled directory.

I changed the config of apache2.conf to include all mods-enabled directory.

This is the config of staus.conf:

<IfModule mod_status.c>
#
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Uncomment and change the "192.0.2.0/24" to allow access from other hosts.
#
<Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1 ::1
#    Allow from 192.0.2.0/24
</Location>

# Keep track of extended status information for each request
ExtendedStatus On

# Determine if mod_status displays the first 63 characters of a request or
# the last 63, assuming the request itself is greater than 63 chars.
# Default: Off
#SeeRequestTail On


<IfModule mod_proxy.c>
    # Show Proxy LoadBalancer status in mod_status
    ProxyStatus On
</IfModule>


</IfModule>

The default settings. I restarted my server.

I'm redirecting all ports to 8443. Which in turn turns my requests to localhost:8443/server-status. Which does throw an 404 error.

Are there any way to get around this?

Thanks in advance.

© Server Fault or respective owner

Related posts about apache2

Related posts about ubuntu