Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Setting up Host Header from website
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

sr_erick
Senior Member

USA
1318 Posts

Posted - 16 April 2004 :  21:54:51  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
I've run into something which would be nice to do. I've done a search on the web but couldn't find anything specific. Is there a way in which I can interact with IIS from an ASP script to set up a host header on a particular website?

Also, can similar methods be used to set up a complete website in IIS?

Thanks!




Erick
Snowmobile Fanatics

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 17 April 2004 :  05:05:44  Show Profile  Visit HuwR's Homepage
yes is the simple answer on both counts try doing a search on google for ADSI4NT
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 17 April 2004 :  06:00:23  Show Profile
Thanks Huwr, that is one piece of wicked stuff that web interface. I would not leve it on the server unless you have real good security. I got the web pages from: www.adsi4nt.com and it was so simple to get working.

I am able to add, start/stop web sites and create/delete users. You need to setup execute permissions on the directory you have you files in with-in IIS before it works properly.

Cheers,

David Greening
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 17 April 2004 :  13:23:30  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
WOW, that thing is great. All the code is right there. Now I can do even more than I initially wanted. Say, what's going to stop just anyone with a website from uploading this code and using it on thier hosting plan? It does have me worried in that sense.




Erick
Snowmobile Fanatics

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 17 April 2004 :  13:39:56  Show Profile  Visit HuwR's Homepage
because it will only work if the directory you install it to runs in the context of an admin, so if you just uploaded it to your webserver and ran it, most of the functions would not work.
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 17 April 2004 :  21:12:31  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
Ah I see, yea I found that out I guess while trying to use bits and parts of the code to do what I wanted on my page. Need to authenticate with admin account to edit things.




Erick
Snowmobile Fanatics

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07