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

Re: [cobalt-users] Perl 'die' function?



Mike Fritsch schrieb:
 
> Ive got a perl script that keeps getting an internal server.

500 internal server error ?

>I found out it has to do with the 'die' function. 

'die' in perl is commonly used to end the cgi script and to output an
error message if the action before the die command could not be
executed.

in cgi scripts this is commonly an action that tries to open, close,
read or write another file (settings, variable definition, log etc.)

check if the pathname of the file is correct and that the file has the
proper permissions.

to see the output error message, type the url

	http://'siteurl'/cgiwrapDir/cgiwrapd/'scriptname'

into your browser.

-- 

H. P.  Ströbel

PGP Digital Fingerprint :
58E0 6ECB 620A A689 E206 
BCA8 300F BC45 6EEC F7C3

Yes, I do. But not Yahoo.