Archive of UserLand's first discussion group, started October 5, 1998.
Re: Redirection thru file system for IIS?
Author: Dennis Peterson Posted: 7/26/1999; 12:57:16 PM Topic: Redirection thru file system for IIS? Msg #: 8771 (In response to 8761) Prev/Next: 8770 / 8772
I just tried this, and it just redirects to the specific URL you type in. In other words if you want to redirect from http://www.site1.com/Directory1 to http://www.site2.com/Directory2, it would be nice to click on Directory1, and type "http://www.site2.com/Directory2" in the text box for the redirect, and all files in that folder would be redirected to corresponding files in Directory2. Doesn't work that way. It just directs to the URL you typed, and if it's a directory and you don't have directory browse access you get an error. So this would be useful for redirecting to a "site has moved" type page, not much else. If there's a way to make this work I'd like to see it.The quick hack would just be to put: response.redirect "newlocation.htm" in place of (or at the top of) each page to send the redirect header. Just a little tedious if there are lots of files.
There are responses to this message:
- Re: Redirection thru file system for IIS?, Dave Winer, 7/26/1999; 1:00:26 PM
This page was archived on 6/13/2001; 4:51:33 PM.
© Copyright 1998-2001 UserLand Software, Inc.