Forum
| Vorheriges Thema anzeigen :: Nächstes Thema anzeigen |
Beedle Gast
|
Verfasst am: 05.01.2006 21:11 Titel: Fehler 500 |
|
|
|
Ich habe shopstat erst einmal lokal unter xamp installiert und bekomme den Fehler 500. Muss bei xamp der Server anders konfiguriert werden?
Hier die .htaccess:
| Code: |
# $Id: .htaccess,v 1.5 2005/05/19 17:09:19 Administrator Exp $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
#<Directory "/usr/local/apache/htdocs">
# AllowOverride Options
#</Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)
# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers
<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 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 ^sitemap(.*)\.html$ /shop/xtc/shop_content.php?coID=8 [qsappend,L]
##-- Kategorien
RewriteCond %{REQUEST_URI} (.*):::([_0-9]+):([_0-9]+)\.html$
RewriteRule (.*):::([_0-9]+):([_0-9]+)\.html$ /shop/xtc/index.php?cPath=$2&page=$3 [qsappend,L]
RewriteCond %{REQUEST_URI} (.*):::([_0-9]+)\.html$
RewriteRule (.*):::([_0-9]+)\.html$ /shop/xtc/index.php?cPath=$2 [qsappend,L]
##-- Produkte
RewriteRule (.*)::(.+)\.html$ /shop/xtc/product_info.php?products_id=$2 [qsappend,L]
##-- Content
RewriteRule (.*):_:([0-9]+)\.html$ /shop/xtc/shop_content.php?coID=$2 [qsappend,L]
##-- Manufacturers
RewriteCond %{REQUEST_URI} (.*):.:([_0-9]+):([_0-9]+)\.html$
RewriteRule (.*):.:([_0-9]+):([_0-9]+)\.html$ /shop/xtc/index.php?manufacturers_id=$2&page=$3 [qsappend,L]
RewriteCond %{REQUEST_URI} (.*):.:([_0-9]+)\.html$
RewriteRule (.*):.:([0-9]+)\.html$ /shop/xtc/index.php?manufacturers_id=$2 [qsappend,L]
##-- 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 |
Beedle |
|
| Nach oben |
|
|
admin Site Admin

Anmeldungsdatum: 13.10.2005 Beiträge: 258
|
Verfasst am: 05.01.2006 21:16 Titel: |
|
|
|
Hallo Beedle,
Error 500 weisst darauf hin, dass bei Dir FollowSymLinks nicht aktiviert sind.
Was steht denn in der error.log vom Webserver ?!
Gruss _________________ Hartmut König
www.shopstat.com
ShopStat | Shopstatistik,Web-Controlling,User-Tracking |
|
| Nach oben |
|
|
Gast
|
Verfasst am: 06.01.2006 08:46 Titel: |
|
|
|
Hallo,
der Fehler lautet:
| Code: | Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost 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.
|
im Errorlog ist das, vermute ich, der Eintrag:
| Code: |
[Fri Jan 06 07:43:11 2006] [alert] [client 127.0.0.1] C:/apachefriends/xampp/htdocs/shop/xtc/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration |
Leider kenne ich mich in der Configuration eine Servers nicht aus. Ich vermute es liegt am Server.
Beedle |
|
| Nach oben |
|
|
Beedle Gast
|
Verfasst am: 06.01.2006 10:17 Titel: ein Stück weiter |
|
|
|
Ich bin jetzt ein Stück weiter. Ich habe in der Conf des Apache eine Kommentar entfernt:
| Code: | | LoadModule rewrite_module modules/mod_rewrite.so |
Jetzt habe ich eine anderen Fehler:
| Code: | Forbidden
You don't have permission to access /shop/xtc/Fuer-Reiter:::49.html on this server.
|
Die Einträge im Errorlog um diese Zeit sagen mir nichts: | Code: | [Fri Jan 06 09:11:32 2006] [notice] Parent: Created child process 296
[Fri Jan 06 09:11:33 2006] [notice] Child 296: Child process is running
[Fri Jan 06 09:11:33 2006] [notice] Child 296: Acquired the start mutex.
[Fri Jan 06 09:11:33 2006] [notice] Child 296: Starting 250 worker threads. |
|
|
| Nach oben |
|
|
admin Site Admin

Anmeldungsdatum: 13.10.2005 Beiträge: 258
|
Verfasst am: 06.01.2006 12:28 Titel: |
|
|
|
Hallo Beedle,
mod_rewrite ist standardmässig aktiviert, also muss da irgendwas mit der Einrichtung bei Dir grundsätzlich nicht stimmen.
Ausserdem geht es hauptsächlich um die Einträge, die Du unter dem virual host hast (falls Du virtual hosts hast).
Am besten ist es Du schaust Dir mal grundsätzlich diese Seite an und versuchst das so ans Laufen zu kriegen:
http://www.modrewrite.de/
Gruss _________________ Hartmut König
www.shopstat.com
ShopStat | Shopstatistik,Web-Controlling,User-Tracking |
|
| Nach oben |
|
|
|
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
|