I am trying to run CGI scripts local to the companion HTML documents
using the Apache server and Linux. According to the manual if I add the
lines:
AddType application/x-httpd-cgi cgi pl
AddType application/x-httpd-cgi .cgi .pl
(yeah - I wasn't sure whether or not to include the "." so I tried it
both ways)
to the srm.conf and restart the server, that should do it.
Not true.
I get:
***********************************************************************
Forbidden
You don't have permission to access /chamFarm/CFemail.pl on this server.
***********************************************************************
(where CFemail.pl is the script in the HTML home directory "chamFarm"
- as expected)
the script has 777 permissions just to enable all possible
permissions.
If I take the lines out of the srm.conf file and restart the server, I
get:
***********************************************************************
Method not implemented
POST to /chamFarm/CFemail.pl not supported.
***********************************************************************
which, I guess, is the sort of error you might expect.
So I don't see the problem. This should be very straightforward. Does
anyone have any ideas?
Thanks for your time,
Gary Whitten