Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Scripting IIS

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Run CGI Without .EXE?  
Author Message
user1245

External


Since: Dec 29, 2003
Posts: 25



(Msg. 1) Posted: Mon Dec 29, 2003 8:41 pm
Post subject: Scripting IIS
Archived from groups: microsoft>public>inetserver>iis (more info?)

I'm scripting IIS creating sites with a VBS file that I found on iisfaq.com

http://www.iisfaq.com/default.aspx?View=A399&P=109

But I can't find where can set "Execute_Permissions" of Home directory tab
in my Site properties to "Scripts_Only" instead of
"None" as the default option after the creation.

Obviously I should find the way in scripting mode.....

Can u help me please?

Any help appreciated.

Regards

--
Fabrizio Maccarrone
--
YAMSSQLU
(Yet Another MSSQL User)

 >> Stay informed about: Scripting IIS 
Back to top
Login to vote
user658

External


Since: Aug 26, 2003
Posts: 1525



(Msg. 2) Posted: Mon Dec 29, 2003 8:41 pm
Post subject: Re: Scripting IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 29 Dec 2003 17:41:57 +0100, "Fabrizio Maccarrone" <fabrizio
(at) 7mates (punto) com> wrote:

 >I'm scripting IIS creating sites with a VBS file that I found on iisfaq.com
 >
 >http://www.iisfaq.com/default.aspx?View=A399&P=109
 >
 >But I can't find where can set "Execute_Permissions" of Home directory tab
 >in my Site properties to "Scripts_Only" instead of
 >"None" as the default option after the creation.
 >
 >Obviously I should find the way in scripting mode.....
 >
 >Can u help me please?

What version of IIS?

Jeff<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Scripting IIS 
Back to top
Login to vote
joker197cinque

External


Since: Dec 29, 2003
Posts: 4



(Msg. 3) Posted: Tue Dec 30, 2003 12:30 am
Post subject: Re: Scripting IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > What version of IIS?

IIS 5 on W2k server sp4.

Thx

--
Fabrizio Maccarrone
--
YAMSSQLU
(Yet Another MSSQL User)


"Jeff Cochran" <jcochran.nospam.RemoveThis@naplesgov.com> wrote in message
news:3ffc6503.618995868@msnews.microsoft.com...
 > On Mon, 29 Dec 2003 17:41:57 +0100, "Fabrizio Maccarrone" <fabrizio
 > (at) 7mates (punto) com> wrote:
 >
  > >I'm scripting IIS creating sites with a VBS file that I found on
iisfaq.com
  > >
  > >http://www.iisfaq.com/default.aspx?View=A399&P=109
  > >
  > >But I can't find where can set "Execute_Permissions" of Home directory
tab
  > >in my Site properties to "Scripts_Only" instead of
  > >"None" as the default option after the creation.
  > >
  > >Obviously I should find the way in scripting mode.....
  > >
  > >Can u help me please?
 >
 > What version of IIS?
 >
 > Jeff


---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.556 / Virus Database: 348 - Release Date: 26/12/2003<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Scripting IIS 
Back to top
Login to vote
user645

External


Since: Aug 23, 2003
Posts: 180



(Msg. 4) Posted: Tue Dec 30, 2003 1:48 am
Post subject: Re: Scripting IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Fabrizio Maccarrone" <fabrizio (at) 7mates (punto) com> wrote in message
news:e4veypizDHA.2180@TK2MSFTNGP12.phx.gbl...
 > I'm scripting IIS creating sites with a VBS file that I found on
iisfaq.com
 >
<font color=purple> > <a style='text-decoration: underline;' href="http://www.iisfaq.com/default.aspx?View=A399&P=109</font" target="_blank">http://www.iisfaq.com/default.aspx?View=A399&P=109</font</a>>
 >
 > But I can't find where can set "Execute_Permissions" of Home directory
tab
 > in my Site properties to "Scripts_Only" instead of
 > "None" as the default option after the creation.
 >
 > Obviously I should find the way in scripting mode.....
hint: Next time run MetaEdit 2.2 to see which flags can be set and how
things are set after using the MMC.

It is for instance the following ADSI path
<a style='text-decoration: underline;' href="IIS://LOCALHOST/W3SVC/1/Root/AccesFlags" target="_blank">IIS://LOCALHOST/W3SVC/1/Root/AccesFlags</a> (Int) = 513<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Scripting IIS 
Back to top
Login to vote
joker197cinque

External


Since: Dec 29, 2003
Posts: 4



(Msg. 5) Posted: Tue Dec 30, 2003 2:25 am
Post subject: Re: Scripting IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sorry..can you make an example using VBS?

Thank you very much.

