[ale] Apache and cgi/perl "file not found" error

Gary S. Mackay Gary at edisoninfo.com
Mon Jul 10 08:08:22 EDT 2000


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, added the ScriptAlias stuff, etc. I'm guessing it's
either looking in some other directory, (how do I found out where), or it's a
permission thing.
 
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.

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";



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