From: Joshua Slive or, if perl is in or, if perl is in the PATH
, simply:PATH
, simply:HKEY_CLASSES_ROOT
to be
searched using the script file extension (e.g., .pl
) as a
search key. The command defined by the registry subkey
- Shell\ExecCGI\Command
or if not exists by the subkey
- Shell\Open\Command
is used to open the script file. In absence
- of the file extension key or both subkeys Apache uses the
+ Shell\ExecCGI\Command
or, if it does not exist, by the subkey
+ Shell\Open\Command
is used to open the script file. If the
+ registry keys cannot be found, Apache falls back to the behavior of the
Script
option.
Be careful to use ScriptInterpreterSource Registry
with
- Registry
setting may cause undesired
- program calls on files, which are usually not executed. For example, the
- default open command on .htm
files on most Windows systems is
- executing the Microsoft Internet Explorer, so any HTTP request for an
- .htm
file existing within the script directory would start
- the browser in background. This is an effective method to crash your
- system within a minute or so.
Be careful when using ScriptInterpreterSource
+ Registry
with Registry
setting may cause undesired
+ program calls on files which are typically not executed. For
+ example, the default open command on .htm
files on
+ most Windows systems will execute Microsoft Internet Explorer, so
+ any HTTP request for an .htm
file existing within the
+ script directory would start the browser in the background on the
+ server. This is a good way to crash your system within a minute or
+ so.
The option Registry-Strict
which is new in Apache 2.0
- does the same as Registry
but uses only the subkey
- Shell\ExecCGI\Command
. The ExecCGI
key
- is not a common one. It has to be configured manually and prevents your
- system from accidental program calls.
The option Registry-Strict
which is new in Apache
+ 2.0 does the same thing as Registry
but uses only the
+ subkey Shell\ExecCGI\Command
. The
+ ExecCGI
key is not a common one. It must be
+ configured manually in the windows registry and hence prevents
+ accidental program calls on your system.