[ale] Apache,cgi,perl file-not-found error

Gary S. Mackay Gary at edisoninfo.com
Wed Jul 5 11:39:31 EDT 2000


Ooops, I hate replying to my own messages, but I forgot to add the code
sample.

This is how I am calling the programs.
<!--#exec cmd="/cgi-bin/first.cgi" -->

As a test I just created a simple file

first.cgi
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello, World!\n";

- Gary

"Gary S. Mackay" wrote:
> 
> I successfully (I think!) compiled and installed the latest
> Apache,php4,mod_perl, and MySql programs. The only thing that does not work is
> the perl/cgi stuff. I have set the httpd.conf file to use /home/httpd/cgi-bin
> as the cgi directory.
> 
> Problem:
>         When I access "www.server.com/cgi-bin/file", the perl/cgi file runs just
> fine. If I try to run it from within an html document tho, I get
> "/cgi-bin/file not found" errors in the httpd/logs/error_log file.
> 
> What am I missing?
> 
> - Gary
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list