User Friendly url

Forum to discuss the Web client version of Servoy.

User Friendly url

Postby davidaarong » Fri Oct 10, 2008 7:56 pm

I want a user friendly url (e.g. http://servoy/RSOWEB) that will redirect to a servoy deeplink url, such as:
http://servoy.coh.org:8080/servoy-webcl ... RE_RSO_WEB

I created a ASP doc and placed it in folder named RSOWEB on the c drive of the server here:
c:\Inetpub\wwwroot

the tiny .asp doc contains the following:
Code: Select all
<% response.redirect ("http://servoy.coh.org:8080/servoy-webclient/solutions/solution/RCS_CORE_RSO_WEB") %>


this typically works for redirects, but doesn't seem to work with a deeplink into a servoy web client.

I also tried just setting up a redirect in IIS directly (right click on the web site folder, select properties, click "A redirection to a URL" and typed in "Redirect to: http://servoy.coh.org:8080/servoy-webcl ... RE_RSO_WEB". However, this didn't work either.
Image

Any suggestions?


Specs:
Server: Windows 2003 Server
ISS: version 6
Servoy: Servoy version 3.5.7-build 520, repository version 31
davidaarong
 
Posts: 70
Joined: Wed Jan 10, 2007 12:43 am

Re: User Friendly url

Postby Westy » Fri Oct 10, 2008 10:34 pm

Try this:

Code: Select all
<html>
<head>
<title>Your title</title>
</head>
<body style='margin:0px; padding:0px;'><center>
<iframe src="http://ip_address/servoy-webclient/ss/s/solutionname/m/methodname/a/argumentname" height="100%" width="70%" scrolling="no" frameborder='0' marginwidth='0px' marginheight='0px' style='margin:0px; padding:0px; border-size:0px;'>Warning text.</iframe>
</center>
</valign>
</body>
</html>

You may have to adjust the width setting.

Another alternative is to go to:
http://www.no-ip.com/services/managed_d ... c_dns.html

Where you can setup a "web redirect".

Dean Westover
Choices Software, Inc.
Westy
 
Posts: 833
Joined: Fri Feb 13, 2004 5:27 am
Location: Lynnfield, Massachusetts USA

Re: User Friendly url

Postby tysonj » Wed Sep 21, 2011 10:11 am

Hi, :)
I aslo want to achive some thing like this....
davidaarong wrote:I want a user friendly url (e.g. http://servoy/RSOWEB) that will redirect to a servoy deeplink url, such as:
http://servoy.coh.org:8080/servoy-webcl ... RE_RSO_WEB


Any suggestion guyz... ???
User avatar
tysonj
 
Posts: 47
Joined: Tue Sep 28, 2010 2:07 pm
Location: Paris, France.

Re: User Friendly url

Postby tysonj » Thu Sep 22, 2011 7:56 am

I tried the servoy.nice.url present in the servoy admin settings but it just made my solution name stay in the URL. :(
What I want is some thing like the below.
My actual URL to start the web-client :- http://myServer:8080/servoy-webclient/solutions/solution/MySolution
URL which redirects to the actual Url :- http://myServer:8080/mySolution

i.e when I enter a short url of my choice it should redirect to my actual URL. 8)

Thanks... :)
User avatar
tysonj
 
Posts: 47
Joined: Tue Sep 28, 2010 2:07 pm
Location: Paris, France.

Re: User Friendly url

Postby jcompagner » Thu Sep 22, 2011 11:02 am

place something like this:

<html>
<head>
<script type="text/javascript">
window.location.href='/servoy-webclient/solutions/solution/MySolution'
</script>
</head>
</html>

in the server/webapps/ROOT dir

under the name 'mySolution'

then you can open MySolution solution through the url: http://myServer:8080/mySolution
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8049
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: User Friendly url

Postby tysonj » Thu Sep 22, 2011 12:51 pm

Thank You jcompagner ..... this worked for me...:D
User avatar
tysonj
 
Posts: 47
Joined: Tue Sep 28, 2010 2:07 pm
Location: Paris, France.


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 1 guest