From: Ken Coar
-$Revision: 1.15 $ ($Date: 1997/04/09 19:23:02 $)
+$Revision: 1.16 $ ($Date: 1997/04/11 03:25:04 $)
Apache Server Frequently Asked Questions
The Questions
@@ -23,6 +23,8 @@ $Revision: 1.15 $ ($Date: 1997/04/09 19:23:02 $)
+
+
@@ -57,6 +59,9 @@ $Revision: 1.15 $ ($Date: 1997/04/09 19:23:02 $)
+
++ Apache recognises all files in a directory named as a + ScriptAlias + as being eligible for execution rather than processing as normal + documents. This applies regardless of the file name, so scripts in a + ScriptAlias directory don't need to be named + "*.cgi" or "*.pl" or + whatever. In other words, all files in a ScriptAlias + directory are scripts, as far as Apache is concerned. +
++ To persuade Apache to execute scripts in other locations, such as in + directories where normal documents may also live, you must tell it how + to recognise them - and also that it's okey to execute them. +
++ AddHandler cgi-script .cgi ++ The server will then recognise that all files in that location (and + its logical descendants) that end in ".cgi" + are script files, not documents. +