xt9/stackoverflow-template/master/webroot/.htaccess - Htaccess File

xt9/stackoverflow-template/master/webroot/.htaccess

<IfModule mod_rewrite.c>
  RewriteEngine on

  # Must use RewriteBase on www.student.bth.se, Rewritebase for url /~mos/test is /~mos/test/
  RewriteBase /~niaf14/kurser/phpmvc/project/webroot

  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d

  RewriteRule (.*) index.php/$1 [NC,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache