Scade # #
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "accesso più 1 secondi"
ExpiresByType "accesso più 1 secondi" text / html
ExpiresByType "accesso più 3456000 secondi" image / gif
ExpiresByType "accesso più 3456000 secondi" image / jpeg
ExpiresByType "accesso più 3456000 secondi" image / jpeg
ExpiresByType "accesso più 3456000 secondo" text / css
ExpiresByType "accesso più 3456000 secondo" text / javascript
ExpiresByType "accesso più 3456000 secondo" application / javascript
ExpiresByType "accesso più 3456000 secondo" application / x-javascript
</ IfModule>
# # Compressione
<IfModule Mod_headers.c>
<IfModule Mod_deflate.c>
AddOutputFilterByType DEFLATE text / html text / css text / xml application / x-javascript
BrowserMatch ^ Mozilla / 4 gzip-only-text/html
BrowserMatch ^ Mozilla / 4 \\ 0,0 [678] no-gzip
BrowserMatch \\ bMSIE! No-gzip! Gzip-only-text/html
</ IfModule>
</ IfModule>
Riscrive # #
<IfModule mod_rewrite.c>
RewriteEngine su
Opzioni + FollowSymlinks
RewriteCond% {} REQUEST_FILENAME-s [OR]
RewriteCond% {} REQUEST_FILENAME-l [OR]
REQUEST_FILENAME RewriteCond% {}-d
RewriteRule ^ .* $ - [NC, L]
Media Library #
RewriteRule ^ media / m (\\ d +).*/ tag $ media.php? Do = tags_edit & mid = $ 1 [QSA]
RewriteRule ^ media / m (\\ d +).*/ modificare $ media.php? Do = details_edit & mid = $ 1 [QSA]
RewriteRule ^ media / m (\\ d +).*/ rapporto $ media.php? Do = rapporto & mid = $ 1 [QSA]
RewriteRule ^ media / m (\\ d +).*/ c (\\ d +) $ media.php? Do = comment_edit & cmt = $ 2 [QSA]
RewriteRule ^ media / m (\\ d +).*/ p (\\ d +).*$ media.php? Do = dettagli & mid = $ 1 & pid = $ 2 [QSA]
RewriteRule ^ media / m (\\ d +) .* media.php? Do = dettagli & mid = $ 1 [QSA]
RewriteRule ^ media / p (\\ d +).*/ modificare $ media.php? Do = playlist_edit & pid = $ 1 [QSA,]
RewriteRule ^ media / p (\\ d +) .* media.php? Do = playlist & pid = $ 1 [QSA]
RewriteRule ^ media / c (\\ d +) .* media.php? Do = categoria & cid = $ 1 [QSA]
RewriteRule ^ media / u (\\ d +) .* media.php? Fare = user & uid = $ 1 [QSA]
RewriteRule ^ media / tag /(.*) media.php? Do = tag & tid = $ 1 [QSA]
RewriteRule ^ media / risultati /(.*) media.php? Do = risultati & query = $ 1 [QSA]
RewriteRule ^ media / advresults /(.*) media.php? Do = advresults & query = $ 1 [QSA,]
RewriteRule ^ media / lettera /(.*) media.php? Fare lettera = & query = $ 1 [QSA]
RewriteRule ^ media / navigare .* media.php? Do = sfogliare [QSA]
RewriteRule ^ media / ricerca .* media.php? Do = ricerca [QSA]
RewriteRule ^ media / casuale .* media.php? Fare = casuale [QSA]
RewriteRule ^ media / presentare .* media.php? Do = submit [QSA]
RewriteRule ^ media / tagcloud .* media.php? Do = tagcloud [QSA]
RewriteRule ^ media / playlist .* media.php? Do = playlist [QSA]
RewriteRule ^ media / pcreate .* media.php? Do = playlists_create [QSA]
RewriteRule ^ media / pmine .* media.php? Do = playlists_mine [QSA]
RewriteRule ^ media / preferiti .* media.php? Do = favoriti [QSA]
RewriteRule ^ media / abbonamenti .* media.php? Do = abbonamenti [QSA,]
RewriteRule ^ media / admin / modificare / s (\\ d +) .* media.php? Fare admin_host_edit = & sid = $ 1 [QSA]
RewriteRule ^ media / admin / cancellazione / s (\\ d +) .* media.php? Fare admin_host_delete = & sid = $ 1 [QSA]
RewriteRule ^ media / admin / export / s (\\ d +) .* media.php? Fare admin_host_export = & sid = $ 1 [QSA]
RewriteRule ^ media / admin / (\\ w +) .* media.php? Fare admin_ = $ 1 [QSA]
# Mediateca dalla directory video
RewriteCond% {QUERY_STRING} do = ViewDetails & videoid = (\\ d +)
RewriteRule ^ video \\. Php $ media.php? Do = dettagli & mid =% 1
RewriteCond% {QUERY_STRING} viewcategory & categoryid = (\\ d +)
RewriteRule ^ video \\. Php $ media.php? Do = categoria & cid =% 1
RewriteCond% {QUERY_STRING} viewuser & userid = (\\ d +)
RewriteRule ^ video \\. Php $ media.php? Fare = user & uid =% 1
RewriteCond% {QUERY_STRING} & viewtag tag =(.*)
RewriteRule ^ video \\. Php $ media.php? Do = tag & tid =% 1
RewriteRule ^ video \\. Php $ media.php
# Forum
RewriteRule ^ filo / showthread.php .* [QSA]
RewriteRule ^ forum / showthread.php .* [QSA]
RewriteRule ^ blog / blog.php .* [QSA]
Voci RewriteRule ^ / .* entry.php [QSA]
RewriteCond% {} REQUEST_FILENAME-s [OR]
RewriteCond% {} REQUEST_FILENAME-l [OR]
REQUEST_FILENAME RewriteCond% {}-d
RewriteRule ^ .* $ - [NC, L]
# MVC
RewriteRule ^(?.*?)(?:/|$))(.*|$)$ $ 1.php? R = $ 2 [QSA]
</ IfModule>