testandremember/testandremember/master/code/php/testprep/site/pages/default.htaccess - Htaccess File

testandremember/testandremember/master/code/php/testprep/site/pages/default.htaccess

Options +FollowSymLinks
RewriteEngine on

# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !.
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]

# Rewrite all requests that do not contain a dot (.) to index.php
RewriteRule !. index.php

On Github License

Files

Download PDF of Htaccess file
REQUEST_URI

Comments

Apache