Sahra: Caching

Hihi,

ich möchte das

ExpiresActive On
ExpiresByType text/html "access plus 2 houres "
ExpiresByType text/xml "access plus 2 houres"
ExpiresByType image/gif "access plus 3 weeks"
ExpiresByType image/jpg "access plus 2 weeks"
ExpiresByType image/png "access plus 3 weeks"
ExpiresByType video/quicktime "access plus 2 months"
ExpiresByType audio/mpeg "access plus 2 months"
ExpiresByType application/pdf "access plus 2 weeks"
ExpiresByType application/ps "access plus 2 weeks"
ExpiresByType application/xml "modification plus 2 weeks"

in der .htaccess geht. Ja nicht mal die erste Zeile geht. Da kommt

Internal Server Error

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

Please contact the server administrator, webmaster@bobmobile.de 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.

Ärgerlich. Wenn ich nur eine Weiterleitung einsetze geht die .htaccess.

Ob da jemand weiter weiß?

Bis dann
S

  1. Da wurde wohl das dazu notwendige Apache-Modul nicht aktiviert.

    More information about this error may be available in the server error log.

    Was sagt denn die Logdatei?

    1. Hi,

      a2enmod expires

      macht

      a2enmod: command not found

      ich denke auch das es damit zusammenhängt.

      Suche mal das Log.

      Cucu
      S

      1. [01/Mar/2010:17:07:52 +0100] "GET /admin/index.ph                                                                                                                               p?main=lpoverview HTTP/1.1" 500 542 "http://www.test.de/admin/index.php?main=l                                                                                                                               poverview" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2) Gecko/2010011                                                                                                                               5 Firefox/3.6 GTB6 (.NET CLR 3.5.30729)"

        1. hi,

          HTTP/1.1" 500 542 "http://www.test.de ...

          Testest du Lokal im XAMPP?

          mfg