Forum

Problem mit Mod_rewrite --> Sitemap wird stets angezeigt

 
Neuen Beitrag schreiben   Auf Beitrag antworten    ShopStat Foren-Übersicht // xt:Commerce
Vorheriges Thema anzeigen :: Nächstes Thema anzeigen  
Autor Nachricht
jpx10
Gast





BeitragVerfasst am: 07.09.2006 12:14    Titel: Problem mit Mod_rewrite --> Sitemap wird stets angezeigt
Hallo

Ich habe in meinem xtc 3.0.4SP2.1 die SuMa freundlichen URL's installiert. Leider habe ich seit dem Probleme beim Ausführen von Scripts welche man direkt aufruft.

Ein Beispiel:
Ich habe ein Script in mein Root gelegt, welches ich zum Ausführen direkt ansprechen möchte. Wähle ich in meinem Browser nun http://www.meineseite.com/script.php erhalte ich stets die Sitemap angezeigt. Ich bin mir fast sicher es liegt an der .htaccess und mode_rewrite.
Was kann ich in der .htaccess ändern damit ich Scripts (auch in Unterordnern) ausführen kann?

Wäre für jede Hilfe sehr dankbar

Gruss
jpx10
Nach oben
admin
Site Admin
Site Admin


Anmeldungsdatum: 13.10.2005
Beiträge: 258

BeitragVerfasst am: 07.09.2006 12:56    Titel:
Hallo jpx10,

bitte mal die letzten Zeilen der .htaccess-Datei:

Code:

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


auskommentieren:
Code:
##-- Fehlerseiten auf die Sitemap lotsen
#ErrorDocument 400 /sitemap.html?error=400
#ErrorDocument 401 /sitemap.html?error=401
#ErrorDocument 402 /sitemap.html?error=402
#ErrorDocument 403 /sitemap.html?error=403
#ErrorDocument 404 /sitemap.html?error=404
#ErrorDocument 500 /sitemap.html?error=500


und anschliessend nochmal das Script ausführen. Welche Fehlermeldung wird dann angezeigt ?

Grüsse
_________________
Hartmut König

www.shopstat.com
ShopStat | Shopstatistik,Web-Controlling,User-Tracking
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen
Gast






BeitragVerfasst am: 08.09.2006 09:41    Titel:
Hallo Harmut

Dabei erhalte ich die folgende Fehlermeldung:

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

Please contact the server administrator, webmaster@em-shop-schweiz.ch 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.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at www.em-shop-schweiz.ch Port 80


Beste Grüsse
Patrik
Nach oben
Gast






BeitragVerfasst am: 08.09.2006 10:49    Titel:
Hier noch meine server error log. Da scheint ja allesmögliche nicht richtig zu funktionieren. Hast du eine Ahnung an was das liegen könnte?

