My friend and I are working on an art site and one of our scripts works fine in most of the upper levels of ./www but once we get down to ./www/testing/project2/cgi-bin/.. cgi files seem to only return 500 errors. The exact same scripts work higher up the directory. Any way to coax apache into letting us run this cgi file in these lower directories?
The default apache2 configuration in Ubuntu will enable the ExecCGI option only for a specific directory below your main one (cgi-bin). You can however add this option to any directory you like including your main one.
Find the Apache configuration for that site. Look for the relevant
You'll need to add
Example for editing an existing Options directive:
Example for creating a new Options directive for a directory that overrides the Apache-wide default one: