RE: web link broken when access cgi-bin

2002-12-23 Thread Narins, Josh
It's some sort of troll or microsoft-funded distraction-bot.

it's being a complete lame on debian-user (same eric lin)

-Original Message-
From: eric lin [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, December 22, 2002 1:41 AM
To: [EMAIL PROTECTED]
Subject: web link broken when access cgi-bin


Dear mod_perl reader or user:

   Is the other webiste's link to access mysite's file or photo(jpg), 
not by hypertext but by cgi perl call(that function will show jpg pic) img
src=http://www.mycomapny.com/cgi-bin/showphoto.pl;

   but it turn out cannot access(I also try /usr/bin/perl 
/usr/lib/cgi-bin/showphot.pl  , it turn out is a dump kind's output, 
then I  mytest.jpg
then at netscape 7 URL, I type /home/enduser/mytest.jpg
it showed:

The image file:///home/enduser/mytest.jpg cannot be displayed, because 
it contains errors

) related to mod_perl did not configure or load well?(the locataion of 
picture suppose to be showed redcrss in IE6, or square white in mozilla)

I am using apache 1.3.26 and perl 5.8
please help

-- 
Sincere Eric
www.linuxspice.com
linux pc for sale


--
This message is intended only for the personal and confidential use of the designated 
recipient(s) named above.  If you are not the intended recipient of this message you 
are hereby notified that any review, dissemination, distribution or copying of this 
message is strictly prohibited.  This communication is for information purposes only 
and should not be regarded as an offer to sell or as a solicitation of an offer to buy 
any financial product, an official confirmation of any transaction, or as an official 
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or 
error-free.  Therefore, we do not represent that this information is complete or 
accurate and it should not be relied upon as such.  All information is subject to 
change without notice.





Re: web link broken when access cgi-bin

2002-12-22 Thread Ged Haywood
Hi there,

On Sat, 21 Dec 2002, eric lin wrote:

 The image file:///home/enduser/mytest.jpg cannot be displayed, because 
 it contains errors

I think I understand your question but I am not sure of it.

It seems that you have sent a request to Apache, received a response,
and saved the response to a file in the hope that it was an image.
When you used Netscape to try to view the image it failed to appear.

It seems unlikely that anything there did what you thought, you will
need to find out what is happening by thinking about it and testing.

One way to test what you get from Apache is to use 'telnet' to make
the requests.  It's documented in the mod_perl Guide which is at

http://perl.apache.org/docs/1.0/guide

Normally when you want to send an image file to the client you don't
use mod_perl to do it.  Either mod_perl never gets involved (because
of the Apache configuration in httpd.conf) or you tell mod_perl to let
Apache send the file for you (the mod_perl handler can return DECLINED
to Apache when it sees the request).

 I am using apache 1.3.26 and perl 5.8

We need more information than this.  Please read the documentation
about getting help which you will find in the mod_perl source tree in
a file called SUPPORT and also in the mod_perl Guide.

There is a lot of reading to do.  Unfortunately it is almost all in
English and unfortunately your English is not good, so you will need
to work hard at it.  Try to make your questions clearer.  If you have
a friend who speaks better English, let him see the questions first.

If I have not understood your question please try again. :)

73,
Ged.




Re: web link broken when access cgi-bin

2002-12-22 Thread Bill Moseley
On Sunday 22 December 2002 03:49, Ged Haywood wrote:
 Hi there,
 
 On Sat, 21 Dec 2002, eric lin wrote:
 
  The image file:///home/enduser/mytest.jpg cannot be displayed, because 
  it contains errors
 
 I think I understand your question but I am not sure of it.
 
 It seems that you have sent a request to Apache, received a response,

And sent messages about using Windows to a Linux list, and CGI questions to 
mod_perl list and seems to ignore the many requests to read some basic CGI 
tutorials.   I'd guess troll if he wasn't so clueless. ;)



Re: web link broken when access cgi-bin

2002-12-22 Thread Richard Clarke
 And sent messages about using Windows to a Linux list, and CGI questions
to
 mod_perl list and seems to ignore the many requests to read some basic CGI
 tutorials.   I'd guess troll if he wasn't so clueless. ;)

Since when did mod_perl becomes Linux only?

Richard.




Re: web link broken when access cgi-bin

2002-12-22 Thread Bill Moseley
On Sun, 22 Dec 2002, Richard Clarke wrote:

  And sent messages about using Windows to a Linux list, and CGI questions
 to
  mod_perl list and seems to ignore the many requests to read some basic CGI
  tutorials.   I'd guess troll if he wasn't so clueless. ;)
 
 Since when did mod_perl becomes Linux only?

oops, I meant to write:

And sent messages about using Windows to a Linux list


-- 
Bill Moseley [EMAIL PROTECTED]