curipha/whisper/master/asset/.htaccess - Htaccess File

curipha/whisper/master/asset/.htaccess

# Prohibit the access from another hostname
SetEnvIfNoCase Host "^maidsphere.jp$" permit_host
SetEnvIfNoCase Host "^www.maidsphere.jp$" permit_host

order deny,allow
deny from all
allow from env=permit_host

# Error documents
ErrorDocument 403 /403.html
ErrorDocument 404 /404.html
ErrorDocument 410 /404.html
ErrorDocument 503 /503.html

# URI unification
RewriteEngine on
RewriteCond %{HTTP_HOST} ^maidsphere.jp(:80)?$ [NC]
RewriteRule . http://www.maidsphere.jp%{REQUEST_URI} [R=301,L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_URI

Comments

Apache