jooldesign/Basic-Real-Time-Chat-Application/master/public/.htaccess - Htaccess File

jooldesign/Basic-Real-Time-Chat-Application/master/public/.htaccess

RewriteEngine On
RewriteBase /
Options +FollowSymlinks

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

# Route through index.php
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache