Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] configure jetty with apache via Mod_Proxy


   It's an apache related issue and not Jetty one. Anyway...

   "A few things you can try.

   Make sure you have this directive global
   NameVirtualHost *:80

   Add this directive inside each VirtualHost

   It looks like it's trying to resolve the fqdn. Add the fqdn(your own "") into your /etc/hosts file.

   See how that goes."

JV --

On Wed, Nov 4, 2009 at 23:41, Daniele Dellafiore <ildella@xxxxxxxxx> wrote:
Hi. I am trying to configure jetty to work with apache following this

target is to make answer like the request
has been made to being jetty running
on port 8080. A standard situation.

I am using apache 2.2 and jetty 7 (under ubuntu 9.04)

I have installed and activated mod_proxy, then I have configured a new
a new apache site and enabled it with a2ensite.
The new site configuration file have this content:

<VirtualHost *.80>

ProxyRequests Off
ProxyPreserveHost On

<Proxy *>
    Order deny,allow
    Deny from all
    Allow from

ProxyPass /newsletter http://localhost:8080/newsletter
ProxyPassReverse /newsletter http://localhost:8080/newsletter


when I restart apache2, I get:

 [error] (EAI 2)Name or service not known: Could not resolve host name
*.80 -- ignoring!

and the integration does not work. I have tried to follow other guide
to understand what I am missing but withoud success.
I think I have to define a NameVirtualHost but do not exacly where and
how... anyone has experience and can help me?


Daniele Dellafiore
jetty-users mailing list

Back to the top