OutFront Forums
     Home    Register     Search      Help      Login    

Sponsors
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

 

chmod settings on the NT server... how? please help!

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Server Issues >> chmod settings on the NT server... how? please help!
Page: [1]
 
 
REMY

 

Posts: 2
From: Tampa, Florida, United States
Status: offline

 
chmod settings on the NT server... how? please help! - 5/8/2001 20:55:00   
my host doesn't know how to set the file permissions for my cgi-script. I am hosted on an NT server, and the read me file only has instructions for linux. But the script was written to run on NT also but the linux chmod permission settings will not work period. Does anyone here know how to set the file permissions on an NT server?
storm

 

Posts: 421
Status: offline

 
RE: chmod settings on the NT server... how? please help! - 5/8/2001 20:01:00   
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.

in ntfs that directory should have the iusr_computername account added to the acl with read and write permissions.

------------------
storm...
"Someone put forth the proposition that you can patition the lord with prayer, patition the lord with prayer...YOU CANNOT PATITION THE LORD WITH PRAYER"


(in reply to REMY)
JessCoburn

 

Posts: 83
From: Boca Raton, FL US
Status: offline

 
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


(in reply to REMY)
Page:   [1]

All Forums >> Web Development >> Server Issues >> chmod settings on the NT server... how? please help!
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts