11
Jetzt habe ich die htaccess um die Rewrites erweitert. Zunächst ging es, aber jetzt auf einmal (nach Einfügung des unteren Rewrite-Bereichs) bekomme ich bei jeder alten URL immer nur 500 Internal Server Error ausgeworfen :(
Woran kann das liegen?
Das sind meine ganzen Rewrites:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{QUERY_STRING} cd=([0-9]+)
RewriteRule ^html/cd_infos(_oben|_unten)?(_eng)?\.php$ http://www.testdomain.de/catalogsearch/result/?q=%1 [R=301,L]301,L]
RewriteCond %{QUERY_STRING} coID=10
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/abc [R=301,L]
RewriteCond %{QUERY_STRING} coID=15
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/cde [R=301,L]
RewriteCond %{QUERY_STRING} coID=16
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/fgh [R=301,L]
RewriteCond %{QUERY_STRING} coID=22
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/ijk [R=301,L]
RewriteCond %{QUERY_STRING} coID=24
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/lmn [R=301,L]
RewriteCond %{QUERY_STRING} coID=25
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/opq [R=301,L]
RewriteCond %{QUERY_STRING} coID=28
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/rst [R=301,L]
RewriteCond %{QUERY_STRING} coID=34
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/uvw/ [R=301,L]
RewriteCond %{QUERY_STRING} coID=36
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/xyz [R=301,L]
RewriteCond %{QUERY_STRING} coID=40
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/rew [R=301,L]
RewriteCond %{QUERY_STRING} coID=42
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/htz [R=301,L]
RewriteCond %{QUERY_STRING} coID=3
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/oht [R=301,L]
RewriteCond %{QUERY_STRING} coID=4
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/hjgff [R=301,L]
RewriteCond %{QUERY_STRING} coID=7
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/ghd [R=301,L]
RewriteCond %{QUERY_STRING} coID=8
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/jkgf [R=301,L]
RewriteCond %{QUERY_STRING} coID=9
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/jkgf [R=301,L]
RewriteCond %{QUERY_STRING} cPath=
RewriteRule ^shop/index\.php$ http://www.testdomain.de/hgdo [R=301,L]
RewriteRule ^shop/product_info\.php$ - [G]
RewriteRule ^shop/advanced_search_result\.php$ - [G]
RewriteRule ^shop/popup_image\.php$ - [G]
RewriteRule ^shop/logoff\.php$ - [G]
RewriteRule ^shop/account\.php$ - [G]
RewriteRule ^shop/shopping_cart\.php$ - [G]
RewriteRule ^shop/checkout_shipping\.php$ - [G]
RewriteEngine Off
Woran kann das liegen?
Das sind meine ganzen Rewrites:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{QUERY_STRING} cd=([0-9]+)
RewriteRule ^html/cd_infos(_oben|_unten)?(_eng)?\.php$ http://www.testdomain.de/catalogsearch/result/?q=%1 [R=301,L]301,L]
RewriteCond %{QUERY_STRING} coID=10
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/abc [R=301,L]
RewriteCond %{QUERY_STRING} coID=15
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/cde [R=301,L]
RewriteCond %{QUERY_STRING} coID=16
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/fgh [R=301,L]
RewriteCond %{QUERY_STRING} coID=22
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/ijk [R=301,L]
RewriteCond %{QUERY_STRING} coID=24
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/lmn [R=301,L]
RewriteCond %{QUERY_STRING} coID=25
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/opq [R=301,L]
RewriteCond %{QUERY_STRING} coID=28
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/rst [R=301,L]
RewriteCond %{QUERY_STRING} coID=34
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/uvw/ [R=301,L]
RewriteCond %{QUERY_STRING} coID=36
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/xyz [R=301,L]
RewriteCond %{QUERY_STRING} coID=40
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/rew [R=301,L]
RewriteCond %{QUERY_STRING} coID=42
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/htz [R=301,L]
RewriteCond %{QUERY_STRING} coID=3
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/oht [R=301,L]
RewriteCond %{QUERY_STRING} coID=4
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/hjgff [R=301,L]
RewriteCond %{QUERY_STRING} coID=7
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/ghd [R=301,L]
RewriteCond %{QUERY_STRING} coID=8
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/jkgf [R=301,L]
RewriteCond %{QUERY_STRING} coID=9
RewriteRule ^shop/shop_content\.php$ http://www.testdomain.de/jkgf [R=301,L]
RewriteCond %{QUERY_STRING} cPath=
RewriteRule ^shop/index\.php$ http://www.testdomain.de/hgdo [R=301,L]
RewriteRule ^shop/product_info\.php$ - [G]
RewriteRule ^shop/advanced_search_result\.php$ - [G]
RewriteRule ^shop/popup_image\.php$ - [G]
RewriteRule ^shop/logoff\.php$ - [G]
RewriteRule ^shop/account\.php$ - [G]
RewriteRule ^shop/shopping_cart\.php$ - [G]
RewriteRule ^shop/checkout_shipping\.php$ - [G]
RewriteEngine Off