Reputation: 975
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
Upvotes: 2
Views: 2154
Reputation: 192627
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.
Upvotes: 0
Reputation: 1004
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]
Upvotes: 2
Reputation: 5946
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
Upvotes: 0
Reputation: 4379
You can write ISAPI filter and change the URI as you like. There are, of course, ready commercial and free ones
Upvotes: 1