Просмотр файла .htaccess

Размер файла: 1.73Kb
## ##################
## Ошибки
## ##################
ErrorDocument 400 /index.php
ErrorDocument 401 /index.php
ErrorDocument 402 /index.php
ErrorDocument 403 /index.php
ErrorDocument 404 /index.php
ErrorDocument 500 /index.php
ErrorDocument 502 /index.php

## ##################
## Разное
## ##################
AddDefaultCharset UTF-8
DirectoryIndex index.php
php_flag register_globals Off
php_flag magic_quotes_gpc Off
php_flag short_open_tag Off
php_flag session.use_trans_sid On
php_flag session.auto_start Off
php_flag register_long_arrays Off

php_value default_mimetype text/html
php_value default_charset UTF-8
php_value date.timezone "Europe/Moscow"
php_value upload_max_filesize 4M
php_value arg_separator.output "&"
Options -Indexes

RewriteEngine On

RewriteRule ^sitemap.xml$ sitemap.php
RewriteRule ^forum([0-9]+)/page([0-9]+)/$ forum.php?id=$1&page=$2 [QSA]
RewriteRule ^forum([0-9]+)/(([a-z]+)/(.*)?)?$ forum.php?id=$1&mode=$3 [QSA]

RewriteRule ^topic([0-9]+)/page([0-9]+)/(selectpost([0-9]+)/)?$ topic.php?id=$1&page=$2&selectpost=$4 [QSA]
RewriteRule ^topic([0-9]+)/([a-z]+)/page([0-9]+)/$ topic.php?id=$1&mode=$2&page=$3 [QSA]
RewriteRule ^topic([0-9]+)/(([a-z]+)/(.*)?)?$ topic.php?id=$1&mode=$3 [QSA]

RewriteRule ^post([0-9]+)/$ topic.php?viewpost=$1 [QSA]
RewriteRule ^post([0-9]+)/([a-z]+)/((.*)/)?$ post.php?id=$1&mode=$2

RewriteRule ^user([0-9]+)/([a-z]+)/page([0-9]+)/(.*)/?$ topic.php?id=$1&mode=$2&page=$3&d$4 [QSA]
RewriteRule ^user([0-9]+)/([a-z]+)/([^/]+)/((.*)/)?$ user.php?id=$1&mode=$2&act=$3 [QSA]
RewriteRule ^user([0-9]+)/(([a-z]+)/?)?$ user.php?id=$1&mode=$3 [QSA]

## ##################
## Deny From wap.adultfon.ru
## ##################
deny from 79.137.225.148