Файл: .htaccess
Строк: 48
<FilesMatch
"\.(htaccess|htpasswd|ini|log|sh|inc|bak|tpl)$">
Order
Allow,Deny
Deny from all
</FilesMatch>
ErrorDocument 404
/404.php
RewriteEngine on
RewriteOptions MaxRedirects=1
RewriteCond
%{REQUEST_FILENAME} -f [NC,OR]
RewriteCond %{REQUEST_FILENAME} -d
[NC]
RewriteRule .* - [L]
RewriteRule ^connect/([^/]+)/?$
connect.php?to=$1 [L]
RewriteRule ^about/?$ about.php [L]
RewriteRule
^about/([^/]+)/?$ about.php?v=$1 [L]
RewriteRule ^recover/?$ recover.php
[L]
RewriteRule ^signin/?$ signin.php [L]
RewriteRule ^signup/?$
signup.php [L]
RewriteRule ^signout/?$ signout.php [L]
RewriteRule
^gettingstarted/step=([^/]+)/?$ gettingstarted.php?step=$1
[L]
RewriteRule ^directory/?$ directory.php [L]
RewriteRule
^directory/([^/]+)/?$ directory.php?v=$1 [L]
RewriteRule
^directory/([^/]+)/([0-9]+)/?$ directory.php?v=$1&page=$2
[L]
RewriteRule ^app=([^/]+)/?$ apps.php?v=$1 [L]
RewriteRule
^messages/?$ messages.php [L]
RewriteRule ^message/([0-9]+)/?$
message.php?id=$1 [L]
RewriteRule ^notifications/?$ notifications.php
[L]
RewriteRule ^newsfeed/([0-9]+)(/.*)?$ newsfeed.php?id=$1
[L]
RewriteRule ^track/([0-9]+)(/.*)?$ track.php?id=$1 [L]
RewriteRule
^discussion/([0-9]+)(/.*)?$ discussion.php?id=$1 [L]
RewriteRule
^editdiscussion/([^/]+)/?$ editdiscussion.php?do=$1 [L]
RewriteRule
^editdiscussion/([^/]+)/([0-9]+)/?$ editdiscussion.php?do=$1&id=$2
[L]
RewriteRule ^question/([0-9]+)(/.*)?$ question.php?id=$1
[L]
RewriteRule ^poll/([0-9]+)(/.*)?$ poll.php?id=$1 [L]
RewriteRule
^link/([0-9]+)(/.*)?$ link.php?id=$1 [L]
RewriteRule ^video/([0-9]+)/?$
video.php?id=$1 [L]
RewriteRule ^photo/([0-9]+)/?$ photo.php?id=$1
[L]
RewriteRule ^albums/([^/]+)/([0-9]+)/?$ album.php?m=$1&id=$2
[L]
RewriteRule ^albums/([^/]+)/([0-9]+)/saved/?$
album.php?m=$1&id=$2&saved [L]
RewriteRule
^editalbum/([^/]+)/([0-9]+)/([^/]+)/?$
editalbum.php?m=$1&id=$2&t=$3 [L]
RewriteRule ^settings/?$
settings.php [L]
RewriteRule ^settings/([^/]+)/?$ settings.php?edit=$1
[L]
RewriteRule ^settings/([^/]+)/([^/]+)/?$
settings.php?edit=$1&tab=$2 [L]
RewriteRule ^([^/]+)/?$
profile.php?u=$1 [L]
RewriteRule ^([^/]+)/([^/]+)/?$
profile.php?u=$1&v=$2 [L]
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/?$
profile.php?u=$1&v=$2&t=$3 [L]