PALF Posted April 27, 2014 Share Posted April 27, 2014 Hello all: How to hiding Dll extension in the url in IIS? Thanks Link to comment Share on other sites More sharing options...
brunotoira Posted April 28, 2014 Share Posted April 28, 2014 +1 Link to comment Share on other sites More sharing options...
hootchi Posted April 30, 2014 Share Posted April 30, 2014 How to hiding Dll extension in the url in IIS? I alway set dll as Default Document on IIS and it works well Link to comment Share on other sites More sharing options...
ywlfff Posted April 13, 2016 Share Posted April 13, 2016 I alway set dll as Default Document on IIS and it works well Why didn't I do this effect Link to comment Share on other sites More sharing options...
radiocab Posted April 13, 2016 Share Posted April 13, 2016 Try to create simple html and insert frame with your dll path <head><script> function getInlineFrame() { s="http://127.0.0.1/your.dll"+window.location.search; document.getElementById('InlineFrame1').src=s; } </script> </head> <body onload="getInlineFrame();"> <div id="Layer1" style="position:fixed;left:0px;top:0px;right:0px;bottom:0px;z-index:2;" title=""> <iframe name="InlineFrame1" id="InlineFrame1" style="position:absolute;left:0%;top:0%;width:100%;height:100%;z-index:0;" src="about:blank" frameborder="0">Your browser does not support inline frames or is currently configured not to display inline frames.</iframe> </div> </body> 1 Link to comment Share on other sites More sharing options...
ZigZig Posted April 13, 2016 Share Posted April 13, 2016 Use URL Rewrite on IIS. Link to comment Share on other sites More sharing options...
Ron Posted January 5, 2017 Share Posted January 5, 2017 Just discovered how to do it on apache, just use DirectoryIndex <Directory "C:/mydlldir/"> Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all DirectoryIndex mydll.dll</Directory>Alias /myapp "C:/mydlldir" Navigating to http://myserver.com/myapp will load the dll, hiding the extension in the url. You should be able to set the directory index file specifically in IIS too, of course. 1 Link to comment Share on other sites More sharing options...
IRWANTO82 Posted May 26, 2017 Share Posted May 26, 2017 Just discovered how to do it on apache, just use DirectoryIndex <Directory "C:/mydlldir/"> Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all DirectoryIndex mydll.dll </Directory> Alias /myapp "C:/mydlldir" Navigating to http://myserver.com/myapp will load the dll, hiding the extension in the url. You should be able to set the directory index file specifically in IIS too, of course. i use this but every logout to login form again, original .dll will appear in url link so i use this <html> <head> </head> <frameset rows="100%,*" border="0"> <frame src="http://domain.com/your.dll" frameborder="0"></frame> <frame frameborder="0" noresize=""></frame> </frameset> </html> Link to comment Share on other sites More sharing options...
rencarnacion Posted May 29, 2017 Share Posted May 29, 2017 You can add a DLL as a default document in Your Virtual Folder or Application in the IIS then You can hide de DLL http://youraddress/ Link to comment Share on other sites More sharing options...
ZigZig Posted May 29, 2017 Share Posted May 29, 2017 Imho, the simpliest and easiest way is by using "URL Rewrite" on IIS. Link to comment Share on other sites More sharing options...
daveelt Posted June 8, 2017 Share Posted June 8, 2017 Can anyone tell me if they got URL rewrite working. I have tried all alterations and have been unable to get it to rewrite for the DLL. Any help would be appreciated. Link to comment Share on other sites More sharing options...
ZigZig Posted June 8, 2017 Share Posted June 8, 2017 I did Link to comment Share on other sites More sharing options...
Marlon Nardi Posted June 8, 2017 Share Posted June 8, 2017 This is very simple if it is IIS: or page 6 https://store.falconsistemas.com.br/documentacao/publicando_sua_aplicacao_no_IIS_ISAPI_Module.pdf Link to comment Share on other sites More sharing options...
daveelt Posted June 8, 2017 Share Posted June 8, 2017 I can make it the default document, but don't necessarily want it to be the default. I am trying to get URL rewrite to work and while I can get test the matching successfully, the rewrite does not happen when coming into the server. Can someone that has gotten URL rewrite to work give me their process? I must be missing something somewhere. Thanks Link to comment Share on other sites More sharing options...
ZigZig Posted June 8, 2017 Share Posted June 8, 2017 Could you please tell what is your original URL, and how do you want it should like ? Link to comment Share on other sites More sharing options...
ZigZig Posted June 8, 2017 Share Posted June 8, 2017 Could you please tell what is your original URL, and how do you want it should like ? Link to comment Share on other sites More sharing options...
daveelt Posted June 8, 2017 Share Posted June 8, 2017 my original is xx.xxxxx.com/XXXXX.dll and I want xx.xxxxx.com/xxxxx to be what the user would type to reach it. Link to comment Share on other sites More sharing options...
ZigZig Posted June 8, 2017 Share Posted June 8, 2017 Hi, Click on "Add a rule", then fill the pop-up window as shown in this screenshot (it is the French-translated version of URLRewrite because my Windows Server is on a French server, but you'll find the same fields in the same place in English). Don't forget to check the two checkboxes in the bottom of the screen. More détails here: https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module Link to comment Share on other sites More sharing options...
daveelt Posted June 8, 2017 Share Posted June 8, 2017 Thank you for your help. Unfortunately, I tried that way and it will not do the rewrite. The error shows it cannot find the file https://xx.xxxxx.com/xxxxx I am thinking there must be some setting in the IIS server preventing the rewrite. Just can't find it. Link to comment Share on other sites More sharing options...
daveelt Posted June 8, 2017 Share Posted June 8, 2017 I got it. Turns our the IIS URL Rewrite module did not do a clean install. Running a repair fixed it right up. Thanks Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted March 5, 2019 Share Posted March 5, 2019 Hi I use the publicando_sua_aplicacao_no_IIS_ISAPI_Module.pdf and set my address to https://x.x.com. Now how to I can access ServerModule ControlPanel ? I want see my server ControlPanel in https://x.x.com/server Best Regards. Link to comment Share on other sites More sharing options...
Recommended Posts