dan wrote: > I'm writing an administration script for a website, it reads files fine, > however when it comes to open files for writing, I get the "Permission > denied" error message. I'm not exactly sure what's wrong with this. Is this > a configuration problem at IIS's end, or do I need to do soemthing special > with IIS? > > Thanks in advance. > > Dan
You definietly do need to configure IIS to work with Perl. The installer will do some of the job, but don't always count on it. You have to have a virtual directory for the folder in which you have your script, or your script must be in a subdriectory of an IIS virtual directory. Configuration needed for public access: Directory must be accessible to the anonymous IUSR_[computer_name|domain_name] object Directory must have at least Read permissions. I just did some experimenting, and I was able to fire a script and get results without even Read, but I couldn't refresh the form from which the script was launched. Execute permissions should be Scripts and Executables Application protection should be low [IIS process] A line should be added to the configuration for the directory for each file extension you intend to use with Perl. Browse for the Perl executable, click OK to put the path in the textbox and then append %s %s to the end of the path: C:\Perl\bin\perl5.8.0 %s %s These %s are critical. They instruct the web server to call the Perl executable with two parameters--the Perl script itself, and the query string handed to STDIN. If you are posting information to your script, these will be critical. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
