chitanka/chitanka/master/web/.htaccess - Htaccess File

chitanka/chitanka/master/web/.htaccess

<IfModule mod_rewrite.c>
  RewriteEngine On

  # remove trailing slash
  #RewriteCond %{REQUEST_FILENAME} !-d
  #RewriteCond %{REQUEST_URI} ^(.*)/$
  #RewriteRule ^(.*)/$ /$1 [R=301,L]

  RewriteRule ^index.php/(.+) /$1 [R=301,L]

  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache