connectivity-check/.htaccess
2019-08-22 23:29:03 +02:00

7 lines
No EOL
201 B
ApacheConf

RewriteEngine On
RewriteCond "%{REQUEST_FILENAME}" "(generate)?_?204"
RewriteRule "(generate)?_?204" / [R=204,L]
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]