Code:
[Fri Sep  8 10:44:22 2006] [error] [client 89.217.23.226] File does not exist: /home/emshopc/public_html/500.shtml
[Fri Sep  8 10:44:22 2006] [error] [client 89.217.23.226] Premature end of script headers: /home/emshopc/public_html/upnewsletter/update_newsletter.php
[Fri Sep  8 10:43:56 2006] [error] [client 89.217.23.226] File does not exist: /home/emshopc/public_html/403.shtml
[Fri Sep  8 10:43:56 2006] [error] [client 89.217.23.226] Directory index forbidden by rule: /home/emshopc/public_html/upnewsletter/
[Fri Sep  8 09:58:31 2006] [error] [client 89.217.23.226] File does not exist: /home/emshopc/public_html/403.shtml
[Fri Sep  8 09:58:31 2006] [error] [client 89.217.23.226] Directory index forbidden by rule: /home/emshopc/public_html/upnewsletter/
PHP Fatal error:  Cannot redeclare class gradient in /home/emshopc/public_html/robotstats/jpgraph/jpgraph_gradient.php on line 20
PHP Fatal error:  Cannot redeclare class gradient in /home/emshopc/public_html/robotstats/jpgraph/jpgraph_gradient.php on line 20
PHP Fatal error:  Cannot redeclare class gradient in /home/emshopc/public_html/robotstats/jpgraph/jpgraph_gradient.php on line 20
PHP Fatal error:  Cannot redeclare class gradient in /home/emshopc/public_html/robotstats/jpgraph/jpgraph_gradient.php on line 20
PHP Fatal error:  Cannot redeclare class gradient in /home/emshopc/public_html/robotstats/jpgraph/jpgraph_gradient.php on line 20
PHP Warning:  main(): Failed opening '/jpgraph/jpgraph_gradient.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/emshopc/public_html/robotstats/graph_robots.php on line 16
PHP Warning:  main(/jpgraph/jpgraph_gradient.php): failed to open stream: No such file or directory in /home/emshopc/public_html/robotstats/graph_robots.php on line 16
PHP Warning:  main(/jpgraph/jpgraph_gradient.php): failed to open stream: No such file or directory in /home/emshopc/public_html/robotstats/graph_robots.php on line 16
PHP Warning:  main(): Failed opening '/jpgraph/jpgraph_gradient.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/emshopc/public_html/robotstats/graph_robots.php on line 16
PHP Warning:  main(/jpgraph/jpgraph_gradient.php): failed to open stream: No such file or directory in /home/emshopc/public_html/robotstats/graph_robots.php on line 16
PHP Warning:  main(/jpgraph/jpgraph_gradient.php): failed to open stream: No such file or directory in /home/emshopc/public_html/robotstats/graph_robots.php on line 16
PHP Warning:  main(): Failed opening '/jpgraph/jpgraph_gradient.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/emshopc/public_html/robotstats/graph_robots.php on line 16
PHP Warning:  main(/jpgraph/jpgraph_gradient.php): failed to open stream: No such file or directory in /home/emshopc/public_html/robotstats/graph_robots.php on line 16
PHP Warning:  main(/jpgraph/jpgraph_gradient.php): failed to open stream: No such file or directory in /home/emshopc/public_html/robotstats/graph_robots.php on line 16
PHP Warning:  main(): Failed opening '/jpgraph/jpgraph_gradient.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/emshopc/public_html/robotstats/graph_robots.php on line 16
PHP Warning:  main(/jpgraph/jpgraph_gradient.php): failed to open stream: No such file or directory in /home/emshopc/public_html/robotstats/graph_robots.php on line 16
PHP Warning:  main(/jpgraph/jpgraph_gradient.php): failed to open stream: No such file or directory in /home/emshopc/public_html/robotstats/graph_robots.php on line 16
[Fri Sep  8 09:52:10 2006] [error] [client 194.230.161.146] File does not exist: /home/emshopc/public_html/404.shtml
[Fri Sep  8 09:52:10 2006] [error] [client 194.230.161.146] File does not exist: /home/emshopc/public_html/ONLINE-SHOP/EM-getraenke
[Fri Sep  8 09:38:38 2006] [error] [client 89.217.23.226] File does not exist: /home/emshopc/public_html/500.shtml
[Fri Sep  8 09:38:38 2006] [error] [client 89.217.23.226] Premature end of script headers: /home/emshopc/public_html/update_newsletter/update_newsletter.php
[Fri Sep  8 09:37:18 2006] [error] [client 89.217.23.226] File does not exist: /home/emshopc/public_html/500.shtml
[Fri Sep  8 09:37:18 2006] [error] [client 89.217.23.226] Premature end of script headers: /home/emshopc/public_html/update_newsletter/update_newsletter.php
[Fri Sep  8 09:36:59 2006] [error] [client 89.217.23.226] File does not exist: /home/emshopc/public_html/404.shtml
[Fri Sep  8 09:36:59 2006] [error] [client 89.217.23.226] script not found or unable to stat: /home/emshopc/public_html/update_newsletter.php
PHP Warning:  next(): Passed variable is not an array or object in /home/emshopc/public_html/inc/xtc_db_fetch_array.inc.php on line 29
PHP Warning:  current(): Passed variable is not an array or object in /home/emshopc/public_html/inc/xtc_db_fetch_array.inc.php on line 28
PHP Warning:  implode(): Bad arguments. in /home/emshopc/public_html/inc/xtc_db_queryCached.inc.php on line 63
PHP Warning:  file(/home/emshopc/public_html/cache/40a548b55e5f79a3f6b131a57f5e892d.xtc): failed to open stream: No such file or directory in /home/emshopc/public_html/inc/xtc_db_queryCached.inc.php on line 63
PHP Warning:  filemtime(): Stat failed for /home/emshopc/public_html/cache/8985637a2c38cbd0d0991ce505fa12af.xtc (errno=2 - No such file or directory) in /home/emshopc/public_html/inc/xtc_db_queryCached.inc.php on line 36
PHP Warning:  filemtime(): Stat failed for /home/emshopc/public_html/cache/77dfee727e62c6a8392914f0dccc6fa7.xtc (errno=2 - No such file or directory) in /home/emshopc/public_html/inc/xtc_db_queryCached.inc.php on line 36
PHP Warning:  next(): Passed variable is not an array or object in /home/emshopc/public_html/inc/xtc_db_fetch_array.inc.php on line 29
PHP Warning:  current(): Passed variable is not an array or object in /home/emshopc/public_html/inc/xtc_db_fetch_array.inc.php on line 28
PHP Warning:  next(): Passed variable is not an array or object in /home/emshopc/public_html/inc/xtc_db_fetch_array.inc.php on line 29
PHP Warning:  current(): Passed variable is not an array or object in /home/emshopc/public_html/inc/xtc_db_fetch_array.inc.php on line 28
PHP Warning:  implode(): Bad arguments. in /home/emshopc/public_html/inc/xtc_db_queryCached.inc.php on line 63
PHP Warning:  file(/home/emshopc/public_html/cache/0bb5118c83fb5bb73f6fe184dfe348a0.xtc): failed to open stream: No such file or directory in /home/emshopc/public_html/inc/xtc_db_queryCached.inc.php on line 63
PHP Warning:  filemtime(): Stat failed for /home/emshopc/public_html/cache/0bb5118c83fb5bb73f6fe184dfe348a0.xtc (errno=2 - No such file or directory) in /home/emshopc/public_html/inc/xtc_db_queryCached.inc.php on line 36
PHP Warning:  next(): Passed variable is not an array or object in /home/emshopc/public_html/inc/xtc_db_fetch_array.inc.php on line 29
PHP Warning:  current(): Passed variable is not an array or object in /home/emshopc/public_html/inc/xtc_db_fetch_array.inc.php on line 28
PHP Warning:  filemtime(): Stat failed for /home/emshopc/public_html/cache/6600ad1debe046b6d512ed936708fdcb.xtc (errno=2 - No such file or directory) in /home/emshopc/public_html/inc/xtc_db_queryCached.inc.php on line 36
PHP Fatal error:  Smarty error: [in xtc4/module/specials.html line 18]: syntax error: unrecognized tag: $module_data.PRODUCTS_LINK|replace:.&.:.&. (Smarty_Compiler.class.php, line 439) in /home/emshopc/public_html/includes/classes/Smarty_2.6.14/Smarty.class.php on line 1095

   
Nach oben
admin
Site Admin
Site Admin


Anmeldungsdatum: 13.10.2005
Beiträge: 258

BeitragVerfasst am: 08.09.2006 11:06    Titel:
Hallo Patrik,

kannst Du mir einen FTP-Zugang geben, dann schau ich mir das mal an.

Gruss
_________________
Hartmut König

www.shopstat.com
ShopStat | Shopstatistik,Web-Controlling,User-Tracking
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen
Neuen Beitrag schreiben   Auf Beitrag antworten    ShopStat Foren-Übersicht // xt:Commerce Alle Zeiten sind GMT + 2 Stunden
Seite 1 von 1

 
Gehen Sie zu:  
Sie können Beiträge in dieses Forum schreiben.
Sie können auf Beiträge in diesem Forum antworten.
Sie können Ihre Beiträge in diesem Forum nicht bearbeiten.
Sie können Ihre Beiträge in diesem Forum nicht löschen.
Sie können an Umfragen in diesem Forum nicht mitmachen.

Powered by phpBB © 2001, 2002 phpBB Group