in reply to
Apache reads scripts as html, not cgi
Without seeing your configuration, its hard to determine exactly what is wrong... However, it sounds like you might need to add:
AddHandler cgi-script .cgi
[download]
to your configuration file.
-Blake
Comment on
Re: Apache reads scripts as html, not cgi
Download
Code
In Section
Seekers of Perl Wisdom