Hallo zusammen!
Ich verwende als Webserver den lighttpd.
Ich habe versucht die Shopstat SEO-URLs unter lighttpd zum laufen zu bekommen. Leider ist noch ein nicht akzeptabler Bug vorhanden.
Es funktionieren keine Links die eine Sess-Id haben (http://www.domain.de/kat/product::1234.html?XTCsid=irgendwas). Wenn man diese Links anklickt kommt die Fehlermeldung "404 Nicht gefunden".
Hat jemand eine Idee woran es liegen könnte?
Hier meine Anpassung:
Originaler Apache .htaccess Code
RewriteEngine on
#-- Sitemap
RewriteRule ^sitemap(.*)\.html$ /shop_content.php?coID=8 [qsappend,L]
##-- Kategorien
RewriteCond %{REQUEST_URI} (.*)::[_0-9]+)[_0-9]+)\.html$
RewriteRule (.*)::[_0-9]+)[_0-9]+)\.html$ /index.php?cPath=$2&page=$3 [qsappend,L]
RewriteCond %{REQUEST_URI} (.*)::[_0-9]+)\.html$
RewriteRule (.*)::[_0-9]+)\.html$ /index.php?cPath=$2 [qsappend,L]
##-- Produkte
RewriteRule (.*):.+)\.html$ /product_info.php?products_id=$2 [qsappend,L]
##-- Content
RewriteRule (.*):_[0-9]+)\.html$ /shop_content.php?coID=$2 [qsappend,L]
##-- Manufacturers
RewriteCond %{REQUEST_URI} (.*):.[_0-9]+)[_0-9]+)\.html$
RewriteRule (.*):.[_0-9]+)[_0-9]+)\.html$ /index.php?manufacturers_id=$2&page=$3 [qsappend,L]
RewriteCond %{REQUEST_URI} (.*):.[_0-9]+)\.html$
RewriteRule (.*):.[0-9]+)\.html$ /index.php?manufacturers_id=$2 [qsappend,L][/code]
Meine lighttpd Konvertierung http://trac.lighttpd.net/trac/wiki/Docs:ModRewrite
[code]url.rewrite-repeat = (
# Sitemap
"^/sitemap(.*)\.html$" => "/shop_content.php?coID=8",
# Kategorien
"(.*)::[_0-9]+)[_0-9]+)\.html$" => "/index.php?cPath=$2&page=$3",
"(.*)::[_0-9]+)\.html$" => "/index.php?cPath=$2",
# Produkte
"(.*):.+)\.html$" => "/product_info.php?products_id=$2",
# Content
"(.*):_[0-9]+)\.html$" => "/shop_content.php?coID=$2",
# Manufacturers
"(.*):.[_0-9]+)[_0-9]+)\.html$" => "/index.php?manufacturers_id=$2&page=$3",
"(.*):.[0-9]+)\.html$" => "/index.php?manufacturers_id=$2"
)}
Wie gesagt, die normalen Urls ohne "?" funktionieren! Nur eben keine mit "?"
Gruß
Frank