I have a need to deploy multiple applications but under the same sub domain name so I don’t have to use multiple certificates. I am using the Abyss Web Server that seems to work pretty well.
Currently I have embedded several apps into the same physical XOJO project and it compiles to a single CGI app. I use a URL parameter to launch to the main home screen for each app. I essentially have a “portal” page with logic to detect this on the URL:
… http://myapp.mydomain.com/?app=x
Where the x = 1 or 2 or 3 (etc.)
Based on the parameter value I will then automatically CLOSE the portal page and SHOW the launching page for the specific application. The certificate is tied to “myapp.mydomain.com”.
If you leave out the parameter or it is invalid then the portal page has a message that explains “If you have landed here then … blah blah”.
Is there a better way to do this and only have one certificate? I am not worried about having to use the URL parameter but after a while the XOJO source will begin to get pretty big and “cluttered” with multiple unrelated applications in the same project.
My environment won’t allow a wild card certificate of *.mydomain.com but would allow a wild card of something like *.portal.mydomain.com. I could then use http://myapp1.portal.mydomain.com, http://myapp2.portal.mydomain.com, etc. Then each app would have it’s own Web Application on Abyss but they would all use the same certificate.
Or is it possible for a CGI XOJO Web app (my portal app) to launch a different compiled CGI file on the same domain based on a URL parameter?
I want to get this right so I don’t end up 6 months from now with something that has become un-managable or one giant app with performance issues.