StevenKrebs/division-zero/master/dist/.htaccess
RewriteEngine On RewriteCond %{HTTP_HOST} ^www. RewriteCond %{HTTPS}s ^on(s)|off RewriteCond http%1://%{HTTP_HOST} ^(https?://)(www.)?(.+)$ RewriteRule ^ %1%3%{REQUEST_URI} [R=301,L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [R=301,L]
Files
![HTTP_HOST, HTTPS, REQUEST_FILENAME, REQUEST_URI](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/StevenKrebs/division-zero-dist-htaccess.png)