Habe ein ähnliches Problem:
Gültige Fehlerseite fehlt 0% [info]
Individuelle Fehlerseite Weiterleitung 50% [info]
Meine .htacess:
AddType application/x-httpd-php53 .php
AddDefaultCharset utf-8
#php_flag magic_quotes_gpc Off
SetEnv APP_ENVIRONMENT online
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\\. [NC]
RewriteRule ^(.*)$ www.%{HTTP_HOST}/$1 [R=301,NC,L]
<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteBase /kfzgutachter/
#RewriteBase /projects/kfzgutachter/
RewriteBase /
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
#RewriteRule /*\\.(css|js|php|php|gif|png|jpe?g)$ - [NC,L]
RewriteRule "^(.*)$" "index.php" [QSA,L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /404.php
</IfModule>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/xml text/css text/plain
AddOutputFilterByType DEFLATE image/svg+xml application/xhtml+xml application/xml
AddOutputFilterByType DEFLATE application/rdf+xml application/rss+xml application/atom+xml
AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript
AddOutputFilterByType DEFLATE application/x-font-ttf application/x-font-otf
AddOutputFilterByType DEFLATE font/truetype font/opentype
</IfModule>
# turns cache on
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 4 hours"
ExpiresByType application/javascript A900
ExpiresByType application/x-javascript A900
ExpiresByType text/javascript A900
ExpiresByType text/html A86400
ExpiresByType text/xml A86400
ExpiresByType text/css A86400
ExpiresByType text/plain A86400
ExpiresByType image/gif A86400
ExpiresByType image/jpg A86400
ExpiresByType image/jpeg A86400
ExpiresByType image/png A86400
ExpiresByType image/bmp A86400
ExpiresByType application/x-shockwave-flash A86400
</IfModule>
<ifmodule mod_headers.c>
<filesmatch "\\\\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "max-age=2592000, public"
</filesmatch>
<filesmatch "\\\\.(css)$">
Header set Cache-Control "max-age=604800, public"
</filesmatch>
<filesmatch "\\\\.(js)$">
Header set Cache-Control "max-age=216000, private"
</filesmatch>
<filesmatch "\\\\.(x?html?|php)$">
Header set Cache-Control "max-age=600, private, must-revalidate"
</filesmatch>
Beitrag erstellen
EinloggenKostenlos registrieren