2013/4/16 mauro2java2011 <[email protected]>

> escuse me but if i have understand , i not have to configure the virtual
> host
> into server.xml but only into
>
> tomee.xml?
>
> into server.xml not configuration?
>
> i not have to use the host-manager gui application of tomcat for create the
> virtual host?
>
> i  not have to refernce the tomee application into catalina/yourdomain.com
> i not refer to port 8080 into configuration?
>
      I have reference my domains in startup.sh like this:
     export JAVA_OPTS ="-Dyour-module-name-of-your-app.host=yourdomain.com"


>
> if i not have apche like frontend how i can configure the virtual host only
> with tomee/tomcat?
>
Option 1.
         You can omit the Apache config and just do the config of TomEE but
if im not wrong you will have to append the port number for access to your
app, like yourdomain.com:8080 and of course you can comment the Connector
ajp in   server.xml

Option 2.
         Configure your router for redirect incoming request in port 80 to
port 8080 with this all the request like yourdomain.com will be redirect to
yourdomain.com:8080 and the user doesnt have to type the 8080 port.


>
>
>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Virtual-host-not-working-tp4662204p4662303.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>



-- 
-------------------------------------------------------------------
*SCJA. José Luis Cetina*
-------------------------------------------------------------------

Reply via email to