I'm trying to allow users to run cgi programs from their public_html directories. I followed the directions at
http://httpd.apache.org/docs/2.0/howto/cgi.html. I checked the permissions but I'm still get "Premature end of script headers" and an Internal Server Error in the browser. I've tried printing the header as text and using CGI.pm.
I added this to the conf file:
<Directory /home/*/public_html>
Options +ExecCGI
AddHandler cgi-script .cgi
</Directory>
What could I be missing?
Thanks in advance.