# Verval #
<ifModule mod_expires.c>
ExpiresActive Op
ExpiresDefault "toegang plus 1 sekondes"
ExpiresByType text / html "toegang plus 1 sekondes"
ExpiresByType image / gif "toegang plus 3456000 sekondes"
ExpiresByType image / jpeg "toegang plus 3456000 sekondes"
ExpiresByType image / png "toegang plus 3456000 sekondes"
ExpiresByType text / css "toegang plus 3456000 sekondes"
ExpiresByType teks / javascript "toegang plus 3456000 sekondes"
ExpiresByType application / javascript "toegang plus 3456000 sekondes"
ExpiresByType application / x-javascript "toegang plus 3456000 sekondes"
</ IfModule>
# # Compression
<ifmodule mod_headers.c>
<ifmodule mod_deflate.c>
AddOutputFilterByType Adobe Deflate text / html teks / css teks / 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>
# Herskryf #
<ifmodule mod_rewrite.c>
RewriteEngine
Opsies FollowSymlinks
RewriteCond% {REQUEST_FILENAME} s [of]
RewriteCond% {REQUEST_FILENAME}-L [of]
RewriteCond% {REQUEST_FILENAME}-D
RewriteRule ^ .* $ - [NC, L]
# Media Biblioteek
ReWriteRule ^ media / m (\\ d +).*/ tags $ media.php doen = tags_edit & mid = $ 1 [QSA]
ReWriteRule ^ media / m (\\ d +).*/ wysig $ media.php doen = details_edit & middel? = $ 1 [QSA]
ReWriteRule ^ media / m (\\ d +).*/ verslag $ media.php = verslag doen? & Mid = $ 1 [QSA]
ReWriteRule ^ media / m (\\ d +).*/ c (\\ d +) $ media.php doen = comment_edit & CMT? = $ 2 [QSA]
ReWriteRule ^ media / m (\\ d +).*/ P (\\ d +).*$ media.php doen =? Besonderhede & mid = $ 1 & pid = $ 2 [QSA]
ReWriteRule ^ media / m (\\ d +) .* media.php doen =? Besonderhede & mid = $ 1 [QSA]
ReWriteRule ^ media / p (\\ d +).*/ wysig $ media.php doen = playlist_edit & pid? = $ 1 [QSA]
ReWriteRule ^ media / p (\\ d +) .* media.php doen = playlist & pid = $ 1 [QSA]
ReWriteRule ^ media / C (\\ d +) .* media.php = kategorie doen? & Cid = $ 1 [QSA]
ReWriteRule ^ media / u (\\ d +) .* media.php = gebruiker doen? & Uid = $ 1 [QSA]
ReWriteRule ^ media / tag /(.*) media.php = tag & tyd doen? = $ 1 [QSA]
ReWriteRule ^ media / resultate /(.*) media.php doen =? Resultate & navraag = $ 1 [QSA]
ReWriteRule ^ media / advresults /(.*) media.php doen =? Advresults & navraag = $ 1 [QSA]
ReWriteRule ^ media / letter /(.*) media.php doen = brief & query? = $ 1 [QSA]
ReWriteRule ^ media / browse .* media.php doen = blaai [QSA]?
ReWriteRule ^ media / soek .* media.php doen =? Search [QSA]
ReWriteRule ^ media / ewekansige .* media.php doen =? Ewekansige [QSA]
ReWriteRule ^ media / dien .* media.php doen =? Submit [QSA]
ReWriteRule ^ media / tagcloud .* media.php doen = tagcloud [QSA]?
ReWriteRule ^ media / afspeel lyste .* media.php doen = afspeel lyste [QSA]?
ReWriteRule ^ media / pcreate .* media.php doen =? Playlists_create [QSA]
ReWriteRule ^ media / pmine .* media.php doen = playlists_mine [QSA]?
ReWriteRule ^ media / gunstelinge .* media.php doen = gunstelinge [QSA]?
ReWriteRule ^ media / Subskripsies .* media.php doen =? Subskripsies [QSA]
ReWriteRule ^ media / admin / wysig / s (\\ d +) .* media.php doen = admin_host_edit & sid = $ 1 [QSA]
ReWriteRule ^ media / admin / verwyder / s (\\ d +) .* media.php doen = admin_host_delete & sid = $ 1 [QSA]
ReWriteRule ^ media / admin / uitvoer / s (\\ d +) .* media.php doen = admin_host_export & sid = $ 1 [QSA]
ReWriteRule ^ media / admin / (\\ w +) .* media.php doen =? Admin_ $ 1 [QSA]
# Media Biblioteek van video Directory
RewriteCond% {QUERY_STRING} doen = viewdetails & videoid = (\\ d +)
RewriteRule ^ video \\ PHP $. Media.php doen = Besonderhede & mid =% 1
% RewriteCond {QUERY_STRING} viewcategory & CategoryID = (\\ d +)
RewriteRule ^ video \\ PHP $. Media.php doen = kategorie? & Cid =% 1
RewriteCond% {QUERY_STRING} viewuser & UserID = (\\ d +)
RewriteRule ^ video \\ PHP $. Media.php = gebruiker doen? & Uid =% 1
RewriteCond% {QUERY_STRING} viewtag & tag =(.*)
RewriteRule ^ video \\ PHP $. Media.php doen = tag & tyd =% 1?
ReWriteRule ^ video \\ Php $ media.php
# Forum
RewriteRule ^ drade / .* showthread.php [QSA]
RewriteRule ^ forums / .* forumdisplay.php [QSA]
RewriteRule ^ blogs / .* blog.php [QSA]
ReWriteRule ^ inskrywings / .* entry.php [QSA]
RewriteCond% {REQUEST_FILENAME} s [of]
RewriteCond% {REQUEST_FILENAME}-L [of]
RewriteCond% {REQUEST_FILENAME}-D
RewriteRule ^ .* $ - [NC, L]
# MVC
RewriteRule ^(?.*?)(?:/|$))(.*|$)$ $ 1.php R = $ 2 [QSA]
</ Ifmodule>