View Full Version : Fehler: index.php?httpstatus=404
DollooDE
04-13-2007, 12:32 PM
Wenn ich auf eine Kategorie klicke kommt folgender fehler "index.php?httpstatus=404"
Kann mir da jemand helfen?
PL_90
04-13-2007, 12:34 PM
Gib mal bitte nen Link zu deiner HP und poste mal hier deine .htaccess.
DollooDE
04-13-2007, 12:39 PM
Also die Domain is www.webkatalog-dolloo.de
#################################################
## PHP Link Directory - Apache Server Settings ##
#################################################
# Prevent .htaccess and .htpasswd files from being viewed by web clients
<Files "^\.ht">
Order allow,deny
Deny from all
</Files>
# Protect files
<Files ~ "^(.*)\.(inc|inc\.php|tpl|sql)$">
Order deny,allow
Deny from all
</Files>
# Protect directories
<Files ~ "^(backup|files|images|include|lang|libs(/.+)?|temp(/.+)?|templates(/.+)?|javascripts(/.+)?)$">
Order deny,allow
Deny from all
</Files>
# Disable directory browsing
Options -Indexes
# Follow symbolic links in this directory
Options +FollowSymLinks
# Override PHP settings that cannot be changed at runtime
# (If your server supports PHP settings via htaccess you can comment following two lines off)
# php_value register_globals 0
# php_value session.auto_start 0
# Customized error messages
# ( If you are running in a subfolder please add it, example: "directory/index.php?httpstatus=404" )
ErrorDocument 404 index.php?httpstatus=404
# Set the default handler
DirectoryIndex index.php
# URL rewrite rules
<IfModule mod_rewrite.c>
RewriteEngine On
## Details Link Page Rewrite##
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (.*)detail/link-(.*).htm[l]?$ detail.php [QSA,NC]
## Pagination Rewrite
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (.*)page-(\d+)\.htm[l]?(.*)$ $1/?p=$2 [PT,NC]
## Category redirect
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
PL_90
04-13-2007, 12:43 PM
Hmmm.... Wie ich sehe ist alles richtig... Wo hostest du?
Aber setzt direkt nach RewriteEngine On RewriteBase /
DollooDE
04-13-2007, 12:50 PM
Ich bin bei Hosteurope
PL_90
04-13-2007, 12:54 PM
Hat es mit der RewriteBase / funktioniert. Ahja, welches Paket hast du da? Weil bei Hosteurope funktioniert PHPLD nur ab einen bestimmten Paket.
DollooDE
04-13-2007, 01:01 PM
Das mit dem umstellen weis ich nicht wo ich da machen muß. Ich habe einen VPS Hosting Tarif xxl
PL_90
04-13-2007, 01:17 PM
Versuchs so:
#################################################
## PHP Link Directory - Apache Server Settings ##
#################################################
# Prevent .htaccess and .htpasswd files from being viewed by web clients
<Files "^\.ht">
Order allow,deny
Deny from all
</Files>
# Protect files
<Files ~ "^(.*)\.(inc|inc\.php|tpl|sql)$">
Order deny,allow
Deny from all
</Files>
# Protect directories
<Files ~ "^(backup|files|images|include|lang|libs(/.+)?|temp(/.+)?|templates(/.+)?|javascripts(/.+)?)$">
Order deny,allow
Deny from all
</Files>
# Disable directory browsing
Options -Indexes
# Follow symbolic links in this directory
Options +FollowSymLinks
# Override PHP settings that cannot be changed at runtime
# (If your server supports PHP settings via htaccess you can comment following two lines off)
# php_value register_globals 0
# php_value session.auto_start 0
# Customized error messages
# ( If you are running in a subfolder please add it, example: "directory/index.php?httpstatus=404" )
ErrorDocument 404 index.php?httpstatus=404
# Set the default handler
DirectoryIndex index.php
# URL rewrite rules
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
## Details Link Page Rewrite##
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (.*)detail/link-(.*).htm[l]?$ detail.php [QSA,NC]
## Pagination Rewrite
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (.*)page-(\d+)\.htm[l]?(.*)$ $1/?p=$2 [PT,NC]
## Category redirect
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
DollooDE
04-13-2007, 01:23 PM
hab die Datei grad geändert, der fehler ist leider immer noch da
PL_90
04-13-2007, 01:26 PM
komisch, aber du hast nen Root zugriff oder? Also kannst du auf .httpd Einstellungen zugreifen?
PL_90
04-13-2007, 01:28 PM
Wenn ja, dann guck mal in der .httpd nach, ob da so eine Zeile (oben) steht, aber genau so:
#LoadModule rewrite_module modules/mod_rewrite.so
wenn ja, dann mach die Raute weg, sodass da nur so etwas steht:
LoadModule rewrite_module modules/mod_rewrite.so
DollooDE
04-13-2007, 01:37 PM
ja ich habe root zugriff aber kenne mich damit nicht aus
PL_90
04-13-2007, 01:42 PM
Du musst nur die Datei .httpd suchen (nicht in deinem Katalog sondern auf den Server) öffen gucken ob da oben das steht, wenn ja, dann die Raute wegmachen und speichern und das wars...
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.