For more information... RTFM!
NAVIGATION
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

DeliverImage

Allow image URIs to be defined that make it appear as if they will be delivered by Interchange itself.

Synopsis

DeliverImage  Yes

This is a Yes or No directive.  The default is No.

Scope

This directive is only available for use in the local (catalog.cfg) configuration file.  It will not affect any other website in any way.  This directive will not work in the global (interchange.cfg) configuration file. 

Description

If the requested file is present and the MIME type for the file's suffix begins with "image/", then the path will be adjusted to add ImageDir or ImageDirSecure, and a HTTP 302 ("Moved temporarily") status will be returned.  The request would then be bounced to the web server, which would serve the image.

This whole thing happens before Interchange connects to the database or even opens a session, so it is a reasonably fast operation.

For instance, if the ImageDir is set to "/images/" then the following redirect would occur:

Request

http://www.example.com/cgi-bin/foo/kevin.gif

Redirect

http://www.example.com/images/kevin.gif

Note

Note

The images will need to be somewhere under the Apache DocumentRoot anyway, so you might as well ignore this directive and set your image URIs to use the ImageDir and ImageDirSecure paths directly.

Category:  Local config directives
Last modified by: Kevin Walsh
Modification date: Sunday 8 October 2006 at 2:23 AM (EDT)
Home  |  Legal nonsense  |  Privacy policy  |  Contact us