Forum Moderators: phranque
i am trying to learn cgi programming.i tried to to extract the contents of a simple form using perl.i was ok with the perl part ....i found modules to do that...but apache is the one giving problems.when i submit the form it says that it cannot find the cgi-bin directory and my cgi file.i have enabled the ScriptAlias in the httpd.conf file and chmod"dded" 755 my cgi-bin directory also.i am at sea what to do next.i hope you ppl will provide useful insight....
yes...i restarted apache but it still doesn't work.
i haven't tampered much with the httpd.conf.the ScriptAlias was commented at first;i decommented it and i added the ExecCGI options.that's it!
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-bin">
Options ExecCGI
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>