tags:

views:

226

answers:

4

Hello there,

I'm looking for a trick to hide the .dll extension of an isapi dll in an url. I don't know if this is possible. but I preffer to hide it.

Example www.mysite.com/test/myapp.dll/testfunction

would be www.mysite.com/test/myapp/testfunction

Thank you very much

A: 

This link may be of use

EDIT: The link above is actually confusing as I don't think it solves the problem at hand.

These two links this One requires some coding, this One requires some IIS Setup

Dean
+1  A: 

You can write ISAPI filter and change the URI as you like. There are, of course, ready commercial and free ones

Dmitry Khalatov
+2  A: 

You may change the link on page to say ww.mysite.com/test/myapp/testfunction and use the following config with ISAPI_Rewrite 3:

RewriteBase/

RewriteRule ^test/myapp/testfunction$ /test/myapp.dll/testfunction [NC,L]

TonyCool
A: 

In IIRF, a free URL rewriter for IIS5/6/7, you can do this:

RewriteRule  ^/test/([^/]+)/([^/]+)$  /test/$1.dll/$2   [I,L]

This rule has wild-card matching on the DLL name and function.

Lots more possibilities, too.

Cheeso