Code: Alles auswählen
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} /phpbb/forums.html
RewriteRule (.*) /phpbb/index.php [L]
RewriteCond %{REQUEST_FILENAME} /phpbb/viewforum([0-9]*)-([0-9]*)-([0-9]*).html
RewriteRule (.*) /phpbb/viewforum.php?f=%1&topicdays=%2&start=%3 [L]
RewriteCond %{REQUEST_FILENAME} /phpbb/forum([0-9]*).html
RewriteRule (.*) /phpbb/viewforum.php?f=%1 [L]
RewriteCond %{REQUEST_FILENAME} /phpbb/ptopic([0-9]*).html
RewriteRule (.*) /phpbb/viewtopic.php?t=%1&view=previous [L]
RewriteCond %{REQUEST_FILENAME} /phpbb/ntopic([0-9]*).html
RewriteRule (.*) /phpbb/viewtopic.php?t=%1&view=next [L]
RewriteCond %{REQUEST_FILENAME} /phpbb/ftopic([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).html
RewriteRule (.*) /phpbb/viewtopic.php?t=%1&postdays=%2&postorder=%3&start=%4 [L]
RewriteCond %{REQUEST_FILENAME} /phpbb/ftopic([0-9]*)-([0-9]*).html
RewriteRule (.*) /phpbb/viewtopic.php?t=%1&start=%2 [L]
RewriteCond %{REQUEST_FILENAME} /phpbb/ftopic([0-9]*).html
RewriteRule (.*) /phpbb/viewtopic.php?t=%1 [L]
RewriteCond %{REQUEST_FILENAME} /phpbb/ftopic([0-9]*).html
RewriteRule (.*) /phpbb/viewtopic.php?t=%1&start=%2&postdays=%3&postorder=%4&highlight=%5 [L]
Code: Alles auswählen
RewriteEngine On
# prevent access from santy webworm
RewriteCond %{QUERY_STRING} ^(.*)highlight=\%2527 [OR]
RewriteCond %{QUERY_STRING} ^(.*)rush=\%65\%63\%68 [OR]
RewriteCond %{QUERY_STRING} ^(.*)rush=echo [OR]
RewriteCond %{QUERY_STRING} ^(.*)wget\%20
RewriteRule ^.*$ http://127.0.0.1/ [R,L]
# prevent pre php 4.3.10 bug
RewriteCond %{HTTP_COOKIE}% s:(.*):\%22test1\%22\%3b
RewriteRule ^.*$ http://127.0.0.1/ [R,L]
# prevent perl user agent (most often used by santy)
RewriteCond %{HTTP_USER_AGENT} ^lwp.* [NC]
RewriteRule ^.*$ http://127.0.0.1/ [R,L]
Bitte um einen Tipp!
Vielen Dank und l.g.
maxl
(Board: 2.0.11 - PHP-Version derzeit: 4.3.10 und ab 2005: 5.0.x)