chisimba/modules/master/shorturl/resources/shorturl.htaccess - Htaccess File

chisimba/modules/master/shorturl/resources/shorturl.htaccess

RewriteEngine on

#Chisimba shorturl rules

#Uncomment the following if you're instance is hosted in a subdirectory e.g. http://sumhost.co.za/app/
#RewriteCond %{REQUEST_URI} !((.+..+)|(^/[a-z0-9_-]+/$)|(^/[a-z0-9_-]+$)) [NC]

#Uncomment the following if you're instance is hosted in the root e.g. http://sumhost.co.za/
RewriteCond %{REQUEST_URI} ^/[a-z0-9_-]+/$|^/[a-z0-9_-]+$ [NC]

RewriteRule (.*)$ ?module=shorturl&action=redirect [QSA,L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_URI

Comments

Apache