Trying to run CGI - please help!!
Hi, I'm trying to run a simple perl program. I'm pretty knew at this, but here goes:
I downloaded and installed apache. In my httpd.conf, the scriptalias line reads:
ScriptAlias /cgi-bin/ "/opt/lampp/cgi-bin"
(I don't know if this is correct or not!)
And then I also have:
<Directory "/opt/lampp/cgi-bin">
AllowOverride None
Options +ExecCGI
AddHandler cgi-script cgi pl
Order allow,deny
Allow from all
</Directory>
When I use my browser to run a simple test.pl program, it just displays the code.
Thanks for any help!!
|