httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Favor <da...@davidfavor.com>
Subject [users@httpd] Question about expires headers + php images returned without file extensions
Date Mon, 13 Sep 2010 19:12:45 GMT
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message