Hello, It is me again. You can find attached the screenshots of my conf.
I would be very grateful if you could help me. Thanks a lot. Regards. From: [email protected] To: [email protected]; [email protected] Subject: RE: [Cherokee] How to setup a reverse proxy Date: Thu, 22 Sep 2011 16:44:13 +0000 Hello, Thank you for the quick answers. This is exactly what I did, but it does not work. This is why I am confused... I will make a screenshot tomorrow of my conf, perhaps there is something I missed. One more question, how do you choose the port listen by the virtual server? Regards. -- >Hello, >Just create new source (with your backend app) >then create vserver set the default rule handler to rev proxy, scroll >down, select RoundRobin, and then at the bottom your previously added >soruce. >"The end" >Greetings, >Jędrzej Nowak-- > From: [email protected] > To: [email protected] > Subject: RE: [Cherokee] How to setup a reverse proxy > Date: Thu, 22 Sep 2011 11:13:33 +0000 > > Hi Sebastian, > > Reverse Proxy setup is described here: > > http://www.cherokee-project.com/doc/modules_handlers_proxy.html > > The most basic setup I can think of: > > - create an information source aiming at localhost:8080 > - delete all virtual servers so only the default is left > - delete all behavior rules on the default virtual server so only the default > is left > - change the handler of the default rule of the default virtual server to > reverse proxy and aim it at the information source created earlier > > That basically requests everything from your Tomcat and should achieve what > you want. > > regards > Ringo > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Sébastien Oger > Sent: Thursday, September 22, 2011 12:14 PM > To: [email protected] > Subject: [Cherokee] How to setup a reverse proxy > > Hello all, > > I discover Cherokee and after few hours spent with it, I am still unable to > set a reverse proxy. > > Here is my architexcture : I want to use Cherokee on the port 80, and when > submitting this url http://localhost/myWebApp in my browser I want to see in > fact http://localhost:8080/myWebApp (a Tomcat 7). > > I succeeded to do it with nginx in few minutes, but I did not with Cherokee. > I tried a lot of things, like a clean new virtual server/source, to based my > conf on the Glassfish one etc... > > I always see either 404 or the list of files of the directory > /var/www/myWebApp if I create it. > > Can you please explain me step by step what to do? > I already posted on other forums but nobody answer. > > Thanks a lot ! > Regards. >
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
