ErrorDocument 400 /error.php?400
ErrorDocument 401 /error.php?401
ErrorDocument 403 /error.php?403
ErrorDocument 404 /error.php?404
ErrorDocument 500 /error.php?500

#***************************************************
# $Teil    : mod_rewrite $
# $Hinweis : mod_rewrite muß vom Server unterstützt werden! $
# $Author  : MarcoA/eMmA http://www.nags.de, http://www.kirmestreffen.de
# $Date    : 2005/07/14 01:45:00 $
#***************************************************
<IfModule mod_rewrite.c>
#falls nicht funktioniert, dann die nächste Zeile wieder einkommentieren!!!
#Options +FollowSymLinks

RewriteEngine on
# Depends on your configuration, you must set RewrteBase to
# switch on Mod_rewrite. See for this the online docs:
# http://httpd.apache.org/docs/mod/mod_rewrite.html
#
#falls nicht funktioniert, dann die nächste Zeile wieder einkommentieren, vorher allerdings den Pfad anpassen!!!
# RewriteBase /www


# individuelle Rewrite-Regeln:
RewriteRule ^home\.htm(l?) index.php [L]
RewriteRule ^index\.htm(l?) index.php [L]
RewriteRule ^backend\.htm(l?)|rss\.xml backend.php [L]


# Your_Account Modul:
RewriteRule ^register-me\.htm(l?) modules.php?name=User_Registration [L]
RewriteRule (^myaccount|^log-me-in|^user)\.htm(l?) modules.php?name=Your_Account [L]
RewriteRule ^log-me-out\.htm(l?) modules.php?name=Your_Account&op=logout [L]
RewriteRule ^mydata\.htm(l?) modules.php?name=Your_Account&op=edituser [L]
RewriteRule ^mysettings\.htm(l?) modules.php?name=Your_Account&op=edithome [L]


