Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/01/2016, 13:47
krampc
 
Fecha de Ingreso: diciembre-2015
Mensajes: 12
Antigüedad: 8 años, 4 meses
Puntos: 0
Htaccess me da error web al comprimir

Hola, estoy intentanto habilitar compresión de mi página web con htaccess con este código:

Código:
 
# Enable GZIP
< ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch #MSIE !no-gzip !gzip-only-text/html
< /ifmodule>
 
# Expires Headers - 2678400s = 31 days
< ifmodule mod_expires.c>
  ExpiresActive On
  ExpiresDefault "access plus 1 seconds"
  ExpiresByType text/html "access plus 7200 seconds"
  ExpiresByType image/gif "access plus 2678400 seconds"
  ExpiresByType image/jpeg "access plus 2678400 seconds"
  ExpiresByType image/png "access plus 2678400 seconds"
  ExpiresByType text/css "access plus 518400 seconds"
  ExpiresByType text/javascript "access plus 2678400 seconds"
  ExpiresByType application/x-javascript "access plus 2678400 seconds"
< /ifmodule>
 
# Cache Headers
< ifmodule mod_headers.c>
  # Cache specified files for 31 days
  Header set Cache-Control "max-age=2678400, public"
  
  # Cache HTML files for a couple hours
  Header set Cache-Control "max-age=7200, private, must-revalidate"
  
  # Cache PDFs for a day
  Header set Cache-Control "max-age=86400, public"
  
  # Cache Javascripts for 31 days
  Header set Cache-Control "max-age=2678400, private"
< /ifmodule>
Pero cuando voy a la página web y voy a cualquier sección me sale este error:

Cita:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, 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.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
¿sabéis cuál puede ser el fallo?

gracias.