It's not a workaround, but one way to set things up. There many, many
other possible configurations. You'll quickly learn that running a
website is quite a bit more than just building a web application. If
you are not using Apache httpd for anything, ask yourself if you
really need it at all - you'll lose a bit of performance with every
layer of abstraction. One of the easiest options is to simply forward
the traffic from 80 to 8080, in which case you need to modify your
iptable configuration. If you want httpd in front, you can configure
proxypass with the following:

ProxyPass / ajp://localhost:8009/PizzAroundMe/ (see
http://tomcat.apache.org/tomcat-7.0-doc/proxy-howto.html)

You also need to tell tomcat to use your host name (see
http://tomcat.apache.org/tomcat-7.0-doc/config/host.html) and override
Tapestry's BaseUrlSource in case you use other than root context.

If you are starting from scratch, these days I'd look into deploying
on Google App Engine, CloudFoundry, CloudBees or perhaps Amazon
Beanstalk instead of running your own (virtual) servers. It'll make
certain deployment related things easier - albeit other things more
difficult.

Kalle


On Mon, Aug 22, 2011 at 10:29 AM, Dimitri <dimitri.cano...@gmail.com> wrote:
> Yeah but it's more a workaround than a solution, since i m quite new to
> tomcat/apache/t5 (yes, i just pointed everything) i ll try to do with the
> PizzAroundMe name and try to understand why does the links contain it.
>
> Thank you anyway!
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Tapestry-apache2-and-tomcat-tp4722849p4724076.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to