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

Re: [MacPerl] MP script to Unix



Thank for the answer,

I guess my  problem to be an error  due to my misunderstanding of all Unix
process and cgi running with unix machine... :-/

I suppose that i shoulf tranfert my MacPerl Cgi's under a one file form and
transfert them in a certain format... But wich one ?

I drop a very simple cgi like :
 #!/usr/local/bin/perl
&mess;
sub mess{
print <<"lettre";
<HTML><HEAD><TITLE>c'est la </TITLE></HEAD><BODY>
<p>Blabla</p>
</BODY></HTML>
lettre
exit;
}

and it crash... So the error is not in the script.

Please Help a poor mac user lost a cruel world of bitstream. :-)) I 'm
affraid to be became quite off topics ! No firing please.

I made a chmod 755 for my script but it did not made a change. And add a
path to my own lib within my cgi folder IE :  require
"cgi-bin/lib/IO/File.pm";
but it didn't made any change...

>Once you find out what the error message is, if you still can't find the
>problem, then you can try sending to the list:
>
>* The perl version
- version 5.004_04 built for sun4-solaris

>* The Unix flavor and version
Sun Microsystems Inc.   SunOS 5.6       Generic August 1997

>* Any other extra libraries needed from outside the standard library, and
>versions
vi cgi-lib :
# Perl Routines to Manipulate CGI input
# S.E.Brenner@bioc.cam.ac.uk
# $Id: cgi-lib.pl,v 2.8 1996/03/30 01:36:33 brenner Rel $

>* The error message

in the log i got  (HTTP/1.0)  500Internal Server Error.
It doesn't give any other html output... :-(

>* The relevant pieces of code (the error message usually tells you where in
>the program the problem is)

I can't get it...

I wonder if it is the state of my script wich is in cause : i drop a text
file first.

But with a  MP cgi or script it is the same...

#####################################################
     mailto://mjm@aix.pacwan.net     http://www.art-degenere.org

                                           Jean-Michel MEYER
                                     Journaliste - Photographe

          "L'objet du voyage n'est pas le but,  mais le chemin."

Proverbe Persan
#####################################################



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch