1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
| <IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /site/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Options +SymLinksIfOwnerMatch
RewriteRule ^admin/([_A-Z0-9a-z-+]+)/$ admin/index.php?p=$1 [S=1]
RewriteRule ^admin/([_A-Z0-9a-z-+]+)$ admin/index.php?p=$1 [S=1]
RewriteRule ^admin/([_A-Z0-9a-z-+]+)/action/$ admin/index.php?p=$1&type=action [S=1]
RewriteRule ^admin/([_A-Z0-9a-z-+]+)/action$ admin/index.php?p=$1&type=action [S=1]
RewriteRule ^admin/([_A-Z0-9a-z-+]+)/([0-9]+)/$ admin/index.php?p=$1&TableUniqueID=$2 [S=1]
RewriteRule ^admin/([_A-Z0-9a-z-+]+)/([0-9]+)$ admin/index.php?p=$1&TableUniqueID=$2 [S=1]
RewriteRule ^admin/([_A-Z0-9a-z-+]+)/action/([_A-Z0-9a-z-+]+)/([0-9]+)/$ admin/index.php?p=$1&type=action&a=$2&TableUniqueID=$3 [S=1]
RewriteRule ^admin/([_A-Z0-9a-z-+]+)/action/([_A-Z0-9a-z-+]+)/([0-9]+)$ admin/index.php?p=$1&type=action&a=$2&TableUniqueID=$3 [S=1]
RewriteRule ^([_A-Z0-9a-z-+]+)/$ index.php?p=$1 [S=1]
RewriteRule ^([_A-Z0-9a-z-+]+)$ index.php?p=$1 [S=1]
RewriteRule ^([_A-Z0-9a-z-+]+)/action/$ index.php?p=$1&type=action [S=1]
RewriteRule ^([_A-Z0-9a-z-+]+)/action$ index.php?p=$1&type=action [S=1]
RewriteRule ^([_A-Z0-9a-z-+]+)/action/([0-9]+)/$ index.php?p=$1&type=action&TableUniqueID=$2 [S=1]
RewriteRule ^([_A-Z0-9a-z-+]+)/action/([0-9]+)$ index.php?p=$1&type=action&TableUniqueID=$2 [S=1]
RewriteRule ^([_A-Z0-9a-z-+]+)/([_A-Z0-9a-z-+]+)/$ index.php?p=$1&TableUniqueID=$2 [S=1]
RewriteRule ^([_A-Z0-9a-z-+]+)/([_A-Z0-9a-z-+]+)$ index.php?p=$1&TableUniqueID=$2 [S=1]
RewriteRule ^([_A-Z0-9a-z-+]+)/([_A-Z0-9a-z-+]+)/([0-9]+)/$ index.php?p=$1&Lalabhai=$2&TableUniqueID=$3 [S=1]
RewriteRule ^([_A-Z0-9a-z-+]+)/([_A-Z0-9a-z-+]+)/([0-9]+)$ index.php?p=$1&Lalabhai=$2&TableUniqueID=$3 [S=1]
</IfModule> |