![]() |
|
|
IIS Web Site Manager
Project Home • Blog • Forums • Known Issues • External Project Link • Contact Project
Author: Lance Knight (All RIAForge projects by this author) Description:
Create,Delete and Query your Sites in IIS
Facilitates creation of iis web Sites via access to the command line with CFExecute and iisweb.vbs. Uses technique described here: http://technet2.microsoft.com/windowsserver/en/library/6b672523-789a-4523-8f27-f745802db40b1033.mspx?mfr=true Usage: cfset iis = createObject("component", "com.iisweb").init(cscriptpath, vscriptpath) cfset result = iis.create('name','path','ipaddress','hostheader') cfset result = iis.query('blank for list || sitename || Metabase Path') cfset result = iis.delete('sitename || Metabase Path') cfset result = iis.start('sitename || Metabase Path') cfset result = iis.stop('sitename || Metabase Path') cfset result = iis.pause('sitename || Metabase Path') init() returns this query('blank for list || sitename || Metabase Path') returns a query object () DISCRIPTION ,HOSTHEADER ,IDENTIFIER ,IPNUMBER ,PORT ,STATE create('name','path','ipaddress','hostheader','port') returns a Struct object delete('sitename || Metabase Path') returns a Struct object start('sitename || Metabase Path') returns a Struct object stop('sitename || Metabase Path') returns a Struct object pause('sitename || Metabase Path') pause returns a Struct object I used IIS Virtual Directory Manager and a template for this project. fix space bug 03/07/2009
Requirements:
IIS 6.0 (Ships with Windows Server 2003)
ColdFusion MX6+ Appropriate permissions to run <cfexecute> Must know the path to cscript.exe (usually \windows\system32\ or \winnt\system32\) Issue Tracker:
To enter issues for this (or any other) project, you must be logged in. |
||||||||||||||||||||||||||||||||||||||||
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.