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-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to