adncentral/mapi-geoCMS/master/.htaccess - Htaccess File

adncentral/mapi-geoCMS/master/.htaccess

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]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache