hi,

after trying things, lars mentioned before, try add the following line:

use CGI::Carp qw(fatalsToBrowser);

which will redirect server errors to the client, so it maybe points you
in the right direction...

regards, Dietmar

-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von Pankaj
Kapare
Gesendet: Dienstag, 18. Februar 2003 14:04
An: [EMAIL PROTECTED]
Betreff: Perl script on apache unix server


Hi

I am trying to run one perl script on APACHE server.My server is running
well.I have installed perl properly and it is configured with apache and
also running well with out any error.Now my web server is on UNIX system.I
am saving my scripts in web dirctory of server.When I tries to run the
script on server machine itself it runs fine.

Now my problem is when I write script on other windows machine and save it
on the unix server ,changes its permissions and try to acess it from other
machine it gives error as follows:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, root@LinuxRohan. and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.
More information about this error may be available in the server error log.
while same script runs fine at shell prompt but gives error when i tries to
acess it through web browser.
But scripts developed on the server with vi editor runs fine.
What could be the reason? Is it regarding the editor i am using? or any
other thing?
Thanks in advance!
pankaj

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to