ukraine/Vitroff/master/.htaccess - Htaccess File

ukraine/Vitroff/master/.htaccess

#Options -Indexes
#php_flag display_errors on
#AddDefaultCharset windows-1251

RewriteEngine On
RewriteBase /

#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^mad/$              /mad/mad.php
RewriteRule ^mad/([a-zA-Z0-9]+)/([a-zA-Z0-9]+)/([0-9]+)$    /mad/mad.php?section=$1&action=$2&id=$3&%{QUERY_STRING}
RewriteRule ^mad/([a-zA-Z0-9]+)/([a-zA-Z0-9]+)/{0,1}$      /mad/mad.php?section=$1&action=$2&%{QUERY_STRING}
RewriteRule ^mad/([a-zA-Z0-9]+)/{0,1}$          /mad/mad.php?section=$1&%{QUERY_STRING}

RewriteCond %{REQUEST_URI}  !^/FCKeditor.* 

RewriteRule ^sitemap.xml$            /sitemap.php
RewriteRule ^favicon.ico$            /img/favicon.ico

RewriteRule ^(/)?$              /mad/mad.php [QSA,L]

On Github License

Files

Download PDF of Htaccess file
QUERY_STRING, REQUEST_FILENAME, REQUEST_URI

Comments

Apache