Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

ASP -> ASPX re-directs at the server level, rather than in..

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Https to Http  
Author Message
theartiststillknownasgarv

External


Since: Jan 19, 2008
Posts: 7



(Msg. 1) Posted: Sun Feb 03, 2008 11:03 am
Post subject: ASP -> ASPX re-directs at the server level, rather than individual
Archived from groups: microsoft>public>inetserver>iis (more info?)

We are in the process of upgrading an older site, replacing ASP files with
ASPX, progressively.

For each completed page, we are leaving a redirection stub, so that
"Page1.asp?id=123" no longer has any content, simply:

response.redirect("page1.aspx?id=" & request.querystring("id"))

This works, and passes the one designated parameter along as well.

But it seems to me that there should be a simpler way, at the site level, to
provide a list of pages and their new name or "alias".

I've tried doing re-directs on a file-by-file basis, but I do not see how to
pass the query string along. This technique also seems to require a full URL,
and that causes trouble the development environment, unless I use Local Host
or 127.0.0.1. I cannot seem to just enter a relative URL, IIS 6 tells me "the
path is not a valid URL" if I only enter the file name.

(using VS2008 / .NET 3.5 / IIS 6.0 / Server 2003)

 >> Stay informed about: ASP -> ASPX re-directs at the server level, rather than in.. 
Back to top
Login to vote
"Lognoul, Marc

External


Since: Feb 05, 2008
Posts: 21



(Msg. 2) Posted: Tue Feb 05, 2008 3:05 pm
Post subject: Re: ASP -> ASPX re-directs at the server level, rather than individual [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

Maybe RemapUrl from the IIS Resource Kit can do the job. You have to install
it on IIS and configure the mapping in an .ini file.
http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a...73-b628

KR,
Marc



"theartiststillknownasgarvin" <tommyg DeleteThis @nospam.nospam> wrote in message
news:A24A2B9F-469C-45C1-8F65-EA2595C8F425@microsoft.com...
> We are in the process of upgrading an older site, replacing ASP files with
> ASPX, progressively.
>
> For each completed page, we are leaving a redirection stub, so that
> "Page1.asp?id=123" no longer has any content, simply:
>
> response.redirect("page1.aspx?id=" & request.querystring("id"))
>
> This works, and passes the one designated parameter along as well.
>
> But it seems to me that there should be a simpler way, at the site level,
> to
> provide a list of pages and their new name or "alias".
>
> I've tried doing re-directs on a file-by-file basis, but I do not see how
> to
> pass the query string along. This technique also seems to require a full
> URL,
> and that causes trouble the development environment, unless I use Local
> Host
> or 127.0.0.1. I cannot seem to just enter a relative URL, IIS 6 tells me
> "the
> path is not a valid URL" if I only enter the file name.
>
> (using VS2008 / .NET 3.5 / IIS 6.0 / Server 2003)

 >> Stay informed about: ASP -&gt; ASPX re-directs at the server level, rather than in.. 
Back to top
Login to vote
theartiststillknownasgarv

External


Since: Jan 19, 2008
Posts: 7



(Msg. 3) Posted: Tue Feb 05, 2008 3:05 pm
Post subject: Re: ASP -> ASPX re-directs at the server level, rather than indivi [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Yes, this is what I was looking for.

Downloading now...

"Lognoul, Marc (Private)" wrote:

> Hi,
>
> Maybe RemapUrl from the IIS Resource Kit can do the job. You have to install
> it on IIS and configure the mapping in an .ini file.
> http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a...73-b628
>
> KR,
> Marc
>
>
>
> "theartiststillknownasgarvin" <tommyg.RemoveThis@nospam.nospam> wrote in message
> news:A24A2B9F-469C-45C1-8F65-EA2595C8F425@microsoft.com...
> > We are in the process of upgrading an older site, replacing ASP files with
> > ASPX, progressively.
> >
> > For each completed page, we are leaving a redirection stub, so that
> > "Page1.asp?id=123" no longer has any content, simply:
> >
> > response.redirect("page1.aspx?id=" & request.querystring("id"))
> >
> > This works, and passes the one designated parameter along as well.
> >
> > But it seems to me that there should be a simpler way, at the site level,
> > to
> > provide a list of pages and their new name or "alias".
> >
> > I've tried doing re-directs on a file-by-file basis, but I do not see how
> > to
> > pass the query string along. This technique also seems to require a full
> > URL,
> > and that causes trouble the development environment, unless I use Local
> > Host
> > or 127.0.0.1. I cannot seem to just enter a relative URL, IIS 6 tells me
> > "the
> > path is not a valid URL" if I only enter the file name.
> >
> > (using VS2008 / .NET 3.5 / IIS 6.0 / Server 2003)
>
 >> Stay informed about: ASP -&gt; ASPX re-directs at the server level, rather than in.. 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]