glowdemon1/LinkadeptV2/master/.htaccess - Htaccess File

glowdemon1/LinkadeptV2/master/.htaccess

RewriteEngine On

ErrorDocument 404 /httpError.php/404
ErrorDocument 403 /httpError.php/403
ErrorDocument 500 /httpError.php/500

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

#Allow clean URLS
  #index.php
  RewriteRule ^([^/.]+)/?$ index.php?groupKey=$1 [L]
  #httpError.php
  RewriteRule ^httpError.php/([^/.]+)/?$ httpError.php?httpError=$1 [L]

<IfModule mod_rewrite.c>
    Options -MultiViews

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache