Mach-II/Mach-II-Framework — Issue #29: Allow for dynamic hosts in urlBase and urlBaseSecure
Author: mpwoodward
Created: 2012-03-01 01:13:45+00:00
State: open

(Moved from http://trac.mach-ii.com/machii/ticket/792)

I am planning on allowing dynamic hosts for urlBase -- something like http://*/index.cfm for people that have multiple hosts interfacing with a single application instance. The * would be replaces with the value from the HTTP header Host value. I will submit a ticket for that soon.

Also, Doug confirmed that their load balance situation does not modify the HTTP header Host value when proxying. However we should allow people to set a a different HTTP header name if their proxy / load balancing situation uses a different header name.

Just like the EnvironmentProperty we will have to offer the ability to set where to look for host name other than the standard cgi.server_name for people in load balanced environments where that data is stripped and put into a request header.