in reply to
Re: Perl Redirect - Complete Perl Newbie
in thread
Perl Redirect - Complete Perl Newbie
All of the paths work, I've tested them. I managed to find my logs and make sure I was uploading with ASCII.
Logs said this:
Fri Feb 11 12:13:32 2005
error
(2)No such file or directory: exec of /var/www/virtual/rhp/www/cgi/shop/cart.pl failed
Fri Feb 11 12:13:32 2005
error
client 83.166.176.8
Premature end of script headers: /var/www/virtual/rhp/www/cgi/shop/cart.pl
cart.pl is the file I'm working on. Any idea why this is happening?
Comment on
Re^2: Perl Redirect - Complete Perl Newbie
Replies are listed 'Best First'.
Re^3: Perl Redirect - Complete Perl Newbie
by
samizdat
(Vicar)
on Feb 11, 2005 at 15:58 UTC
In your Apache httpd.conf, is '.pl' defined as a cgi-executable extension?
Also, how are you _calling_ this cgi? In CGI, you must reference a web-centric directory, which must then (in httpd.conf) be aliased to a real filesystem directory.
[reply]
In Section
Seekers of Perl Wisdom