Jump to content

Recommended Posts

  • 1 year later...
Posted

Try to create simple html and insert frame with your dll path


<head>
<script>
function getInlineFrame()
{
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>
  • Like 1
  • 8 months later...
Posted

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.

  • Upvote 1
  • 4 months later...
Posted

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>
  • 2 weeks later...
Posted

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.

Posted

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

Posted

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

 

 

 

post-895-0-70972900-1496940905_thumb.png

Posted

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.

Posted

I got it.  Turns our the IIS URL Rewrite module did not do a clean install.  Running a repair fixed it right up.

 

Thanks

  • 1 year later...
×
×
  • Create New...