Bitte um Hilfe mit .htaccess
Verfasst: 07.02.2009, 12:05
Hallo Forum,
mal wieder .htaccess. Meine PHPLD 3.3.0. installiert auf einer Subdomain. Auf dem Webspace stellt sie ein Verzeichnis dar, sie ist im Browser direkt aufzurufen. Daher
Hauptkategorien sind plötzlich weg oder Unterkats plötzlich anderen Tops zugeordnet. Manchmal erhalte ich nach abspeichern einer Kategorie nur einen weißen Screen. Ich hab's versucht wie für 1&1 empfohlen (ich bin bei Internet24) Meine .htacces:
Folgendes mußte ich weglassen, da es nur einen 500er internal error erzeugt:
Hat jemand 'ne Idee oder kann mir helfen? 
Gruss
web16
mal wieder .htaccess. Meine PHPLD 3.3.0. installiert auf einer Subdomain. Auf dem Webspace stellt sie ein Verzeichnis dar, sie ist im Browser direkt aufzurufen. Daher
Code: Alles auswählen
RewriteBase /
Code: Alles auswählen
# 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>
# 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>
Code: Alles auswählen
# Disable directory browsing
Options -Indexes
# Follow symbolic links in this directory
Options +FollowSymLinks

Gruss
web16