rogierkn/PrettyBoot/master/source/.htaccess - Htaccess File

rogierkn/PrettyBoot/master/source/.htaccess

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{HTTP_HOST} ^www.(.*) [NC]
  RewriteRule ^(.*) http://%1/$1 [R=301,L]
  
  RewriteEngine On
  RewriteCond %{REQUEST_URI} !^public
    RewriteRule ^(.*)$ public/$1 [L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_URI

Comments

Apache