Options -MultiViews
DirectoryIndex index.php

#AddHandler x-httpd-php php
#AddType text/html php

RewriteEngine On

RewriteBase /

RewriteRule ^admin/(.*)$ admin/$1 [NC,S=2]

#RewriteCond %{REQUEST_FILENAME} ^index.php$
#RewriteRule ^([^/]+)/(.*)/$|^([^/]+)(.*)$|^$ index.php?%{QUERY_STRING}&include_file=%{REQUEST_FILENAME} [NC,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f



RewriteRule (.*) index.php?%{QUERY_STRING} [NC,L]

