add feature: support for running scripts through an interpreter. Thanks Florian Schirmer <jolt@tuxbox.org>
This commit is contained in:
@@ -85,7 +85,6 @@ config CONFIG_FEATURE_HTTPD_AUTH_MD5
|
||||
Enables basic per url authentication from /etc/httpd.conf
|
||||
using md5 passwords.
|
||||
|
||||
|
||||
if !CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
|
||||
config CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
|
||||
bool " Support reloading the global config file using hup signal"
|
||||
@@ -122,6 +121,17 @@ config CONFIG_FEATURE_HTTPD_CGI
|
||||
This option allows scripts and executables to be invoked
|
||||
when specific urls are requested.
|
||||
|
||||
config CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
|
||||
bool " Enable support for running scripts through an interpreter"
|
||||
default n
|
||||
depends on CONFIG_FEATURE_HTTPD_CGI
|
||||
help
|
||||
This option enables support for running scripts through an
|
||||
interpreter. Turn this on, if you want PHP scripts to work
|
||||
properly. You need to supply an addition line in your httpd
|
||||
config file:
|
||||
*.php:/path/to/your/php
|
||||
|
||||
config CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
|
||||
bool " Support the REMOTE_PORT environment variable for CGI"
|
||||
default n
|
||||
|
Reference in New Issue
Block a user