Файл: .htaccess
Строк: 31
AddDefaultCharset utf-8
DirectoryIndex index.php
Options -Indexes
#
переопределяем страницы ошибок.. если
есть своя страница ошибок, то меняем err.php
на него
ErrorDocument 400 /err.php?err=400
ErrorDocument 401
/err.php?err=401
ErrorDocument 402 /err.php?err=402
ErrorDocument 403
/err.php?err=403
ErrorDocument 404 /err.php?err=404
ErrorDocument 500
/err.php?err=500
ErrorDocument 502 /err.php?err=502
php_value
display_errors 1
php_value error_reporting 2047
AddType audio/3gpp
3gp
AddType video/3gpp .3gp
AddType video/3gpp .mp4
Options
+FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST}
^www\.porno-onlayn\.org$ [NC]
RewriteRule ^(.*)$
http://porno-onlayn.org/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME}
!-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^like/([0-9]+)$
like.php?id=$1 [L]
RewriteRule ^download/([0-9]+)$ download.php?id=$1
[L]
RewriteRule ^([\-\._A-Za-z0-9^/]+)/$ view_category.php?path=$1
[QSA,L]
RewriteRule ^([\-\._A-Za-z0-9^/]+).html$ view_file.php?path=$1
[QSA,L]
RewriteRule ^([\-\._A-Za-z0-9^/]+).html&screen=([0-9]+)$
view_file.php?path=$1&screen=$2 [QSA,L]
RewriteRule ^tag/(.*)/$
view_tag.php?path=$1 [QSA,L]
RewriteRule ^search$ search.php [L]