Consultor Eletrônico



Kbase 19855: How to Use Redirection to Change the Default Web Page to a Webspeed page?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   23/09/2008
Status: Verified

GOAL:

How to redirect web site's default home page to WebSpeed application ?

GOAL:

How to use redirection in default home page to call webspeed application?

FACT(s) (Environment):

WebSpeed

FIX:

When you go to a website (for example, www.whatever.com), the default document for the website is displayed. The default page, most often called default.html or index.html, is specified in the webserver's configuration. It is a static .html page, which does not have embedded speed script or other web objects recognizable by WebSpeed.

In order for the web server to display web objects that WebSpeed recognizes, a call to the WebSpeed messenger must be made.

Use a redirection to have web server display webspeed URL, thus calling webspeed application. To do this, change the default.html or index.html to contain the following (assuming wsisa.dll messenger is used on IIS):

<HTML>
<HEAD>
<META HTTP-EQUIV=REFRESH CONTENT="0;
URL=http://wwww.whatever.com/scripts/wsisa.dll/WService=myservice
/mypage.html">
</HEAD>
</HTML>

Now, when you access the URL, www.whatever.com, the request will be redirected to the WebSpeed page

http://www.whatever.com/scripts/wsisa.dll/WService=myservice/mypage.html.

NOTE: mypage.html must be a compiled web object (mypage.r).