Snel
Verified User
As far as I know the default Apache 2 configuration allows connections from localhost to /server-status.
DirectAdmin2 default configuration contains:
I would love to see the following default configuration:
This would do 2 things:
1. Disable the RewriteEngine on /server-status, this would make sure any other redirection (for example http to https) will not be processed.
2. Make /server-status available without authentication for localhost
Default behaviour will not change and as far as I can see this won't break current functionality and existing setups.
Is there any particular reason why connections from localhost are not allowed by default?
DirectAdmin2 default configuration contains:
Code:
<Location /server-status>
SetHandler server-status
AuthType basic
AuthName "Apache status"
AuthUserFile /var/www/passwd-server-status
Require valid-user
</Location>
I would love to see the following default configuration:
Code:
<Location /server-status>
<IfModule mod_rewrite.c>
RewriteEngine off
</IfModule>
SetHandler server-status
AuthType basic
AuthName "Apache status"
AuthUserFile /var/www/passwd-server-status
<RequireAny>
Require local
Require valid-user
</RequireAny>
</Location>
This would do 2 things:
1. Disable the RewriteEngine on /server-status, this would make sure any other redirection (for example http to https) will not be processed.
2. Make /server-status available without authentication for localhost
Default behaviour will not change and as far as I can see this won't break current functionality and existing setups.
Is there any particular reason why connections from localhost are not allowed by default?