vikigroup/vbiketours/master/.htaccess - Htaccess File

vikigroup/vbiketours/master/.htaccess

RewriteEngine on
  
Options -Indexes

#DirectoryIndex upgrade.php

RewriteRule ^sacviet/$ sacviet/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]

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://vbiketours.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://vbiketours.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://vbiketours.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://vbiketours.com$      [NC]
#RewriteRule .*.(jpg|jpeg|gif|png|bmp||avi)$ - [F,NC]

On Github License

Files

Download PDF of Htaccess file
HTTP_REFERER, REQUEST_FILENAME

Comments

Apache