Re: [users@httpd] Perl cgi question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 1/5/06 11:31 AM, "Axel-Stéphane  SMORGRAV"
<Axel-Stephane.SMORGRAV@xxxxxxxxxxxxxx> wrote:

> It seems obvious that there is no file
> /Users/sdavis/Documents/workspace/DogDB/lib/Dog/HTML/DogForm.pm
> 
> But on the other hand it could be too obvious to be true.

The script runs successfully from the command line, so the file MUST be
there.  In fact, it is.

> Otherwise I thought it was necessary to set "Options ExecCGI"...

I'll try it, but that isn't what the error message implies.  The script is
being executed....

Thanks for the input, though.

Sean

> -ascs
> 
> -----Original Message-----
> From: Sean Davis [mailto:sdavis2@xxxxxxxxxxxx]
> Sent: Thursday, January 05, 2006 5:20 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: [users@httpd] Perl cgi question
> 
> I have a simple perl cgi script.  It runs fine from the command line from
> the cgi-bin directory, but not in the browser.  I'm sure it is something
> simple, but any ideas why it works from the command line but not the
> browser?  Here is the error_log output:
> 
> [Thu Jan 05 10:20:45 2006] [error] [client 127.0.0.1] Can't locate
> Dog/HTML/DogForm.pm in @INC (@INC contains: /Users/sdavis/Docum
> ents/workspace/DogDB/lib
> /System/Library/Perl/5.8.6/darwin-thread-multi-2level
> /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darw
> in-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl
> /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/P
> erl/5.8.6 /Network/Library/Perl
> /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
> /System/Library/Perl/Extras/5.8.6 /Li
> brary/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 .) at
> /usr/local/apache2/cgi-bin/testcgi.pl line 7.
> [Thu Jan 05 10:20:45 2006] [error] [client 127.0.0.1] BEGIN
> failed--compilation aborted at /usr/local/apache2/cgi-bin/testcgi.pl l
> ine 7.
> [Thu Jan 05 10:20:45 2006] [error] [client 127.0.0.1] Premature end of
> script headers: testcgi.pl



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux