crazy-max/neard/master/www/.htaccess
<IfModule mod_rewrite.c> Options +FollowSymlinks RewriteEngine On RewriteBase / RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^127.0.0.1 [NC] RewriteRule (.*) http://localhost/$1 [QSA,R=301,L] RewriteCond %{HTTPS} on RewriteCond %{HTTP_HOST} ^127.0.0.1 [NC] RewriteRule (.*) https://localhost/$1 [QSA,R=301,L] </IfModule>
Files
![HTTP_HOST, HTTPS](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/crazy-max/neard-www-htaccess-346x250.png)