hi,
km@xxxxxxxxxxxxxx wrote on Mon, Sep 30, 2002 at 04:21:13PM +0530:
km> how do i change the apache configuration so that i can run the perl/cgi
km> scripts from a directory in the Document root other than cgi-bin.
Add a seperate Directory section and enable the ExecCGI option.
<Directory /wherever/your/files/are/present>
options ExecCGI
</Directory>
The above example also assumes that you have the following line:
AddHandler cgi-script .cgi .pl .phtml .py .fooscript
This would enable you to execute scripts outside your ScriptAlias
directories. (Read it all! the apache documentation has it all!)
HTH,
-Suraj
--
+-------------------------------------------------<suraj@xxxxxxxxxxx>--+
| Yields flurish their fields who relish treating guests, eat the |
| last, and do not mind cooking grain meant for seeds |
| (hospitality - 5), Thirukkural |
+--<http://www.symonds.net/~suraj/>------------------------------------+