Re: cgi-bin will not execute perl program [SOLVED]
[email protected] ("Mike Williams")
| Newsgroups | perl.beginners.cgi |
|---|---|
| Message-ID | <[email protected]> |
On 6/20/07, whitsey <[email protected]> wrote: > > > On 6/14/07, Mumia W. <[email protected]> wrote: > > Did some tinkering, commented out that option and Add-Handler which I > > also thought was required and my cgi code still worked. > > > > #Options ExecCGI > > #AddHandler cgi-script .cgi > > > > Then I found that if I commented out this line: > > > > LoadModule cgi_module modules/mod_cgi.so > > > > My cgi code no longer worked, it just displayed the source of my perl > > code in the browser window. > > > > Do you have a load module for mod_cgi in your httpd.conf file? > > > > BTW - this was with Apache/2.2.4 on fedora 6. That is it!!! I can't beleive I didn't even check that. Assumed it > was a given that it would be there... Cool, thanks for the good news. Cheers, Mike