The rewrite module is very powerful, and is close to being native software... (I don't think of it as 3rd party)
* * *ASB* *http://XeeMe.com/AndrewBaker* *Harnessing the Advantages of Technology for the SMB market… * On Mon, Nov 28, 2011 at 2:12 PM, Joseph L. Casale <[email protected] > wrote: > Actually, at the moment its broken (confirmed bug in installer), it > needs to be: > <add wildcard="/vdir_redir.htm" destination="start.html" /> > not > <add wildcard="/vdir/vdir_redir.htm" destination="/vdir/start.html" /> > to work as you and I expected. Otherwise not all requests as you listed > actually redirect as was expected. > > Thats solved now, so I also wanted to redirect an http connection to an > https connection. > I simply used the rewrite module but don't like that as it requires > additional software. > > I guess the options are a setting up a new website and bind them > exclusively to 80 or 443 (most secure), otherwise just customer error pages > with a redirection? > > Thanks! > jlc > > ------------------------------ > *From:* Ken Schaefer [[email protected]] > *Sent:* Sunday, November 27, 2011 9:45 PM > > *To:* NT System Admin Issues > *Subject:* RE: IIS 7.5 Wildcard redirect and SSL > > Hi, > > > > What exactly are you trying to achieve? > > > > At the moment, requests for > http://server/vdir > > http://server/vdir/ > > http://server/vdir/vdir_redir.htm > > would redirect to > > http://server/vdir/start.html > > > > Is that what you want to happen? Otherwise, can you explain more what > “does not work” means? > > > > Cheers > > Ken > > > > *From:* Joseph L. Casale [mailto:[email protected]] > *Sent:* Thursday, 24 November 2011 3:45 AM > *To:* NT System Admin Issues > *Subject:* IIS 7.5 Wildcard redirect and SSL > > > > I have an app that modifies applicationHost.config and removes the default > doc types and adds its own to a single html file it creates in its webroot > for the virtual directory. > > It then sets a wildcard redirect for that file to a url that a user should > start with. > > Problem is the method they use does not work unless a redirect on the > default website (not just a virtual dir) is in place? > > The code they add to applicationHost.config is: > <location path="Default Web Site/vdir"> > <system.webServer> > <httpRedirect enabled="true" exactDestination="true"> > <add wildcard="/vdir/vdir_redir.htm" > destination="/vdir/start.html" /> > </httpRedirect> > <defaultDocument> > <files> > <clear /> > <add value="Default.htm" /> > <add value="Default.asp" /> > <add value="index.htm" /> > <add value="index.html" /> > <add value="iisstart.htm" /> > <clear /> > <add value="vdir_redir.htm" /> > </files> > </defaultDocument> > </system.webServer> > </location> > > Anyone more experienced with IIS 7.5 know what this should look like? > Ultimately, I stumbled across this when trying to setup an http to https > redirect and had some unexplainable issues. > Thanks, > jlc > > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin
