Einzelnen Beitrag anzeigen
  #1 (permalink)  
Alt 18.09.2012, 16:20
web334 web334 ist offline
Erfahrener Benutzer
XHTMLforum-Mitglied
Thread-Ersteller
 
Registriert seit: 02.01.2007
Beiträge: 243
web334 befindet sich auf einem aufstrebenden Ast
Standard Fehler in der HTACCESS

Ich habe mir die folgende HTACCESS zusammengestellt

Code:
AddDefaultCharset utf-8
AddCharset utf-8 .php .html .css

<IfModule mod_expires.c>
 ExpiresActive On
 ExpiresByType text/html "access plus 2 days"
 ExpiresByType text/css "access plus 2 days"
 ExpiresByType text/xml "access plus 1 month"
 ExpiresByType text/javascript “access plus 1 month”
 ExpiresByType application/javascript "access plus 1 month"
 ExpiresByType application/x-javascript "access plus 1 month"
 ExpiresByType application/xml "access plus 1 month"
 ExpiresByType image/gif "access plus 1 month"
 ExpiresByType image/jpg "access plus 1 month"
 ExpiresByType image/jpeg "access plus 1 month"
 ExpiresByType image/png "access plus 1 month"
 ExpiresByType image/x-icon "access plus 1 year"
 ExpiresByType application/x-shockwave-flash "access plus 1 year"
</IfModule>

<IfModule mod_deflate.c>
<FilesMatch "\\.(html|css|js|xml|php|txt)$">
 SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>

aber wenn ich diese auf meinen Server hochlade erscheint folgende Fehlermeldung:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] 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.


Was ist denn daran falsch?
Mit Zitat antworten
Sponsored Links