Reverse Proxy w/ IIS inside the Default Web Site

I have a deployed Xojo web app that is running standalone on windows. It is currently using a “Site” named QMCDocs with a reverse proxy. To set this up I used the excellent step by step provided at http://osswald.com/xojo/RealStudioWebEditionStandAloneWindowsServerDeployment.pdf.

So the site is accessed with a url like http://mycooldoumentsite.qmcmain.com. This points to the QMCDocs site and the reverse proxy rewrites to the QMCDocs xojo web app. This is working very well.

In this example qmcmain.com points to the Default Web Site in IIS. My client wants to drop the mycooldocument url and use instead http://qmcmain.com/QMCDocs. They have several virtual directories and applications that are working this way and want Xojo to do the same.

Is this even possible?

I have tried using a Virtual Directory as well as an Application in the Default Web Site with the same results. It hits Xojo but I get the disconnect message back that it has gone off line.

Here is the inbound rule (web.config) generated by URL Rewrite iin IIS…

<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="ReverseProxyInboundRule1" stopProcessing="true"> <match url="(.*)" /> <action type="Rewrite" url="http://localhost:8881/{R:1}" /> </rule> </rules> </rewrite> </system.webServer> </configuration>

Is there something else I need to do to make this work?

This rang a bell from a few months ago. I think this is a limitation in the current xojo web framework where some content requests have absolute paths not relative ones so as soon as you host from a url with an additional sub path things break, see here for more information.

@ So are you saying that at the present time it is not possible?

The link you provided appears to say that.

Unfortunately its not possible at the moment.

OK. Thanks.