sphido/cms/master/.htaccess - Htaccess File

sphido/cms/master/.htaccess

# rewrite everything to public folder
<IfModule mod_rewrite.c>
  RewriteEngine on
        
  RewriteCond %{HTTP_HOST} ^([^.]*).([^.]*)$
  RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1 [R=301,QSA,L]
        
  RewriteRule ^(.*)$ /public/$1 [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST

Comments

Apache