Friday, January 28, 2005
Hi Sadhaka,
> This last case is how our website hosting service uses for our sites.
Thanks again for your reply! This seems to make a lot of sense.
While researching this, I came across the following blurb for a web server:
> o Integrated SSL encryption on a per-IP address basis, with support for > multiple site certificates and encryption options.
What web server does that? Why, 4D Webstar!
I'm downloading the docs as I write to see what the deal is. But if it's what this implies, my guess is you could set up WebStar to handle the incoming requests (multiple sites using SSL on the same computer), then forward them all on to 4D/Active4D to process (internally, not using SSL).
Plus you get the benefit of using WebStar to handle the static file serving, while just using 4D/Active4D to do the dynamic pages.
This probably still requires multiple IP addresses, but at least allows you to use SSL with multihoming on the same computer.
Anyway, I'll post back if I find more info...
Michael,
WebSTAR wil do the front-end work for you.
I'd like to point out one caveat though.
You'll most likely use the Rewrite module to forward (proxy) your request onto Active4D. It works well but that there is a bug in the Rewrite module where host and other information such as "www.mysite1.com" and "www.mysite2.com" is lost in the proxy. Therefore, when Active4D tries to see where the original request was meant to go it sees it as 127.0.0.1 (or maybe "localhost"). There is a workaround, but is IMO it is a kludge and a big PITA. You have to append query params such as ?host="mysite1.com" etc. to all your proxied requests. Your Active4D pages have to be programmed to look for these params and react accordingly. It's not difficult to do, but you have to be aware of this bug, and deal with it in all cases where it might affect your development.
There is another bug in the rewrite module where if your Active4D pages (or any destination proxy) isn't running, WebSTAR will simply serve a blank page instead of alerting the user that the proxy failed.
4D Inc. is aware of these bugs, but there is no ETA on a fix (last time I asked). I'm bringing it up here to renew attention to these issues.
-- Brad Perkins
-- Brad Perkins
_______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
