PDA

Shop Support News Archive - Shopbetreiber News -> Forum : Suchmaschinenfreundliche Url Funktionerien Nicht Mehr


wunschtacho
10.09.2007, 09:11
Hallo,

haben gerade ein Update vom Hosting Paket auf 1&1 Managed-Server hinter uns. Seit kurzem werden die SuMa-Links nicht mehr rnichtig interpretiert (als wäre die .htaccess gar nicht da).

Funzt nicht mehr:
http://www.onlineshop.wunschtacho.de/index.../c112_Audi.html (http://anonym.to/?http://www.onlineshop.wunschtacho.de/index.php/cat/c112_Audi.html)

Ohne:
http://www.onlineshop.wunschtacho.de/index...=c112_Audi.html (http://anonym.to/?http://www.onlineshop.wunschtacho.de/index.php?cat=c112_Audi.html)

Bei meiner TYPO3 Installation gibt es mit der htaccess keine Probleme - was könnte das sein???

htaccess:

<IfModule mod_setenvif.c>
<IfDefine SSL>
SetEnvIf User-Agent ". MSIE. " \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfDefine>
</IfModule>

<IfModule mod_php4.c>
php_value session.use_trans_sid 0
php_value register_globals 1
</IfModule>

# http://httpd.apache.org/docs/misc/rewriteguide.html
RewriteEngine on

#-- Sitemap
RewriteRule ^istemap(. )\.html$ /xt/shop_content.php?coID=8 [qsappend,L]

##-- Kategorien
RewriteCond %{REQUEST_URI} (. ):::([_0-9]+):([_0-9]+)\.html$
RewriteRule (. ):::([_0-9]+):([_0-9]+)\.html$ /xt/index.php?cPath=$2&page=$3 [qsappend,L]
RewriteCond %{REQUEST_URI} (. ):::([_0-9]+)\.html$
RewriteRule (. ):::([_0-9]+)\.html$ /xt/index.php?cPath=$2 [qsappend,L]

##-- Produkte
RewriteRule (. )::(.+)\.html$ /xt/product_info.php?products_id=$2 [qsappend,L]

##-- Content
RewriteRule (. ):_:([0-9]+)\.html$ /xt/shop_content.php?coID=$2 [qsappend,L]

##-- Manufacturers
RewriteCond %{REQUEST_URI} (. ):.:([_0-9]+):([_0-9]+)\.html$
RewriteRule (. ):.:([_0-9]+):([_0-9]+)\.html$ /xt/index.php?manufacturers_id=$2&page=$3 [qsappend,L]
RewriteCond %{REQUEST_URI} (. ):.:([_0-9]+)\.html$
RewriteRule (. ):.:([0-9]+)\.html$ /xt/index.php?manufacturers_id=$2 [qsappend,L]

##-- Fehlerseiten auf die Sitemap lotsen
ErrorDocument 400 /xt/istemap.html?error=400
ErrorDocument 401 /xt/istemap.html?error=401
ErrorDocument 402 /xt/istemap.html?error=402
ErrorDocument 403 /xt/istemap.html?error=403
ErrorDocument 404 /xt/istemap.html?error=404
ErrorDocument 500 /xt/istemap.html?error=500

FrankyGER
10.09.2007, 09:48
Warum alles in Ordner /xt/ umgeleitet?
Ich seh gar keinen Ordner xt.

Gruß, Frank

wunschtacho
10.09.2007, 09:58
''>ZITAT(FrankyGER @ Sep 10 2007, 9:48) 32795
Warum alles in Ordner /xt/ umgeleitet?
Ich seh gar keinen Ordner xt.

Gruß, Frank
[/b]


stimmt - da ist auch kein xt ordner!

hat aber leider nichts geholfen:


<IfModule mod_setenvif.c>
<IfDefine SSL>
SetEnvIf User-Agent ". MSIE. " \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfDefine>
</IfModule>

# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)
<IfModule mod_php4.c>
php_value session.use_trans_sid 0
php_value register_globals 1
</IfModule>

#-- Call time pass reference error ?!
#php_flag allow_call_time_pass_reference On


#-----------------------------------------
#- SEO (Search Engine Optimizion - Suchmaschinenoptimierung ) seo Hartmut König
#-----------------------------------------
#-- ! Comment this line, if you get an ERROR 500 !
#Options +FollowSymlinks

# http://httpd.apache.org/docs/misc/rewriteguide.html
RewriteEngine on

#-- Sitemap
RewriteRule ^istemap(. )\.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]

##-- Fehlerseiten auf die Sitemap lotsen
ErrorDocument 400 /xt/istemap.html?error=400
ErrorDocument 401 /xt/istemap.html?error=401
ErrorDocument 402 /xt/istemap.html?error=402
ErrorDocument 403 /xt/istemap.html?error=403
ErrorDocument 404 /xt/istemap.html?error=404
ErrorDocument 500 /xt/istemap.html?error=500

wunschtacho
10.09.2007, 10:27
Irgendwie konnte das eigentlich noch nie funktionieren, wenn ich mir die htaccess so anschaue - hat es aber!?

FrankyGER
10.09.2007, 10:42
Die Umschreibung funktioniert aber:
http://www.onlineshop.wunschtacho.de/blabla::140.html (http://anonym.to/?http://www.onlineshop.wunschtacho.de/blabla::140.html)
ändere mal nur die hintere Artikelnummer. Es klappt.

Also liegt Dein Fehler nicht in der htaccess, sondern in der shopstat Installation.

Gruß, Frank

PS: xt noch aus dem error doc rausnehmen

wunschtacho
10.09.2007, 13:09
ok, der Fehler liegt wohl nicht an der htaccess, sondern an der application_top.php

wunschtacho
10.09.2007, 13:42
Hier die (einfache) Lösung, für alle mit gleichem Problem:
http://www.exanto.de/xtcommerce-mit-php-als-fast-cgi.html (http://anonym.to/?http://www.exanto.de/xtcommerce-mit-php-als-fast-cgi.html)