File size: 2.77Kb
Options -Indexes
DirectoryIndex index.php
AddDefaultCharset UTF-8
#######################################
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.ticlove\.ru
RewriteRule ^(.*)$ http://ticlove.ru/$1 [R=301,L]
RewriteRule ^admin$ /apanel/apanel.php [L]
RewriteRule ^admin/$ /apanel/apanel.php [L]
RewriteRule ^my/$ /user.php [L]
RewriteRule ^my/$ /user.php [L]
RewriteRule ^profile/$ /profile.php [L]
RewriteRule ^album/$ /album.php [L]
RewriteRule ^messages/$ /messages.php [L]
RewriteRule ^settings/$ /profile.php [L]
RewriteRule ^balans-add/$ /balans.php [L]
RewriteRule ^favorits/$ /favorits.php [L]
RewriteRule ^guests/$ /guests.php [L]
RewriteRule ^guests/page/([0-9]+)/$ /guests.php?start=$1 [L]
RewriteRule ^chat/$ /chat.php [L]
RewriteRule ^blacklist/$ /blacklist.php [L]
RewriteRule ^uslugi/$ /uslugi.php [L]
RewriteRule ^rates/$ /rates.php [L]
RewriteRule ^comments/$ /comments.php [L]
RewriteRule ^my/gifts/$ /mygifts.php [L]
RewriteRule ^users/$ /users.php [L]
RewriteRule ^users/page/([0-9]+)/$ /users.php?start=$1 [L]
RewriteRule ^new/$ /new.php [L]
RewriteRule ^new/page/([0-9]+)/$ /new.php?start=$1 [L]
RewriteRule ^online/$ /online.php [L]
RewriteRule ^online/page/([0-9]+)/$ /online.php?start=$1 [L]
RewriteRule ^search/$ /search.php [L]
RewriteRule ^search/page/([0-9]+)/$ /search.php?start=$1 [L]
RewriteRule ^top-100/$ /top100.php [L]
RewriteRule ^top-100/boys/$ /top100.php?top_sort=1 [L]
RewriteRule ^top-100/girls/$ /top100.php?top_sort=2 [L]
RewriteRule ^top-100/page/([0-9]+)/$ /top100.php?start=$1 [L]
RewriteRule ^popular/$ /popular.php [L]
RewriteRule ^popular/boys/$ /popular.php?popul_sort=1 [L]
RewriteRule ^popular/girls/$ /popular.php?popul_sort=2 [L]
RewriteRule ^popular/page/([0-9]+)/$ /popular.php?start=$1 [L]
RewriteRule ^news/$ /news.php [L]
RewriteRule ^news/page/([0-9]+)/$ /news.php?start=$1 [L]
RewriteRule ^news/([0-9]+)/comments/$ /news.php?page=comments&news_id=$1 [L]
RewriteRule ^news/([0-9]+)/comments/([0-9]+)/$ /news.php?page=comments&news_id=$1&start=$2 [L]
RewriteRule ^id([0-9]+)$ /user.php?id=$1 [L]
RewriteRule ^id([0-9]+)/$ /user.php?id=$1 [L]
RewriteRule ^logout/$ /logout.php [L]
#######################################
php_value arg_separator.output "&"
php_flag session.use_cookies 1
php_flag session.use_trans_sid 0
php_flag magic_quotes_gpc 0
php_value error_reporting 0
php_flag display_errors 0
php_flag register_globals 0
php_flag magic_quotes_gpc 0
php_flag magic_quotes_runtime 0
php_flag magic_quotes_sybase 0
################################
ErrorDocument 401 http://ticlove.ru/
ErrorDocument 402 http://ticlove.ru/
ErrorDocument 403 http://ticlove.ru/
ErrorDocument 404 /404.php
ErrorDocument 500 http://ticlove.ru/