Weird CGI problems!

off topic:
ARRRGGGG!!! Typing this again because stupid f*cking EditPad decided to use an existing browser window for a link rather than using a new one. Grrrrr!!!!!!!!!!


Hi all,

Having CGI probs on a Linux box running Fedora Core 3. I know Perl is fine cos it works from the command line. I know file permissions and the bash line in my scripts are fine. Here's the issue:

Run Perl through a browser and I get Internal Server Error.
Add -w to the bash line and it works fine.
Take -w away again and it continues to work fine, forever, just that script!
Try another script and it won't work - until you add the -w - then it will work forever, even if you remove the -w again.

How weird is that?!

Any ideas?

G

Edit:
Just tried Python and it's fine, so it must be something to do with a combination of Apache and Perl.

 

 

 

 

Top