MyBB.de Forum

Normale Version: mod_rewrite in Verbindung mit Parametern
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Seiten: 1 2
Ändere
Code:
RewriteRule ^(.*)$ $1.php [NC,NS,QSA]
in
Code:
RewriteRule ^(.*)$ $1.php [L,NC,NS,QSA]
Funktioniert auch weiterhin nicht, immer noch der selbe Fehler.

Ich habe lokal jetzt mal den RewriteLog auf Debug-Level (3) eingeschaltet. Folgendes wird bei einem Aufruf der Seite 127.0.0.1/index erzeugt:
Code:
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22d8128/initial] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index -> index
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22d8128/initial] (3) [perdir E:/root/] applying pattern '^([^/]+)/([0-9]+)$' to uri 'index'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22d8128/initial] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index -> index
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22d8128/initial] (3) [perdir E:/root/] applying pattern '^(.*)$' to uri 'index'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22d8128/initial] (2) [perdir E:/root/] rewrite 'index' -> 'index.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22d8128/initial] (3) [perdir E:/root/] add per-dir prefix: index.php -> E:/root/index.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22d8128/initial] (2) [perdir E:/root/] strip document_root prefix: E:/root/index.php -> /index.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22d8128/initial] (1) [perdir E:/root/] internal redirect with /index.php [INTERNAL REDIRECT]
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#2487338/initial/redir#1] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php -> index.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#2487338/initial/redir#1] (3) [perdir E:/root/] applying pattern '^([^/]+)/([0-9]+)$' to uri 'index.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#2487338/initial/redir#1] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php -> index.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#2487338/initial/redir#1] (3) [perdir E:/root/] applying pattern '^(.*)$' to uri 'index.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#2487338/initial/redir#1] (2) [perdir E:/root/] rewrite 'index.php' -> 'index.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#2487338/initial/redir#1] (3) [perdir E:/root/] add per-dir prefix: index.php.php -> E:/root/index.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#2487338/initial/redir#1] (2) [perdir E:/root/] strip document_root prefix: E:/root/index.php.php -> /index.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#2487338/initial/redir#1] (1) [perdir E:/root/] internal redirect with /index.php.php [INTERNAL REDIRECT]
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#248ea50/initial/redir#2] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php -> index.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#248ea50/initial/redir#2] (3) [perdir E:/root/] applying pattern '^([^/]+)/([0-9]+)$' to uri 'index.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#248ea50/initial/redir#2] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php -> index.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#248ea50/initial/redir#2] (3) [perdir E:/root/] applying pattern '^(.*)$' to uri 'index.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#248ea50/initial/redir#2] (2) [perdir E:/root/] rewrite 'index.php.php' -> 'index.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#248ea50/initial/redir#2] (3) [perdir E:/root/] add per-dir prefix: index.php.php.php -> E:/root/index.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#248ea50/initial/redir#2] (2) [perdir E:/root/] strip document_root prefix: E:/root/index.php.php.php -> /index.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#248ea50/initial/redir#2] (1) [perdir E:/root/] internal redirect with /index.php.php.php [INTERNAL REDIRECT]
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22db8d8/initial/redir#3] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php.php -> index.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22db8d8/initial/redir#3] (3) [perdir E:/root/] applying pattern '^([^/]+)/([0-9]+)$' to uri 'index.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22db8d8/initial/redir#3] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php.php -> index.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22db8d8/initial/redir#3] (3) [perdir E:/root/] applying pattern '^(.*)$' to uri 'index.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22db8d8/initial/redir#3] (2) [perdir E:/root/] rewrite 'index.php.php.php' -> 'index.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22db8d8/initial/redir#3] (3) [perdir E:/root/] add per-dir prefix: index.php.php.php.php -> E:/root/index.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22db8d8/initial/redir#3] (2) [perdir E:/root/] strip document_root prefix: E:/root/index.php.php.php.php -> /index.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22db8d8/initial/redir#3] (1) [perdir E:/root/] internal redirect with /index.php.php.php.php [INTERNAL REDIRECT]
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e32d0/initial/redir#4] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php.php.php -> index.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e32d0/initial/redir#4] (3) [perdir E:/root/] applying pattern '^([^/]+)/([0-9]+)$' to uri 'index.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e32d0/initial/redir#4] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php.php.php -> index.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e32d0/initial/redir#4] (3) [perdir E:/root/] applying pattern '^(.*)$' to uri 'index.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e32d0/initial/redir#4] (2) [perdir E:/root/] rewrite 'index.php.php.php.php' -> 'index.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e32d0/initial/redir#4] (3) [perdir E:/root/] add per-dir prefix: index.php.php.php.php.php -> E:/root/index.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e32d0/initial/redir#4] (2) [perdir E:/root/] strip document_root prefix: E:/root/index.php.php.php.php.php -> /index.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e32d0/initial/redir#4] (1) [perdir E:/root/] internal redirect with /index.php.php.php.php.php [INTERNAL REDIRECT]
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22def60/initial/redir#5] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php.php.php.php -> index.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22def60/initial/redir#5] (3) [perdir E:/root/] applying pattern '^([^/]+)/([0-9]+)$' to uri 'index.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22def60/initial/redir#5] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php.php.php.php -> index.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22def60/initial/redir#5] (3) [perdir E:/root/] applying pattern '^(.*)$' to uri 'index.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22def60/initial/redir#5] (2) [perdir E:/root/] rewrite 'index.php.php.php.php.php' -> 'index.php.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22def60/initial/redir#5] (3) [perdir E:/root/] add per-dir prefix: index.php.php.php.php.php.php -> E:/root/index.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22def60/initial/redir#5] (2) [perdir E:/root/] strip document_root prefix: E:/root/index.php.php.php.php.php.php -> /index.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22def60/initial/redir#5] (1) [perdir E:/root/] internal redirect with /index.php.php.php.php.php.php [INTERNAL REDIRECT]
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22dcc90/initial/redir#6] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php.php.php.php.php -> index.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22dcc90/initial/redir#6] (3) [perdir E:/root/] applying pattern '^([^/]+)/([0-9]+)$' to uri 'index.php.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22dcc90/initial/redir#6] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php.php.php.php.php -> index.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22dcc90/initial/redir#6] (3) [perdir E:/root/] applying pattern '^(.*)$' to uri 'index.php.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22dcc90/initial/redir#6] (2) [perdir E:/root/] rewrite 'index.php.php.php.php.php.php' -> 'index.php.php.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22dcc90/initial/redir#6] (3) [perdir E:/root/] add per-dir prefix: index.php.php.php.php.php.php.php -> E:/root/index.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22dcc90/initial/redir#6] (2) [perdir E:/root/] strip document_root prefix: E:/root/index.php.php.php.php.php.php.php -> /index.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22dcc90/initial/redir#6] (1) [perdir E:/root/] internal redirect with /index.php.php.php.php.php.php.php [INTERNAL REDIRECT]
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e6a50/initial/redir#7] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php.php.php.php.php.php -> index.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e6a50/initial/redir#7] (3) [perdir E:/root/] applying pattern '^([^/]+)/([0-9]+)$' to uri 'index.php.php.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e6a50/initial/redir#7] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php.php.php.php.php.php -> index.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e6a50/initial/redir#7] (3) [perdir E:/root/] applying pattern '^(.*)$' to uri 'index.php.php.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e6a50/initial/redir#7] (2) [perdir E:/root/] rewrite 'index.php.php.php.php.php.php.php' -> 'index.php.php.php.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e6a50/initial/redir#7] (3) [perdir E:/root/] add per-dir prefix: index.php.php.php.php.php.php.php.php -> E:/root/index.php.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e6a50/initial/redir#7] (2) [perdir E:/root/] strip document_root prefix: E:/root/index.php.php.php.php.php.php.php.php -> /index.php.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e6a50/initial/redir#7] (1) [perdir E:/root/] internal redirect with /index.php.php.php.php.php.php.php.php [INTERNAL REDIRECT]
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e4930/initial/redir#8] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php.php.php.php.php.php.php -> index.php.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e4930/initial/redir#8] (3) [perdir E:/root/] applying pattern '^([^/]+)/([0-9]+)$' to uri 'index.php.php.php.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e4930/initial/redir#8] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php.php.php.php.php.php.php -> index.php.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e4930/initial/redir#8] (3) [perdir E:/root/] applying pattern '^(.*)$' to uri 'index.php.php.php.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e4930/initial/redir#8] (2) [perdir E:/root/] rewrite 'index.php.php.php.php.php.php.php.php' -> 'index.php.php.php.php.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e4930/initial/redir#8] (3) [perdir E:/root/] add per-dir prefix: index.php.php.php.php.php.php.php.php.php -> E:/root/index.php.php.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e4930/initial/redir#8] (2) [perdir E:/root/] strip document_root prefix: E:/root/index.php.php.php.php.php.php.php.php.php -> /index.php.php.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e4930/initial/redir#8] (1) [perdir E:/root/] internal redirect with /index.php.php.php.php.php.php.php.php.php [INTERNAL REDIRECT]
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e07e0/initial/redir#9] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php.php.php.php.php.php.php.php -> index.php.php.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e07e0/initial/redir#9] (3) [perdir E:/root/] applying pattern '^([^/]+)/([0-9]+)$' to uri 'index.php.php.php.php.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e07e0/initial/redir#9] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php.php.php.php.php.php.php.php -> index.php.php.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e07e0/initial/redir#9] (3) [perdir E:/root/] applying pattern '^(.*)$' to uri 'index.php.php.php.php.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e07e0/initial/redir#9] (2) [perdir E:/root/] rewrite 'index.php.php.php.php.php.php.php.php.php' -> 'index.php.php.php.php.php.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e07e0/initial/redir#9] (3) [perdir E:/root/] add per-dir prefix: index.php.php.php.php.php.php.php.php.php.php -> E:/root/index.php.php.php.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e07e0/initial/redir#9] (2) [perdir E:/root/] strip document_root prefix: E:/root/index.php.php.php.php.php.php.php.php.php.php -> /index.php.php.php.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e07e0/initial/redir#9] (1) [perdir E:/root/] internal redirect with /index.php.php.php.php.php.php.php.php.php.php [INTERNAL REDIRECT]
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e8848/initial/redir#10] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php.php.php.php.php.php.php.php.php -> index.php.php.php.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e8848/initial/redir#10] (3) [perdir E:/root/] applying pattern '^([^/]+)/([0-9]+)$' to uri 'index.php.php.php.php.php.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e8848/initial/redir#10] (3) [perdir E:/root/] strip per-dir prefix: E:/root/index.php.php.php.php.php.php.php.php.php.php -> index.php.php.php.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e8848/initial/redir#10] (3) [perdir E:/root/] applying pattern '^(.*)$' to uri 'index.php.php.php.php.php.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e8848/initial/redir#10] (2) [perdir E:/root/] rewrite 'index.php.php.php.php.php.php.php.php.php.php' -> 'index.php.php.php.php.php.php.php.php.php.php.php'
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e8848/initial/redir#10] (3) [perdir E:/root/] add per-dir prefix: index.php.php.php.php.php.php.php.php.php.php.php -> E:/root/index.php.php.php.php.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e8848/initial/redir#10] (2) [perdir E:/root/] strip document_root prefix: E:/root/index.php.php.php.php.php.php.php.php.php.php.php -> /index.php.php.php.php.php.php.php.php.php.php.php
127.0.0.1 - - [08/Oct/2014:11:42:22 +0200] [127.0.0.1/sid#343148][rid#22e8848/initial/redir#10] (1) [perdir E:/root/] internal redirect with /index.php.php.php.php.php.php.php.php.php.php.php [INTERNAL REDIRECT]

Es werden wohl unzählige .php's angehängt.
Seiten: 1 2