Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (14 sloc) 559 Bytes
IndexIgnore *
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(manager)($|/) - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]*)/(.*)/(.*)$ index.php?module=$1&object=$2&task=$3 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]*)/(.*)$ index.php?module=$1&object=$2 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]*)$ index.php?module=$1 [L]
# Provide Specific Index Page (Set the default handler)
DirectoryIndex index.php
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]