# News and Articles:
RewriteRule ^article-([0-9]*)-([a-z]*)-([0-9]*)-([0-9]*)\.htm(l?) modules.php?name=News&file=article&sid=$1&mode=$2&order=$3&thold=$4 [L]
RewriteRule ^article-([0-9-]*)-([a-z]*)-([0-9]*)-([0-9]*)\.htm(l?)([0-9#]*) modules.php?name=News&file=article&thold=$1&mode=$2&order=$3&sid=$4$5 [L]
RewriteRule ^article-topic([0-9]*)-page([0-9]*)\.htm(l?) modules.php?name=News&new_topic=$1&pagenum=$2 [L]
RewriteRule ^article-category([0-9]*)-page([0-9]*)\.htm(l?) modules.php?name=News&file=categories&op=newindex&catid=$1&pagenum=$2 [L]
RewriteRule ^article-category-([0-9]*)\.htm(l?) modules.php?name=News&file=categories&op=newindex&catid=$1 [L]
RewriteRule ^article-print-([0-9]*)\.htm(l?) modules.php?name=News&file=print&sid=$1 [L]
RewriteRule ^article-friend-([0-9]*)\.htm(l?) modules.php?name=News&file=friend&op=FriendSend&sid=$1 [L]
RewriteRule ^article-page-([0-9]*)\.htm(l?) modules.php?name=News&pagenum=$1 [L]
RewriteRule ^article([1-9][0-9]*)\.* modules.php?name=News&file=article&sid=$1 [L]
RewriteRule ^article-topic-([0-9]*)\.htm(l?) modules.php?name=News&new_topic=$1 [L]
RewriteRule ^allnews\.htm(l?) modules.php?name=News&file=allindex [L]
RewriteRule ^allenews\.htm(l?) modules.php?name=News&file=allindex [L]
RewriteRule ^news\.htm(l?) modules.php?name=News [L]
RewriteRule ^neues\.htm(l?) modules.php?name=News [L]


# eBoard:
#RewriteRule ^forum-([0-9]*)\.htm(l?) modules.php?name=eBoard&file=forumdisplay&fid=$1 [L]
#RewriteRule ^forum-thread-([0-9]*)\.htm(l?) modules.php?name=eBoard&file=viewthread&tid=$1 [L]
#RewriteRule ^forum-thread-([0-9]*)-([0-9]*)-([A-Z]*)\.htm(l?) modules.php?name=eBoard&file=viewthread&tid=$1&page=$2&orderdate=$3 [L]
#RewriteRule ^forum-today\.htm(l?) modules.php?name=eBoard&file=messotd [L]
#RewriteRule ^forum-news\.htm(l?) modules.php?name=eBoard&file=messslv [L]
#RewriteRule ^forum-search\.htm(l?) modules.php?name=eBoard&file=search [L]
#RewriteRule ^forum-stats\.htm(l?) modules.php?name=eBoard&file=stats [L]
#RewriteRule ^forum-faq\.htm(l?) modules.php?name=eBoard&file=misc&action=faq [L]
#RewriteRule ^forumcat-([0-9]*)\.htm(l?) modules.php?name=eBoard&gid=$1 [L]
#RewriteRule ^(forum|eBoard)\.htm(l?) modules.php?name=eBoard [L]


# SMF Try No. 1
#RewriteRule ^forum\.htm(l?) modules.php?name=Forum [L]
#RewriteRule ^forumcat-([0-9.]*)\.htm(l?) modules.php?name=Forum&board=$1 [L]
#RewriteRule ^forum-action-do_([a-zA_Z]+)\.htm(l?) modules.php?name=Forum&action=$1 [L]
#RewriteRule ^forum-profil-([0-9]*)\.htm(l?) modules.php?name=Forum&action=profile;u=$1 [L]
#RewriteRule ^forum-replies\.htm(l?) modules.php?name=Forum&action=unreadreplies [L]
#RewriteRule ^forum-markallasread\.htm(l?) modules.php?name=Forum&action=markasread;sa=all [L]
#RewriteRule ^forum-pm-([0-9]*)\.htm(l?) modules.php?name=Forum&action=pm;sa=send;u=$1 [L]
#RewriteRule ^forum-topic-([0-9.]*)\.htm(l?) modules.php?name=Forum&topic=$1 [L]
#RewriteRule ^forum-topic([0-9.]*)-(prev)\.htm(l?) modules.php?name=Forum&topic=$1;prev_next=$2 [L]
#RewriteRule ^forum-topic([0-9.]*)-(next)\.htm(l?) modules.php?name=Forum&topic=$1;prev_next=$2 [L]
#RewriteRule ^forum-profile-([0-9]*)-do_([a-zA-Z]+)\.htm(l?) modules.php?name=Forum&action=profile;u=$1;sa=$2 [L]


# URL's automatisch generieren fuer alles was ueber die modules.php laeuft
# die Variable $prepareauto muss in der modrewrite.php auf TRUE stehen!
# diese Regeln nicht verändern!!!

#RewriteRule ^([^-]+)-(.+)\.htm(l?)(.*)$ modules.php?name=$1&________________________$2$3 [L]


#RewriteRule ^([^-]+)-([^/]+)\.htm(l?)$ mod.php?name=$1&________________________$2 [L]
RewriteRule ^([^-]+)-([^/]+)\.htm(l?)$ mod.php?$1&________________________$2 [L]
#RewriteRule ^([^-/]+)\.htm(l?)$ mod.php?name=$1 [L]
RewriteRule ^([^-/]+)\.htm(l?)$ mod.php?$1 [L]
#RewriteRule ^([^-/]+)\.htm(l?)$ mod.php?name=$1 [L]
RewriteRule ^([^-/]+)\.htm(l?)$ mod.php?$1 [L]

</IfModule>






#***************************************************
# $Teil    : ausgabe komprimieren, $
# $Hinweis : funktioniert nur wenn zlib installiert und php nicht im CGI-Modul laeuft!!! $
# $Author  : MarcoA/eMmA http://www.nags.de, http://www.kirmestreffen.de
# $Date    : 2005/06/16 01:45:00 $
#***************************************************
#php_flag zlib.output_compression on
#php_value zlib.output_compression_level 6

Order Deny,Allow
Deny from 66.249.72.7
Deny from 74.6.74.206
Deny from 74.6.26.233
