<VirtualHost *:80>ServerName shop.buchmanager.comProxyPass /VAADIN/ http://127.0.0.1:8889/VAADIN/ProxyPass /APP/ http://127.0.0.1:8889/APP/ProxyPass / http://127.0.0.1:8889/shop/ProxyPreserveHost On# Local reverse proxy authorization override# Most unix distribution deny proxy by default (ie /etc/apache2/mods-enabled/proxy.conf in Ubuntu)<Proxy *>Order deny,allowAllow from all</Proxy></VirtualHost>
Sunday, February 19, 2012
VAADIN and mod_proxy
Yesterday I tried to deploy a beta relase of my new Vaadin application on my debian box. I'm running it on an embedded jetty 6.x that I needed to get proxied by my apache web server. I found several posts about how to do this, and explanations that the VAADIN servlet has some troubles with beeing behind a proxy. The app on jetty on my side is running on localhost:8889/shop. It looks quite strange to me, but it works. I needed the /APP/ config to make StreamResources work. The proxy configuration that finally worked goes like this:
In this tutorial we will put together a full application stack for a multi-tenant architecture. We will be using Vaadin and Vaadin-Sprin...
Vaadin 8 (currently in beta) comes with a whole new DataBinding API that makes heavy use of the Java 8 Lambda Features. Unfortunately Java...
Today I finished my migration of a (small) demo app to the new Vaadin 8 API. First of all: Vaadin 8 has a compatibility layer. Everything ...