Password Protect Apache’s Server-status Page

The docs show how to configure access control using an environment variable with mod_setenvif. Using the technique described in the docs, I was able to password protect apache’s server-status page.

<Location /server-status>
    SetHandler server-status
    SetEnvIf Request_URI "mypassword" continue=1
    Order deny,allow
    Deny from all
    Allow from env=continue

Now only you can access the page by going to:
The downside to using the Request_URI attribute is that the password will be visible in your browser history.