levu: Expires header per .htaccess

Hallo,

kann man für alles Dateien in einem verzeichniss (alles statische files, die ich nicht durch PHP ausgeben lassen will) per .htaccess einen Expires-Header hinzufügen?

mfg, Flo

--
sh:) fo:| ch:? rl:( br:^ n4:| ie:{ mo:| va:} de:> zu:} fl:{ ss:) ls:< js:|
  1. Hi,

    kann man für alles Dateien in einem verzeichniss (alles statische files, die ich nicht durch PHP ausgeben lassen will) per .htaccess einen Expires-Header hinzufügen?

    http://httpd.apache.org/docs/2.0/mod/mod_expires.html

    MfG ChrisB

    --
    „This is the author's opinion, not necessarily that of Starbucks.“
    1. Hallo,

      http://httpd.apache.org/docs/2.0/mod/mod_expires.html

      Danke!

      mfg, Flo

      --
      sh:) fo:| ch:? rl:( br:^ n4:| ie:{ mo:| va:} de:> zu:} fl:{ ss:) ls:< js:|
      1. Hallo,

        Ist der MIME-Type für JS text/javascript oder application/x-javascript oder was?

        mfg, Flo

        --
        sh:) fo:| ch:? rl:( br:^ n4:| ie:{ mo:| va:} de:> zu:} fl:{ ss:) ls:< js:|
        1. Ist der MIME-Type für JS text/javascript oder application/x-javascript

          In meiner mime.types (im conf-Ordner von httpd) steht application/x-javascript.