This repository has been archived by the owner on Aug 25, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.htaccess
60 lines (45 loc) · 2.77 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
RewriteEngine on
Options +FollowSymLinks
RewriteRule ^([^/\.\?&]){1,}$ %{REQUEST_URI}/ [R]
RewriteRule logout\.php logout.php?zone=1&%{QUERY_STRING}
RewriteRule rss2\.xml_([0-9]*)\.php rss2.xml.php?zone=$1
# Article
RewriteRule ^([a-z0-9]*/){0,1}article_cat([0-9]*)\.htm$ $1index.php§ion=article&cat=$2
RewriteRule ^([a-z0-9]*/){0,1}article_([0-9]*)_([0-9]*)\.htm$ $1index.php§ion=article&id=$2&page=$3
RewriteRule ^([a-z0-9]*/){0,1}article_([0-9]*)\.htm$ $1index.php§ion=article&id=$2
# News
RewriteRule ^([a-z0-9]*/){0,1}news_([0-9]*)\.htm$ $1index.php§ion=newsdetail&id=$2
RewriteRule ^([a-z0-9]*/){0,1}newsarchiv_([0-9]*)_([0-9]*)\.htm$ $1index.php§ion=newsarchiv&month=$2&year=$3&mr=true
RewriteRule ^([a-z0-9]*/){0,1}newsarchiv_([0-9]*)_([0-9]*)_([0-9]*)\.htm$ $1index.php§ion=newsarchiv&month=$2&year=$3&page=$4&mr=true
# Galerien
RewriteRule ^([a-z0-9]*/){0,1}gallery_cat([0-9]*)\.htm$ $1index.php§ion=gallery&cat=$2
RewriteRule ^([a-z0-9]*/){0,1}gallery_([0-9]*)\.htm$ $1index.php§ion=gallery&id=$2
RewriteRule ^([a-z0-9]*/){0,1}gallery_pic([0-9]*)\.htm$ $1index.php§ion=gallery&detail=$2
RewriteRule ^([a-z0-9]*/){0,1}timed_pic([0-9]*)\.htm$ $1index.php§ion=timed&detail=$2
# Contests
RewriteRule ^([a-z0-9]*/){0,1}contest_([0-9]*)\.htm$ $1index.php§ion=contest&id=$2
RewriteRule ^([a-z0-9]*/){0,1}contestentries_([0-9]*)_([0-9]*)\.htm$ $1index.php§ion=contestentries&id=$2&page=$3
RewriteRule ^([a-z0-9]*/){0,1}contestentries_([0-9]*)\.htm$ $1index.php§ion=contestentries&id=$2
RewriteRule ^([a-z0-9]*/){0,1}contestentry_([0-9]*)\.htm$ $1index.php§ion=contestentry&id=$2
# Downloads
RewriteRule ^([a-z0-9]*/){0,1}download_folder([0-9]*)\.htm$ $1index.php§ion=download&folder=$2
RewriteRule ^([a-z0-9]*/){0,1}download_([0-9]*)\.htm$ $1index.php§ion=download&id=$2
# Umfragen
RewriteRule ^([a-z0-9]*/){0,1}pollarchiv_([0-9]*)\.htm$ $1index.php§ion=pollarchiv&id=$2
# Shop LT
RewriteRule ^([a-z0-9]*/){0,1}shoplt_cat([0-9]*)\.htm$ $1index.php§ion=shoplt&cat=$2
# Ticker
RewriteRule ^([a-z0-9]*/){0,1}ticker_([0-9]*)\.htm$ $1index.php§ion=ticker&id=$2
# Videos
RewriteRule ^([a-z0-9]*/){0,1}video_cat([0-9]*)\.htm$ $1index.php§ion=video&cat=$2
RewriteRule ^([a-z0-9]*/){0,1}video_([0-9]*)\.htm$ $1index.php§ion=video&id=$2
RewriteRule ^([^/]*/)inc/frogplayer\.swf(.*) inc/frogplayer.swf$2
# Links
RewriteRule ^([a-z0-9]*/){0,1}links_cat([0-9]*)_([0-9]*)\.htm$ $1index.php§ion=links&cat=$2&sub=$3
RewriteRule ^([a-z0-9]*/){0,1}links_cat([0-9]*)\.htm$ $1index.php§ion=links&cat=$2
# Shortcuts
RewriteRule ^([a-z0-9]*/){0,1}([a-zA-Z0-9\-\_]*)\.htm$ $1index.php&go=$2
RewriteCond %{REQUEST_FILENAME} (index\.php)
RewriteRule ^(index\.php){0,1}([^/\?]*)$ index.php?zone=1&$2&%{QUERY_STRING}
# <-- zones -->
# <-- /zones -->