Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 6 Jahren, 7 Monaten
Letzter Beitrag:
vor 6 Jahren, 6 Monaten
Beteiligte Autoren:
Kingdr, KenKnight , Michael Drechsel

[WB16] URL to the Website

Startbeitrag von Michael Drechsel am 18.01.2012 08:02

Hi HTTP Gurus,

what to do if I want that my Website (http://www.mysite.com/ProjectName) is availible as http://www.mysite.com ?

I Ithink there must be a redirection at the standard website but what means that for parameters that I use (http://www.mysite.com/ProjectName?para1="test")



Maybe like this as below (javaScript):

von Kingdr - am 18.01.2012 13:09

von Kingdr - am 18.01.2012 13:39
Hi Michael,

If I understand you correctly you want a specific project to executed directly from the root domain of your site but still physically reside in project_web directory.

If you're running Server 2008 IIS check out URL Rewriting and add an Inbound Rule that can capture the requests to the root domain and properly redirect it to your application. You can also capture parameters.

here's a quick example.

I have an inbound rule that uses regular expressions and watches for this;


So anything coming in to the website with a path of /rdp_sesssion/-any text or number-.rdp will then route to the following url in the background;


The rdp file is passed to the awp file as the 's' parameter.

Make sure you set the action type to Rewrite.

If you're running Server 2003, you'll want to check out one of the add-ins that give you the mod-rewrite / url-rewrite functionality.


von KenKnight - am 09.02.2012 03:12
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.