Skip to content

Commit

Permalink
Fix Apache's /server-status for IPv6 (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
pastakhov authored Sep 13, 2024
1 parent a5efa54 commit b747555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _sources/configs/mediawiki.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RewriteRule .* - [R=503]

<IfModule mod_status.c>
# Allow access to /server-status from localhost
<If "%{REMOTE_ADDR} == '127.0.0.1' && %{REQUEST_URI} == '/server-status'">
<If "(%{REMOTE_ADDR} == '127.0.0.1' || %{REMOTE_ADDR} == '::1') && %{REQUEST_URI} == '/server-status'">
RewriteRule ^/?server-status$ - [END]
SetHandler server-status
</If>
Expand Down

0 comments on commit b747555

Please sign in to comment.