Jump to content


Photo

how to hiding Dll extension in the url in IIS?


  • Please log in to reply
6 replies to this topic

#1 alf

alf

    Member

  • uniGUI Subscriber
  • PipPip
  • 42 posts

Posted 27 April 2014 - 12:32 PM

Hello all:

 

How to hiding  Dll extension in the url in IIS?

 

 

Thanks

 


  • 0

#2 brunotoira

brunotoira

    Member

  • Members
  • PipPip
  • 37 posts

Posted 28 April 2014 - 02:36 PM

+1


  • 0

#3 hootchi

hootchi

    Member

  • Members
  • PipPip
  • 15 posts

Posted 30 April 2014 - 08:23 AM

How to hiding  Dll extension in the url in IIS?

 

I alway set dll as Default Document on IIS and it works well :)


  • 0

Windows 8.1 Pro x64 | XE7 | uniGUI 0.98.0.1114


#4 ywlfff

ywlfff

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 13 April 2016 - 05:40 AM

I alway set dll as Default Document on IIS and it works well :)

Why didn't I do this effect


  • 0

#5 YuriO

YuriO

    Member

  • uniGUI Subscriber
  • PipPip
  • 46 posts

Posted 13 April 2016 - 02:11 PM

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>

  • 0

#6 ZigZig

ZigZig

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 319 posts

Posted 13 April 2016 - 07:36 PM

Use URL Rewrite on IIS.


  • 0

#7 delphidude

delphidude

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 128 posts
  • LocationNorway

Posted 05 January 2017 - 12:51 AM

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.


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users