PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WB21] - Redirect to domain home
[WB21] - Redirect to domain home
Iniciado por guest, 12,jul. 2016 13:00 - 5 respuestas
Publicado el 12,julio 2016 - 13:00
Hi All

WB21 - Classic with Ajax

I now have a website (e.g. MyWebsiteName) which runs under a domain name (e.g. www.MyDomain.com). So to get to the site I currently enter:

http://www.MyDomain.com/MyWebsiteName

How can I arrange it so that the user only needs to enter the domain name portion e.g.:

http://www.MyDomain.com

TIA
Publicado el 12,julio 2016 - 13:51
Hi

that's a web server configuration question, and therefore it depends of the web server you are using.

Best regards
Publicado el 12,julio 2016 - 14:52
Fabrice, sorry, it is IIS7 under Windows 2008
Publicado el 12,julio 2016 - 15:05
Hi

Pls check index.htm / .html / .asp and change the code and redirect it into
your .awp/ or something else, use FRAMESET to hide the redirection path.

HTH

King
Publicado el 12,julio 2016 - 19:51
King,

Are you saying just create a default HTM/HTML page which redirects to the longer WebDev URL? If yes, have a sample to show me?

Thanks.
Publicado el 12,julio 2016 - 20:22
There you go (index.htm or index.html):


<HTML>
<HEAD>
<TITLE>MyWebsiteName</TITLE>
</HEAD>
<FRAMESET>
<FRAME src="http://www.MyDomain.com/myAwp_web/uk/test.awp…">
</FRAMESET>
</HTML>

or

<FRAME src="http://www.MyDomain.com/MyWebsiteName">

whichever you think that works out.

HTH

King