geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rysiek <rys...@menel.com>
Subject Virtual Host (Geronimo 2.2 + Jetty)
Date Tue, 21 Dec 2010 08:31:34 GMT

Hello,

I'm using Geronimo 2.2 with Jetty and I want to make virtual hosts.
I read documentation which says that I have to add:
https://cwiki.apache.org/GMOxDOC22/configuring-virtual-host-in-jetty.html
<virtual-host>virtualhost1.com</virtual-host>

But the file I have, which was generated with Eclipse is not in this format.
The file is:

<?xml version="1.0" encoding="UTF-8"?> 
<web:web-app
xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
xmlns:client="http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0"
xmlns:conn="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"
xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"
xmlns:ejb="http://openejb.apache.org/xml/ns/openejb-jar-2.2"
xmlns:log="http://geronimo.apache.org/xml/ns/loginconfig-2.0"
xmlns:name="http://geronimo.apache.org/xml/ns/naming-1.2" 
xmlns:pers="http://java.sun.com/xml/ns/persistence"
xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1"
xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0"
xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"> 
        <dep:environment> 
                <dep:moduleId> 
                        ...
                </dep:moduleId> 
                <dep:dependencies> 
                        ....
                </dep:dependencies> 
        </dep:environment> 
        <web:context-root>/GetnStarted3AG</web:context-root> 
</web:web-app>


There is no "<context-root>", but "<web:context-root>". I have tried
"<web:host>", "<web:virtual-host>", but it is not defined in this format.

What should I do to use virtual hosts?

Thanks,
Rysiek

-- 
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Virtual-Host-Geronimo-2-2-Jetty-tp2124909p2124909.html
Sent from the Users mailing list archive at Nabble.com.

Mime
View raw message