Had some perl scripts running nicely on a Windows/Apache setup. At the end of the day they were generating html and outputting htm files to a separate directory. Great.
Tried putting it on a Windows box running IIS and I cant write files, tried relaxing permissions all the way but I still can't write.
Are there any syntax differences or little things I need to know.
Any help on this one will be very gratefully received.
Cheers
Tell me about it, should be dead simple. I tried that and no joy at all. And guess what, it just got worse - I cant read either so none of my templates work!
The guy from the hosting company said had tried relaxing the permissions totally, but still no joy, how can this be so?
I don't seem to be able to get a meaningful diagnostid from using a die either.
Any ideas (please!)
I think I might have it sorted now - still seems odd though.
My script is in xzy.com/cgi-bin/writetest.pl and it contains:
open (FILE, ">write-test2.txt") or die "Couldn't write file";
print FILE "testing123";
close FILE;
This should output to the cgi-bin, however, it actually output to the root. Havent seen that before, guess its something in the config.
Anyhows, gotta dash now, big job to finish before end of day.
Cheers for looking Brett.