Search code examples
iisisapi

Is possible to hide a .dll extension in a url


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


Solution

  • 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]