--
Fabrizio Maccarrone
--
YAMSSQLU
(Yet Another MSSQL User)


"Egbert Nierop (MVP for IIS)" <egbert_nierop RemoveThis @nospam.com> wrote in message
news:eGM57VlzDHA.2388@TK2MSFTNGP09.phx.gbl...
 > "Fabrizio Maccarrone" <fabrizio (at) 7mates (punto) com> wrote in message
 > news:e4veypizDHA.2180@TK2MSFTNGP12.phx.gbl...
  > > I'm scripting IIS creating sites with a VBS file that I found on
 > iisfaq.com
  > >
<font color=green>  > > <a style='text-decoration: underline;' href="http://www.iisfaq.com/default.aspx?View=A399&P=109</font" target="_blank">http://www.iisfaq.com/default.aspx?View=A399&P=109</font</a>>
  > >
  > > But I can't find where can set "Execute_Permissions" of Home directory
 > tab
  > > in my Site properties to "Scripts_Only" instead of
  > > "None" as the default option after the creation.
  > >
  > > Obviously I should find the way in scripting mode.....
 > hint: Next time run MetaEdit 2.2 to see which flags can be set and how
 > things are set after using the MMC.
 >
 > It is for instance the following ADSI path
 > <a style='text-decoration: underline;' href="IIS://LOCALHOST/W3SVC/1/Root/AccesFlags" target="_blank">IIS://LOCALHOST/W3SVC/1/Root/AccesFlags</a> (Int) = 513
 >


---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.556 / Virus Database: 348 - Release Date: 26/12/2003<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Scripting IIS 
Back to top
Login to vote
user645

External


Since: Aug 23, 2003
Posts: 180



(Msg. 6) Posted: Tue Dec 30, 2003 3:01 am
Post subject: Re: Scripting IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Fabrizio Maccarrone" <joker197cinqueNO RemoveThis @SPAMyahoo.it> wrote in message
news:ekCqoqlzDHA.604@tk2msftngp13.phx.gbl...
 > Sorry..can you make an example using VBS?
 >
 > Thank you very much.
I gave you the ADSI path.

Set obj = GetObject("IIS://LOCALHOST/W3SVC/1/Root")
Obj.AccessFlags = 513
obj.SetInfo<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Scripting IIS 
Back to top
Login to vote
joker197cinque

External


Since: Dec 29, 2003
Posts: 4



(Msg. 7) Posted: Tue Dec 30, 2003 3:18 am
Post subject: Re: Scripting IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > Set obj = GetObject("IIS://LOCALHOST/W3SVC/1/Root")
 > Obj.AccessFlags = 513
 > obj.SetInfo

Thank you. It works Smile

Bye
--
Fabrizio Maccarrone
--
YAMSSQLU
(Yet Another MSSQL User)


"Egbert Nierop (MVP for IIS)" <egbert_nierop.TakeThisOut@nospam.com> wrote in message
news:#p8Gn#lzDHA.2680@TK2MSFTNGP11.phx.gbl...
 > "Fabrizio Maccarrone" <joker197cinqueNO.TakeThisOut@SPAMyahoo.it> wrote in message
 > news:ekCqoqlzDHA.604@tk2msftngp13.phx.gbl...
  > > Sorry..can you make an example using VBS?
  > >
  > > Thank you very much.
 > I gave you the ADSI path.
 >
 > Set obj = GetObject("IIS://LOCALHOST/W3SVC/1/Root")
 > Obj.AccessFlags = 513
 > obj.SetInfo
 >


---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.556 / Virus Database: 348 - Release Date: 27/12/2003<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Scripting IIS 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Scripting IIS - Hello Is it possible to write a script that changes the home directory of a web site on IIS 5 / Win2k? -- Mikael Engdahl

scripting - Hello! Anyone know how I can determine in the IIS 6.0 name of Application Pool by ADSI script? It will be great to see sample code or link. Thanks.

Folder not found using Scripting.FileSystemObject - I am having problem using the fileSystemObject to list folders and files on the remote server. I have checked and granted access base of the Microsoft KB (http://support.microsoft.com/default.aspx?scid=kb;en-us;197964&Product=iis5 0) and for sure it...

Scripting.Dictionary object in Windows 2003? - My question is 2-part: A) Is the scripting.dictionary object a feature of FrontPage 2000 Server Extensions? That is, do the server extensions need to be installed in order to use the scripting.dictionary object? B) Does Windows 2003 Server support the....

Remote Scripting With Clustered Servers - We have a web app that has been in production for a while and it is going to be moved to clustered servers. I need to verify this, but I am pretty certain that both IIS and SQL are running on the same clustered server. (I'm not too familiar with the..
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]