IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 28th, 2008, 12:42 PM
nspiratn nspiratn is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2008
Posts: 1 nspiratn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 46 sec
Reputation Power: 0
Script - HttpRedirect CHILD_ONLY problems

Hi,

I'm trying to automate the redirection of the Default Web Site to a subdirectory (virtual directory) on IIS using the following script:

adsutil.vbs SET w3svc/1/Root/HttpRedirect "/Subdirectory,CHILD_ONLY"

When I open up IIS and look at the Default Web Site properties, I see that the setting has taken effect i.e. The radio button for 'A redirection to a URL' is checked and the redirect url is set to /Subdirectory

Except, when i try to navigate to the website from a web browser, I get a "Page not found" error.

Has anyone come across such a problem before? any ideas on why this is happening and a solution to it?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Script - HttpRedirect CHILD_ONLY problems


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT