Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

Re: sending pre-compressed content through reverse proxy using mod_rewrite

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


oliver.schoett at capgemini-sdm

Nov 23, 2009, 6:20 AM

Post #1 of 1 (284 views)
Permalink
Re: sending pre-compressed content through reverse proxy using mod_rewrite

Haroon Rafique wrote:
> It would be nice if I could just override
> the 404 error though.
>

I just did that using mod_asis. The .asis document can set its own
headers, including status:

Status: 200 OK
Content-Type: image/gif
Cache-Control: public, max-age=7200
Expires: Thu, 01 Jan 2009 00:00:00 GMT
Last-Modified: Sat, 20 Sep 2008 20:32:04 GMT

GIF89a[dummy image]

This is for an image server where URLs of missing images receive a dummy
image with status 200.

However, I did not succeed in setting a dynamic Expires: header using
mod_expires.

Regards,

Oliver Schoett



---------------------------------------------------------------------
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 [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.