|
Be
sure to transfer the file to the server in "ascii" mode if you use ftp. If you
use some other transfer mode, correct your newline-characters for unix. Most
good editors can do that.
Lars
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 ErrorThe 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
|