RE: chmod settings on the NT server... how? please help! - 5/15/2001 21:10:00
quote: Originally posted by storm: in IIS the cgi-bin directory needs to be set to 'run scripts and executables' and that directory needs to have the .pl and .cgi extensions mapped t perl. the directory also should be using the iusr_computername account for access.
ACtually there's a more elegant solutions and you don't want to set it to executables because someone might upload a bad .exe file and WHAM! virus central. What you want to do is change the settings where you defined the .cgi & .pl settings for the server to 'run as scripting engine' I think that's what it's called but for sure it's a checkbox there with scripting engine next to it. This way it will call perl.exe as a scripting engine. The other problem you may run into with setting the folder to scripts & executables is that you may not be able to post to the web using frontpage. quote:
in ntfs that directory should have the iusr_computername account added to the acl with read and write permissions.
Careful with assigning anonymous user write permissions. If it's a subweb (or worst the root web) and you give it anonymous permissions you're going to be opening it up to allow anyone to publish to your site via frontpage (bad news!). You really only want to assign write permissions where necessary. The best way to do it is to put all the files you need to have world/anonymous writable in a subfolder and assign that folder iuser_machine read and write. Now, lets say you have the folders setup like this: d:\inetpub\wwwroot\ (root web) \writable (folder that will be world writable) Go to dos and do this: d: cd\inetpub\wwwroot\ cacls writable /t /e /g iusr_machinename:c that gives the writable folder and everything under it change permissions. This way you're editing the permissions on the folder and not replacing them (as you would do if you used explorer (the windows GUI) and the security tab and then changed the settings there. Jess ------------------ Applied Innovations http://www.appliedi.net/ FrontPage Web Hosting
|