Project

General

Profile

Actions

Feature #2013

closed

[PATCH] mod_cgi: option to execute only chmod+x files

Added by penma over 15 years ago. Updated over 15 years ago.

Status:
Fixed
Priority:
Low
Category:
mod_cgi
Target version:
ASK QUESTIONS IN Forums:

Description

This patch adds an option that will only execute a CGI script if its +x bit is set.
If the bit is not set the script will be treated as a normal file.

Together with cgi.execute-all, this can be used to execute all files that have +x
set and to not execute all files that don't have +x set. Some other httpds do this
(example: thttpd, gatling and probably quite a lot more). It removes the need to
flag all CGIs with an extension. (Extension based handling of stuff is not UNIX at
all and belongs to Windows software.)

The default setting is "disable" and will do nothing.

Applies to a720459

Files

lighttpd-e803990-xonly.diff (2.32 KB) lighttpd-e803990-xonly.diff penma, 2009-06-25 18:43
Actions #1

Updated by stbuehler over 15 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2558.

Actions

Also available in: Atom