Apache Web-Serving with Mac OS X: Part 2
Subject:   Creating Your own test.cgi file and cgi-bin
Date:   2009-12-28 11:36:11
From:   stumpygreg
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,

Also recommended for apache2.2 is:

Options Indexes FollowSymLinks MultiViews +IncludesNoExec


1 to 1 of 1
  1. Creating Your own test.cgi file and cgi-bin
    2010-06-30 06:25:57  peter55 [View]

1 to 1 of 1