- #Options +Includes +FollowSymLinks -Indexes
- DirectoryIndex index.htm index.php index.html
- AddDefaultCharset windows-1251
- #CookieTracking on
- #CookieExpires "1 years"
- # default php version is 4.3.9
- # uncomment next line to use latest 4.4.x
- AddType application/x-httpd-php44 php
- # uncomment next line to use latest 5.x
- AddType application/x-httpd-php5 php
- php_flag session.use_trans_sid 0
- #ErrorDocument 403 /suspend.php
- ErrorDocument 403 /error.php?403
- ErrorDocument 404 /error.php?404
- <FilesMatch "\.(tpl)$">
- Order allow,deny
- Deny from all
- </FilesMatch>
- RewriteEngine on
- RewriteBase /
- # LANG
- #RewriteRule ^([a-z]{2})/?$ index.php?lang=$1&%{QUERY_STRING} [L]
- # CALENDAR
- RewriteRule ^([-0-9a-z_//]*)/([0-9]{1,2})-([0-9]{1,2})-([0-9]{2,4})/$ index.php?page=$1&day=$2&month=$3&year=$4&%{QUERY_STRING} [L]
- #CONTENT
- RewriteRule ^([-0-9a-z_//]*)/([-0-9a-z_]+)\.html$ index.php?page=$1&row=$2&%{QUERY_STRING} [L]
- #PAGE
- RewriteRule ^([-0-9a-z_//]+)/?$ index.php?page=$1&%{QUERY_STRING} [L]