[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Apache,cgi,perl file-not-found error
- Subject: [ale] Apache,cgi,perl file-not-found error
- From: Gary at edisoninfo.com (Gary S. Mackay)
- Date: Wed, 05 Jul 2000 11:39:31 -0400
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.