Feature #2013
[PATCH] mod_cgi: option to execute only chmod+x files
| Status: | Fixed | Start date: | 2009-06-25 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | - | % Done: | 100% | |
| Category: | mod_cgi | |||
| Target version: | 1.5.0 | |||
| Missing in 1.5.x: |
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
Associated revisions
Add "cgi.execute-x-only" to mod_cgi, requires +x for cgi scripts (fixes #2013)
Add "cgi.execute-x-only" to mod_cgi, requires +x for cgi scripts (fixes #2013)
History
#1 Updated by stbuehler almost 4 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset r2558.
Also available in: Atom
