Project

General

Profile

Actions

Feature #126

closed

support for "serve-local" setting

Added by Anonymous almost 20 years ago. Updated over 16 years ago.

Status:
Invalid
Priority:
Normal
Category:
mod_fastcgi
Target version:
-
ASK QUESTIONS IN Forums:

Description

It would be useful to have another state for check-local, or a new setting serve-local. When this state/setting is on, lighttpd will check for a local copy of the file and serve that if it exists, else it will request it from fastcgi as normal.

This would be really handy for sitting in front of Zope and using lighttpd to serve the static images/css from its document root rather than handing it off to Zope.

Even better would be if lighttpd could be setup to cache things such as images from fastcgi automatically :) (depending on the headers which zope returns, etc).

Actions #1

Updated by jan almost 20 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid

server.error-handler-404 can be used for this kind of setup.

If the request results in a 404, the error-handler will be called (e.g. zope) which can generate the file and serve it.

Actions #2

Updated by stbuehler over 16 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom