Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Brian Read on March 04, 2003, 05:57:49 PM

Title: perl in an ibay
Post by: Brian Read on March 04, 2003, 05:57:49 PM
Running perl in an ibay.

I hope this is an FAQ (although I can't see it on these forums).

I am getting to grips with perl, and have written a small program which I have placed in the cgi-bin dir of an ibay, and it runs fine from a command line (i can see the HTML printed out).

However when I run it from a browser, it fails with


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.


It really only consists of a few print statements (using the exported html functions). So far the only thing I _have_ got running is a multiline print.

Am I missing something simple?

Cheers

Brian
Title: Re: perl in an ibay
Post by: Brian Read on March 04, 2003, 07:46:05 PM
Sorry to answer my own qeustion (perhaps that's the best type of answer!).

The file needs to have its executable bit reset every time I re-write from the editor that I an using on on my (XP) desktop, via a mapped drive!

Cheers

Brian