SandroHc/Aenianos/master/.htaccess - Htaccess File

SandroHc/Aenianos/master/.htaccess

<IfModule mod_rewrite.c>
  RewriteEngine On

  RewriteCond %{HTTPS} != on
  RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

  RewriteCond %{REQUEST_URI} !^/public/
  RewriteRule ^(.*)$ /public/$1 [L,R=301]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, HTTPS, REQUEST_URI

Comments

Apache