With CF9 enterprise, I'd like to connect to multiple CF instances in a single Apache virtual host.
For example,
mydomain.com/app1-> handled by instance1
mydomain.com/app2-> handled by instance2
It seems most people accomplish this by using separate vhosts, but I was wondering if this could be done at a directory level. I've tried using <Directory> and <Location> stanzas with their own JRunConfig directives, but they end up overwriting the JRun config for the entire virtual host.
If anyone knows of a built-in way to accomplish this, I would be interested. Alternatively, I'd like input on using an Apache reverse proxy configuration so that I can map /app1 to the WebService port of the JRUN instance:
mydomain.com/app1-> localhost:8301/app1
mydomain.com/app2-> localhost:8302/app2
Has anyone had luck with this? Does anyone see issues with this or have a better idea?
Thanks!
Seth S.
↧
Apache/ColdFusion 9 per-directory application isolation
↧