Question about expires headers + php images returned without file extensions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was just noticing the return of phpinfo returns .gif & .jpg
images by way of this syntax:

    http://$domain.$tld/index.php?=$objectid

as in this:

    http://highvibenation.com/index.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42

Firefox picks up the correct Content-Type looking at
output from Live HTTP Headers and for the life of me
I've been unable to come up with an expires.conf file
syntax to set a far future header for objects returned
like this.

I'd have thought something like this would work:

    expiresbytype image/gif "access plus 1 years"
    expiresbytype image/png "access plus 1 years"
    expiresbytype image/jpeg "access plus 1 years"
    expiresbytype image/jpg "access plus 1 years"

Or at least this would work:

    ExpiresDefault "access plus 1 years"

Neither works.

Suggestions welcome.

--
Love feeling your best ever, all day, every day?
Click http://RadicalHealth.com for the easy way!

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux