Apache Server

Couldn’t get test.cgi to execute in my userspace (although PHP worked fine). Tried all kinds of settings in httpd.conf and with .htaccess file but to no avail.

So, resigned, I put index.html into /Library/WebServer/Documents/ and put test.cgi into /Library/WebServer/CGI-Executables/ (remembering to chmod +x test.cgi).


http://localhost opens index.html and

<form name=”form1″ method=”post” action=”cgi-bin/test.cgi”>
<input type=”submit” name=”Submit” value=”Submit”></form>

executes successfully!


Published by


computer programmer, group organizer

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s