What company is this site hosted with? it sounds like they have some
serious problems with their perl installation. If you use the CGI
library, then you can just print 'print $query->header;' which prints
out a perl compatible html header.
also, do you have access to an SSH command line? if you do, then login
and debug the script 'perl -cw ship.cgi' and any unusual errors or
warnings will display - if not then I am as clueless as you as to the
problem; you have done permissions checks and tried every trick I know
of - maybe this host doesnt have what it takes.
btw - can you use PHP vs Perl? if you can then I would suggest using PHP
instead, since the 500 error should not be happening. as long as a perl
script is CHMODed to 755 and / or resides in the cgi-bin dir, then
everything should work fine.
wish I could give you an answer to this prob, it would have me going
nuts too. I have tried your script on various test beds and it has
worked each time with every variation discussed so far.
Portman wrote:
Update on the Perl script. I wrote to tech support again. They told
me to add in the line: print "Context-type: text/html\r\n\r\n";
I added it in and the script worked. Yay! So now I added in another
print statement and the script gives me the 500 server error again. I
REMOVE what I added in and upload the file as it was and it doesn't
work again. What the heck is going on??? This is my code:
#!/usr/bin/perl
use CGI;
$query = new CGI;
print "Context-type: text/html\r\n\r\n";
print "Hello World";
#ship.cgi
If anyone can help me before I pull all my hair out I would really
appreciate it.
Riva
____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To:
mailto:[EMAIL PROTECTED] or
use the web interface
http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web
interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.
____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.