|
|||
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? |
Sponsored Links |
Sponsored Links |
|
|||
Wenn ich die Zeile
Code:
ExpiresByType text/javascript “access plus 1 month” Aber was soll daran falsch sein? Diese Angabe benötige ich doch auch, wenn ich für die Skripte etwas festlegen möchte |
|
|||
Zitat:
Recht herzlichen Dank euch beiden! |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Website funktioniert bei anderem Hoster nicht. htaccess Fehler? | Cobretty | Serveradministration und serverseitige Scripte | 20 | 27.03.2012 13:36 |
Redesign für Steiner Cycling Team | pkipper | Site- und Layoutcheck | 11 | 09.02.2011 13:25 |
Fehler: $(blabla...) is null... Was bedeutet das und wie kann ich es beheben? | pkipper | Javascript & Ajax | 2 | 04.05.2010 10:16 |
Fehler im Code | koshiro | (X)HTML | 23 | 07.12.2009 14:39 |
htaccess - unterschiedliche Behandlung der Fehler, wieso? | andir | Serveradministration und serverseitige Scripte | 13 | 13.03.2009 19:47 |