IIS Server - ISAPI rewrite

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > December 2005 > ISAPI rewrite





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ISAPI rewrite
kk

2005-12-27, 6:06 pm

Hello all,

I have one URL which is displayed as
http://www.abc.com/Documents/Solutions . I want to change this url into
http://www.abc.com/default.aspx?Roo...ents/Solutions.

While searching i read about isapirewrite
tool(http://www.isapirewrite.com),but i was not clear how to use this
tool.If anyone know how to use this tool,Please let me know.

I want some basic things about how to use,where to use.........Any
Links or code snippets will be helpful..

Thanks and Regards,
karthik

Kristofer Gafvert

2005-12-27, 6:06 pm

Have you checked their documentation?

http://www.isapirewrite.com/docs/

In particular the example section:
http://www.isapirewrite.com/docs/#examples

Questions specific to this product is also best answered in their support
forum:

http://www.helicontech.com/forum/di...s.asp?ForumID=2

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


kk wrote:

>Hello all,
>
>I have one URL which is displayed as
>http://www.abc.com/Documents/Solutions . I want to change this url into
>http://www.abc.com/default.aspx?Roo...ents/Solutions.
>
>While searching i read about isapirewrite
>tool(http://www.isapirewrite.com),but i was not clear how to use this
>tool.If anyone know how to use this tool,Please let me know.
>
>I want some basic things about how to use,where to use.........Any
>Links or code snippets will be helpful..
>
>Thanks and Regards,
>karthik

kk

2005-12-28, 7:53 am

Thanks for your reply.

I installed the tool ISAPI-Rewrite Lite(freeware).In IIS in ISAPI
filter tab i saw the filter name only.Its status(No green color) and
priority is unknown.I think that it may be installation problem.As i am
new to this ,can you help me how to install(steps to follow) .I also
posted in the forum you given.No reply untill now.

Regards,
karthik

Kristofer Gafvert

2005-12-28, 7:53 am

An ISAPI filter is not loaded until a request is made that calls the ISAPI
filter (IIS 6.0).

So perhaps it has not yet been called/used?

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


kk wrote:

>Thanks for your reply.
>
>I installed the tool ISAPI-Rewrite Lite(freeware).In IIS in ISAPI
>filter tab i saw the filter name only.Its status(No green color) and
>priority is unknown.I think that it may be installation problem.As i am
>new to this ,can you help me how to install(steps to follow) .I also
>posted in the forum you given.No reply untill now.
>
>Regards,
>karthik

kk

2005-12-28, 7:53 am

Now that green mark is there.I didn't change anything.I don't know how
it is changed.

I have IIS6.0 and WSS.
In IIS the filter is added only in web sites folder.Not in the
IP(192.168.1.112 ie localhost) in IIS.
But i want to change the url of the localhost from

http://192.168.1.122/Shared Documents/Solutions into
http://192.168.1.122/default.aspx?RootFolder=/Shared
Documents/Solutions format.

Can you please tell me how to check it is working.

Regards,
karthik

Kristofer Gafvert

2005-12-29, 2:51 am

>Now that green mark is there.I didn't change anything.I don't know how
>it is changed.


I explained this is my earlier response...

>In IIS the filter is added only in web sites folder.Not in the
>IP(192.168.1.112 ie localhost) in IIS.


I am quoting from the documentation, to which i gave you a link to in the
beginning:

"Lite and Full versions of ISAPI_Rewrite shares the same rewriting engine
and source code. But Lite version does not support per-site configurations
and all relative features. Only global rules are processed. In addition
Lite version does not include proxying engine. The following directives
are not supported in the Lite version: RewriteProxy, EnableRewrite,
DisableRewrite, EnableConfig, DisableConfig, CacheClockRate. The following
flags are not supported in the Lite version: P - proxy."

Since the lite-version does not support per-site configuration, they
probably installed it globally.

The regex expression would probably look something like:

RewriteRule /Shared Documents/Solutions /default.aspx\?RootFolder=/Shared
Documents/Solutions [I,L]


This is however not tested...


--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


kk wrote:

>Now that green mark is there.I didn't change anything.I don't know how
>it is changed.
>
>I have IIS6.0 and WSS.
>In IIS the filter is added only in web sites folder.Not in the
>IP(192.168.1.112 ie localhost) in IIS.
>But i want to change the url of the localhost from
>
>http://192.168.1.122/Shared Documents/Solutions into
>http://192.168.1.122/default.aspx?RootFolder=/Shared
>Documents/Solutions format.
>
>Can you please tell me how to check it is working.
>
>Regards,
>karthik

kk

2005-12-29, 2:51 am

Once again thanks for your reply.

I want to test the working of ISAPI_Rewrite.
I have one SharePoint Site whose url is http://192.168.1.122
To test from this site , whether i have to put that httpd.ini in
Virtual directory of that site(C:\Inetpub\wwwroot\192.168.1.122).
If you don't mind,can you please help me how to test URL Redirection.

Thanks
karthik

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com