expose dreamhost stats

This commit is contained in:
Sami Samhuri 2017-02-14 17:09:27 -08:00
parent 5421494e18
commit 5c45ca9ee8
No known key found for this signature in database
GPG key ID: F76F41F04D99808F

View file

@ -29,6 +29,14 @@ ExpiresDefault A259200
################
RewriteEngine On
# Expose DreamHost stats
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/(stats|failed_auth\.html).*$ [NC]
RewriteRule . - [L]
</IfModule>
# Redirect http to https
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} !beta\.samhuri\.net [NC]