vikigroup/vbiketours/master/sacviet/lib/.htaccess - Htaccess File

vikigroup/vbiketours/master/sacviet/lib/.htaccess

RewriteEngine on
RewriteBase /
Options -Indexes
#DirectoryIndex upgrade.php
RewriteRule ^admin/$ admin/index.php [L]
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9_-]+).html$ index.php?com=$1  [L]
RewriteRule ^([a-zA-Z0-9_-]+).html/$ index.php?com=$1  [L]
RewriteRule ^([a-zA-Z0-9_-]+)/keyword=(.*)/p=([0-9]+)$  index.php?com=$1&keyword=$2&p=$3 [L]
RewriteRule ^([a-zA-Z0-9_-]+)/keyword=(.*)$  index.php?com=$1&keyword=$2 [L]
RewriteRule ^([a-zA-Z0-9_-]+).html/p=([0-9]+)$ index.php?com=$1&p=$2  [L]
RewriteRule ^([a-zA-Z0-9_-]+)/([0-9]+)/([0-9]+)-([a-zA-Z0-9_-]+).html/p=([0-9]+)$ index.php?com=$1&idd=$2&id=$3&p=$5  [L]
RewriteRule ^([a-zA-Z0-9_-]+)/([0-9]+)-([a-zA-Z0-9_-]+)/p=([0-9]+)$ index.php?com=$1&idl=$2&p=$4  [L]
RewriteRule ^([a-zA-Z0-9_-]+)/([0-9]+)-([a-zA-Z0-9_-]+)/$ index.php?com=$1&idl=$2  [L]
RewriteRule ^([a-zA-Z0-9_-]+)/([0-9]+)-([a-zA-Z0-9_-]+)/([0-9]+)-([a-zA-Z0-9_-]+)/$ index.php?com=$1&idcat=$4  [L]
RewriteRule ^([a-zA-Z0-9_-]+)/([0-9]+)-([a-zA-Z0-9_-]+)/([0-9]+)-([a-zA-Z0-9_-]+)/p=([0-9]+)$ index.php?com=$1&idcat=$4&p=$5  [L]
RewriteRule ^([a-zA-Z0-9_-]+)/([0-9]+)-([a-zA-Z0-9_-]+).html$ index.php?com=$1&id=$2 [L]
RewriteRule ^([a-zA-Z0-9_-]+)/([0-9]+)/([0-9]+)-([a-zA-Z0-9_-]+).html$ index.php?com=$1&idd=$2&id=$3 [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache