Ein Projekt, das ich betreue liegt ebenfalls bei Strato und ich hatte zu Anfang ähnliche Probleme. (Nebenbei: wenn Du kannst, dann: LAUF! )
Ich schreibe Dir einfach mal den Code von der ".htaccess" die ich verwendet habe und mit der es zumindest bei mir klappt, rein:
Code:
Options -Indexes
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php43 .php4
AddType application/x-httpd-php5 .php .php5
##
# Rewrite base
##
RewriteEngine On
RewriteBase /
##
# Block malicious requests
##
RewriteCond %{REQUEST_URI} (ftp|https?):|/etc/ [NC,OR]
RewriteCond %{QUERY_STRING} (ftp|https?):|/etc/ [NC]
RewriteRule .* - [F,L]
##
# Compress .js and .css files
##
AddEncoding gzip .gz
AddType "text/javascript" .gz
AddType "text/css" .gz
RewriteCond %{HTTP:Accept-encoding} gzip
RewriteCond %{REQUEST_FILENAME} \.(js|css)$
RewriteCond %{REQUEST_FILENAME}.gz -f
RewriteRule ^(.*)$ $1.gz [L]
##
# Rewrite TYPOlight URLs
##
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .*\.html$ index.php [L]
Lesezeichen