in reply to Creating a file in a CGI script...

I have had this problem before. In our case, the apache configuration file was setup to prohibit any writes to certain directories... I wrote the file to /tmp and it worked

Replies are listed 'Best First'.
RE: Re: Creating a file in a CGI script...
by httptech (Chaplain) on May 19, 2000 at 21:17 UTC
    Hmm, I don't think Apache can control what directories you can write to from your Perl script, since Perl is writing directly to the file, not through the http server. You fixed your problem by moving to a directory where the webserver user had system permissions to write to.