Luis Ribeiro Posted December 19, 2014 Share Posted December 19, 2014 Hi, I dont know if anyone here had a possible solution to the problem of visualizing the entire URL. I found an easy way just by using HTML code in the webserver. For example: instead of presenting "http://www.mydomain.com/app/uniapp.dll", show only "http://www.mydomain.com". Download and extract the file "index.zip" and modify the HTML code, to your case... UniGUI is excelent, Farshad!... Great work! Congrats! Luis Ribeiro https://www.dropbox.com/s/obi9u3xbo1mreki/index.zip?dl=0 2 Quote Link to comment Share on other sites More sharing options...
adragan Posted December 20, 2014 Share Posted December 20, 2014 Great , it works !! Tranks ! Quote Link to comment Share on other sites More sharing options...
ZigZig Posted December 20, 2014 Share Posted December 20, 2014 Thanks 2rib, but I think that this solution is not a good way for referencing tools or search engines (like Google). A better way to achieve the same result is by using URL Rewrite on server side: http://www.iis.net/downloads/microsoft/url-rewrite . Hope it'll help 1 Quote Link to comment Share on other sites More sharing options...
Marlon Nardi Posted December 20, 2014 Share Posted December 20, 2014 There is another simple way also, if you are using IIS:1 - Select your Website or Application (depends on how you created it).2 - Select the standard document option,3 - Add the name of your DLL 3 Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted December 20, 2014 Share Posted December 20, 2014 A big thx :-) Quote Link to comment Share on other sites More sharing options...
wangxuebin Posted December 21, 2014 Share Posted December 21, 2014 HI! I can't reach the https://www.dropbox..../index.zip?dl=0 Quote Link to comment Share on other sites More sharing options...
Luis Ribeiro Posted December 21, 2014 Author Share Posted December 21, 2014 HI! I can't reach the https://www.dropbox..../index.zip?dl=0 strange .. I've been testing and it's working try again please, or send me your e-mail. Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted December 22, 2014 Share Posted December 22, 2014 Hi, A good article : http://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module Ok, Let say you have just suscribe a VPS server, and you want to hide your IP adresse : www.xxx.xxx.x.x/myproject.dll To www.mycompany.com/myproject OK, with rewrite 2.0 module you can do it easily. Question : Is the server just display "mycompany.com" or must i buy a domaine mycompany.com ? In the first case (juste a display), what about a conflict domaine if mycompany.com existe realy ? Thx. Quote Link to comment Share on other sites More sharing options...
lema Posted December 23, 2014 Share Posted December 23, 2014 Question : Is the server just display "mycompany.com" or must i buy a domaine mycompany.com ? In the first case (juste a display), what about a conflict domaine if mycompany.com existe realy ? Thx. In order to see your VPS under a domain name and not with its IP address, you have 2 options. 1. Buy a domain name 2. Use your domain name and give a subdomain name to the VPS. Lets say that your VPS has the ip 1.2.3.4 and your main domain is mycompany.com Add an A record to your DNS zone with a subdomain name (e.g. webapps.mycompany.com.) and 1.2.3.4 as IP 1 Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted December 23, 2014 Share Posted December 23, 2014 Thx Lema >> 2. Use your domain name and give a subdomain name to the VPS Is that possible if my actually domain name was buy from a company A and my new VPS from a company B ? Thx Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted December 23, 2014 Share Posted December 23, 2014 Thx Lema >> 2. Use your domain name and give a subdomain name to the VPS Is that possible if my actually domain name was buy from a company A and my new VPS from a company B ? Thx Quote Link to comment Share on other sites More sharing options...
lema Posted December 23, 2014 Share Posted December 23, 2014 Thx Lema >> 2. Use your domain name and give a subdomain name to the VPS Is that possible if my actually domain name was buy from a company A and my new VPS from a company B ? Thx Yes, it is possible. Of course you need access to your DNS entries in order to add a new record. Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted December 23, 2014 Share Posted December 23, 2014 Thank you very much lema. Quote Link to comment Share on other sites More sharing options...
chefdackel Posted December 24, 2014 Share Posted December 24, 2014 Yes, it is possible. Of course you need access to your DNS entries in order to add a new record. and to get all functions running with one and only domain name. So you can host "mydomain.com" at provider A as a classic website (www.) and as domain for your mail, but also create a subdomain ("subdomain1.mydomain.com") and point that subdomain to provider B (111.222.333.444), where you host your VPS. Thats also important if you want to use SSL with your domain, get a wildcard certificate for your domain and run the secured UniGUI applications on "subdomain1.mydomain.com". So you even can change the VPS where you host your UniGUI applications very easily: change the DNS entries of the subdomain and you are done. brfc 1 Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted December 25, 2014 Share Posted December 25, 2014 Hi 2Rib, Thank you for sharing your index.zip Can you upload it again (it seems bad ZIP file). Best regards. Quote Link to comment Share on other sites More sharing options...
Luis Ribeiro Posted December 25, 2014 Author Share Posted December 25, 2014 It's better to share the html code... Create a file named " index.html" and copy the following code into it ----------------------------------------------------------------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 FRAMESET//EN"> <HTML> <HEAD> <TITLE>Welcome</TITLE> </HEAD> <link rel="shortcut icon" href="your-icon.ico" type="image/x-icon" /> <link rel="icon" href="your-icon.ico" type="image/x-icon" /> <FRAMESET ROWS="100%"> <FRAME SRC="http://your-domain.com/apps/app-name.dll"> <NOFRAMES> <HEAD> <TITLE>Welcome</TITLE> <META HTTP-EQUIV="REFRESH" CONTENT="0; URL='http://your-domain.com/apps/app-name.dll'"> </HEAD> <BODY> <P>Your browser does not seem to support frames or frame support has been disabled.</P> <P>Please <A HREF="http://your-domain.com/apps/app-name.dll">click here</A> to proceed to the site.</P> </BODY> </NOFRAMES> </FRAMESET> <FRAMESET ROWS="100%"> <FRAME SRC="http://www.your-domain.com/apps/app-name.dll"> <NOFRAMES> <HEAD> <TITLE>Welcome</TITLE> <META HTTP-EQUIV="REFRESH" CONTENT="0; URL='http://www.your-domain.com/apps/app-name.dll'"> </HEAD> <BODY> <P>Your browser does not seem to support frames or frame support has been disabled.</P> <P>Please <A HREF="http://www.your-domain.com/apps/app-name.dll">click here</A> to proceed to the site.</P> </BODY> </NOFRAMES> </FRAMESET> </HTML> 1 Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted December 26, 2014 Share Posted December 26, 2014 Thx 2rib. Quote Link to comment Share on other sites More sharing options...
Beginner Posted June 20, 2018 Share Posted June 20, 2018 Hi all Tell me anybody how hide dll after logout to login form..I'm deploy IIS by manual default document I set dll but when logaut to login form in adressbar showing dll Best regards Quote Link to comment Share on other sites More sharing options...
GerhardV Posted June 20, 2018 Share Posted June 20, 2018 Hi all Tell me anybody how hide dll after logout to login form..I'm deploy IIS by manual default document I set dll but when logaut to login form in adressbar showing dll Best regards Which version of UniGUI? Quote Link to comment Share on other sites More sharing options...
erich.wanker Posted June 25, 2018 Share Posted June 25, 2018 i made it with the uniGui-loading gif .. 1. create a index.html file with lines like: <!DOCTYPE html> <head> <title>... loading...</title> <meta http-equiv="X-UA-Compatible" content="IE=edge"><style type="text/css">body { margin: 0; overflow: hidden; } #iframe{position:absolute;left:0px;top:0px;z-index:1;width:100%;height:100%;border:none;}#cover {position:absolute;left:0px;top:0px;z-index:2;width:100%;height:100%;background:#ffffff;background:url(/files/loading.gif) no-repeat center center;}#loading-mask { position:absolute;left:0;top:0;width:100%;height:100%;z-index:20000;background-color: #e2e2e2;}#loading {position: absolute; left:50%;top:50%;padding:2px;z-index:20001;height:auto;margin:-35px 0 0 -30px;}#loading .loading-indicator { background: url(/files/loading.gif) no-repeat;color:#555;font:bold 13px tahoma,arial,helvetica;padding:16px 52px;margin:0;text-align:center;height:auto;}</style><script type="text/javascript">function on_load(iframe) {try {var doc = iframe.contentDocument || iframe.contentWindow.document; document.getElementById("loading-mask").style.display = "none"; document.getElementById("loading").style.display = "none";} catch (e) { alert('exception:' + e);}}</script></head><body><iframe id="iframe"src="uniGUI.dll" frameborder="0" onload="on_load(this)"></iframe><div id="loading-mask"></div><div id="loading"><div class="loading-indicator">Loading...</div></div></body></html> 2. Point the uniGui to the same adress when terminate unit ServerModule -> ServerMessages -> Exception Template: <script type="text/javascript"><!-- window.location.reload(); //--> </script> InvalidSession <script type="text/javascript"> <!-- window.location.reload(); //--> </script> .. Hope that helps Erich Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.