||Apache Web-Serving with Mac OS X: Part 2|
|Subject:||Creating Your own test.cgi file and cgi-bin|
I know this is an old discussion page but it is still pertinent! After much head scratching it became clear that the ScriptAlias function looks for /cgi-bin/yourfilename as part of the html supplied to it and then replaces cgi-bin with the path to CGI-Executables so it can be executed as a script. You do not need a cgi-bin directory in your file structure. If you create your own test.cgi file with textwrangler it will start out with -rw-r--r--@ permission set - clearly no ability to execute. So doing a sudo chmod 755 results in -rwxr-xr-x@ where execution is now possible,
Showing messages 1 through 1 of 1.
Creating Your own test.cgi file and cgi-bin
2010-06-30 06:25:57 peter55 [View]