Hi all,

The "VIRTUAL HOSTS (IN GENERAL)" section describes how to forward to different backends depending on the url. We have two webapplications running in tomcat. One in the root context and one in a "subdomain||" context. Is it possible to forward to different contexts of the same backend, depending on the url like in:
http://www.zrinity.com/developers/apache/virtualhosts.cfm

We want to forward "myvirtualhost.com"-Requests to the root context and forward "subdomain.myvirtualhost.com"-Requests to the subdomain-context of the same backendserver, something like:||

        ListenHTTP
            Address 1.2.3.4
            Port    80

            Service
                HeadRequire "Host: .*subdomain.*"

                BackEnd
                    #should be forwarded to the subdomain context
                    Address 192.168.0.10
                    Port    80
                End
            End

            Service
                BackEnd
                    #should be forwarded to the root context
                    Address 192.168.0.10
                    Port    80
                End
            End
        End

Is this possible?

Kind regards
David

Reply via email to