2

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

Francis Lee
  • 975
  • 8
  • 23

4 Answers4

2

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
  • 1,004
  • 1
  • 6
  • 5
1

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

Dmitry Khalatov
  • 4,313
  • 3
  • 33
  • 39
0

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
  • 189,189
  • 101
  • 473
  • 713
0

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
  • 5,896
  • 12
  • 58
  • 95