RewriteEngine On RewriteCond REQUEST_METHOD PUT RewriteCond REQUEST_FI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
RewriteEngine On
RewriteCond %{REQUEST_METHOD} !^PUT$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.php [L,QSA]
RewriteRule ^([^/\.]+)/([^/\.]+)/([^/\.]+)/?$ index.php?view=$1&cat=$2&tab=$3 [L]
AddDefaultCharset windows-1251
DirectoryIndex index.php
Options +FollowSymLinks
Allow from all