Seite 1 von 1

.htaccess Fehler

Verfasst: 16.11.2005 18:46
von adidas
Hallo,

ich wollte den GSM (Google SiteMaps) auf mein Forum machen, aber wenn ich diesen htaccess Code zu mein htaccess einfüge, bekomme ich eine Fehlermeldung.

Code: Alles auswählen

-----------------------------------
----[ OPEN ]-----------------------
-----------------------------------

.htaccess

-----------------------------------
----[ AT END OF FILE ADD ]---------
-----------------------------------

Options +FollowSymLinks
RewriteEngine On
RewriteRule ^sitemap_index.xml sitemap_index.php [NC]
RewriteRule ^sitemap_forums.xml sitemap_forums.php [NC]
RewriteRule ^sitemap_topics.xml sitemap_topics.php [NC]
RewriteRule ^sitemap_posts.xml sitemap_posts.php [NC]

-----------------------------------
----[ CLOSE & SAVE ]---------------
-----------------------------------
Mein htaccess sieht so aus (also mit dem Code hier geadded):

Code: Alles auswählen

ErrorDocument 500 /forums.html
ErrorDocument 404 /forums.html
ErrorDocument 404 /forums.html
ErrorDocument 402 /fourms.html

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} forums.html
RewriteRule (.*) /index.php [L]

RewriteCond %{REQUEST_FILENAME} viewforum([0-9]*)-([0-9]*)-([0-9]*).html
RewriteRule (.*) /viewforum.php?f=%1&topicdays=%2&start=%3 [L]

RewriteCond %{REQUEST_FILENAME} forum([0-9]*).html
RewriteRule (.*) /viewforum.php?f=%1 [L]

RewriteCond %{REQUEST_FILENAME} ptopic([0-9]*).html
RewriteRule (.*) /viewtopic.php?t=%1&view=previous [L]

RewriteCond %{REQUEST_FILENAME} ntopic([0-9]*).html
RewriteRule (.*) /viewtopic.php?t=%1&view=next [L]

RewriteCond %{REQUEST_FILENAME} ftopic([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).html
RewriteRule (.*) /viewtopic.php?t=%1&postdays=%2&postorder=%3&start=%4 [L]

RewriteCond %{REQUEST_FILENAME} ftopic([0-9]*)-([0-9]*).html
RewriteRule (.*) /viewtopic.php?t=%1&start=%2 [L]

RewriteCond %{REQUEST_FILENAME} ftopic([0-9]*).html
RewriteRule (.*) /viewtopic.php?t=%1 [L]

RewriteCond %{REQUEST_FILENAME} ftopic([0-9]*).html
RewriteRule (.*) /viewtopic.php?t=%1&start=%2&postdays=%3&postorder=%4&highlight=%5 [L]
#Forums
   RewriteRule ^forum-([0-9]*)-([0-9]*)-([0-9]*).* index.php?f=$1&ppage=$2&sort=lastpost&order=DESC&start=$3
   RewriteRule ^forum-([0-9]*)-([0-9]*).* index.php?f=$1&ppage=$2&sort=lastpost&order=DESC
   RewriteRule ^mforum-([0-9]*).* index.php?f=$1&mark=topics
   RewriteRule ^mforums.* index.php?mark=forums
   RewriteRule ^forum-([0-9]*).* index.php?f=$1
   RewriteRule ^forums.* index.php
   RewriteRule ^admin/forums.* admin/index.php
#Topics
    RewriteRule ^topic-([0-9]*)-([0-9]*)-([0-9]*).* viewtopic.php\?t=$1&postdays=$2&postorder=asc&start=$3
    RewriteRule ^poll-([0-9]*)-([0-9]*).* viewtopic.php\?t=$1&postdays=$2&postorder=asc&vote=viewresult
   RewriteRule ^wtopic-([0-9]*).* viewtopic.php?t=$1&watch=topic&postorder=asc
   RewriteRule ^utopic-([0-9]*).* viewtopic.php?t=$1&unwatch=topic&postorder=asc
   RewriteRule ^topic-([0-9]*)-([0-9]*).* viewtopic.php?t=$1&start=$2
   RewriteRule ^uttopic([0-9]*).* viewtopic.php?t=$1&unmark=topic
   RewriteRule ^uptopic([0-9]*).* viewtopic.php?p=$1&unmark=post
   RewriteRule ^newtopic([0-9]*).* viewtopic.php?t=$1&view=newest
   RewriteRule ^ptopic-([0-9]*).* viewtopic.php?t=$1&view=previous
   RewriteRule ^ntopic-([0-9]*).* viewtopic.php?t=$1&view=next
   RewriteRule ^post-([0-9]*).* viewtopic.php?p=$1
   RewriteRule ^topic-([0-9]*).* viewtopic.php?t=$1
Options +FollowSymLinks
RewriteRule ^sitemap_index.xml sitemap_index.php [NC]
RewriteRule ^sitemap_forums.xml sitemap_forums.php [NC]
RewriteRule ^sitemap_topics.xml sitemap_topics.php [NC]
RewriteRule ^sitemap_posts.xml sitemap_posts.php [NC]
Und bekomme dabei diesen Fehler:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@server.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/1.3.26 Server at www.server.de Port 80
Habe den Code auch mal ganz am Anfang eingefügt

und trodzdem kam der gleiche Fehler. Kann mir jemand helfen?

Der MOD ist von hier: http://phpbb-tweaks.com/down_db.html-pa ... ile-id-663

Verfasst: 19.11.2005 00:27
von adidas
kann mir keiner helfen?