Файл: .htaccess
Строк: 46
DirectoryIndex index.php
Options -Indexes
AddDefaultCharset
UTF-8
RewriteEngine On
RewriteRule ^search$ ./index.php?m=process&$1
[L,QSA]
RewriteRule ^results/(.*)/(.*)$
./index.php?m=resultat&name=$1&token=$2 [L,QSA]
RewriteRule
^video/([A-z0-9-_]+)$ ./index.php?m=video&id=$1 [L,QSA]
RewriteRule
^download/([A-z0-9-_]+)/([0-9]+)$ ./index.php?m=lod&id=$1&itag=$2
[L,QSA]
RewriteRule ^comm/([0-9]+)$ ./index.php?m=comment&page=$1
[L,QSA]
RewriteRule ^index/([0-9]+)$ ./index.php?m=tags&page=$1
[L,QSA]
RewriteRule ^online/([0-9]+)$ ./index.php?m=online&page=$1
[L,QSA]
RewriteRule ^turbo/([A-z0-9-_]+)$ ./index.php?m=turbo&id=$1
[L,QSA]
RewriteRule ^you/turbo/([A-z0-9-_]+)$ ./index.php?m=turbo&id=$1
[L,QSA]
RewriteRule ^you/video/([A-z0-9-_]+)$
./index.php?m=video&id=$1 [L,QSA]
RewriteRule ^you/results/(.*)/(.*)$
./index.php?m=resultat&name=$1&token=$2
[L,QSA]
AddOutputFilterByType DEFLATE text/html text/plain text/xml
application/xml application/xhtml+xml text/javascript text/css
application/x-javascript
BrowserMatch ^Mozilla/4
gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch
bMSIE !no-gzip !gzip-only-text/html
<FilesMatch
".(gif|png|ico|js|css)$">
Header set Cache-Control
"max-age=2592000"
</FilesMatch>
<FilesMatch
".(html|php)$">
Header unset
Cache-Control
</FilesMatch>
RewriteEngine on
ErrorDocument 404
/404.php