Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Mon, 21 Apr 2008 13:29:19 +0700,    group: microsoft.public.platformsdk.internet.server.isapi-dev        back       


Filter to Redirect URL Address   
Hi,

I have a requirement to detect this kind of request :
http://rootsite/XYZ/aaa/bbb/c.xls

and replace it with
http://rootsite/JKL/aaa/bbb/c.xls

so i need to detect a part of the url and change it into something else.

Can this be accomplished using ISAPI filters?
If yes, how would I start?

thanks'
date: Mon, 21 Apr 2008 13:29:19 +0700   author:   Asfar Sadewa

Re: Filter to Redirect URL Address   
On Apr 20, 11:29 pm, "Asfar Sadewa"  wrote:
> Hi,
>
> I have a requirement to detect this kind of request :http://rootsite/XYZ/aaa/bbb/c.xls
>
> and replace it withhttp://rootsite/JKL/aaa/bbb/c.xls
>
> so i need to detect a part of the url and change it into something else.
>
> Can this be accomplished using ISAPI filters?
> If yes, how would I start?
>
> thanks'


You can do most anything with ISAPI Filters, but it is not easy. The
real question is do you NEED to do it with ISAPI Filters or can you
accomplish the same thing with something simpler.

Can you read the following blog entry and identify exactly what you
are trying to do, not how you think it should be done? Perhaps you
don't even need to deal with ISAPI Filter at all.

http://blogs.msdn.com/david.wang/archive/2005/08/01/HOWTO_Common_URL_Redirection_Techniques_for_IIS_Summary.aspx


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
date: Mon, 21 Apr 2008 11:32:52 -0700 (PDT)   author:   David Wang

Re: Filter to Redirect URL Address   
Hi David,

thanks' for the article. it's a good read.
I managed to solve my requirement w/o ISAPI filters, an HttpHandler turns 
out to be sufficient for my needs.

thanks'



"David Wang"  wrote in message 
news:cbf862af-cd1c-4957-8fec-0e6a805b9729@k10g2000prm.googlegroups.com...
On Apr 20, 11:29 pm, "Asfar Sadewa"  wrote:
> Hi,
>
> I have a requirement to detect this kind of request 
> :http://rootsite/XYZ/aaa/bbb/c.xls
>
> and replace it withhttp://rootsite/JKL/aaa/bbb/c.xls
>
> so i need to detect a part of the url and change it into something else.
>
> Can this be accomplished using ISAPI filters?
> If yes, how would I start?
>
> thanks'


You can do most anything with ISAPI Filters, but it is not easy. The
real question is do you NEED to do it with ISAPI Filters or can you
accomplish the same thing with something simpler.

Can you read the following blog entry and identify exactly what you
are trying to do, not how you think it should be done? Perhaps you
don't even need to deal with ISAPI Filter at all.

http://blogs.msdn.com/david.wang/archive/2005/08/01/HOWTO_Common_URL_Redirection_Techniques_for_IIS_Summary.aspx


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
date: Tue, 22 Apr 2008 09:14:21 +0700   author:   Asfar Sadewa

Re: Filter to Redirect URL Address   
You can USE an existing filter to do what you want - 
try www.codeplex.com/IIRF. 

(I know this is an old article, and I am starting to sound like a broken 
record. I know. )


"Asfar Sadewa" wrote:

> Hi David,
> 
> thanks' for the article. it's a good read.
> I managed to solve my requirement w/o ISAPI filters, an HttpHandler turns 
> out to be sufficient for my needs.
> 
> thanks'
> 
> 
> 
> "David Wang"  wrote in message 
> news:cbf862af-cd1c-4957-8fec-0e6a805b9729@k10g2000prm.googlegroups.com...
> On Apr 20, 11:29 pm, "Asfar Sadewa"  wrote:
> > Hi,
> >
> > I have a requirement to detect this kind of request 
> > :http://rootsite/XYZ/aaa/bbb/c.xls
> >
> > and replace it withhttp://rootsite/JKL/aaa/bbb/c.xls
> >
> > so i need to detect a part of the url and change it into something else.
> >
> > Can this be accomplished using ISAPI filters?
> > If yes, how would I start?
> >
> > thanks'
> 
> 
> You can do most anything with ISAPI Filters, but it is not easy. The
> real question is do you NEED to do it with ISAPI Filters or can you
> accomplish the same thing with something simpler.
> 
> Can you read the following blog entry and identify exactly what you
> are trying to do, not how you think it should be done? Perhaps you
> don't even need to deal with ISAPI Filter at all.
> 
> http://blogs.msdn.com/david.wang/archive/2005/08/01/HOWTO_Common_URL_Redirection_Techniques_for_IIS_Summary.aspx
> 
> 
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> // 
> 
> 
>
date: Sat, 14 Jun 2008 18:32:00 -0700   author:   Cheeso

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us