Sesat > Docs + Support > Apache

To have tomcat and jboss to play together we need apache with rewrite and proxy enables.

First you need this modules in apache.




On ubuntu you can enable this with:

 sudo a2enmod proxy
 sudo a2enmod proxy_http
 sudo a2enmod rewrite

You need to allowoveride -> all

DocumentRoot /var/www/
        <Directory />
                Options FollowSymLinks
                AllowOverride All

and under virtualHost, add

ProxyPreserveHost on

In your /var/www/ put .htaccess with this:

RewriteEngine On

RewriteRule ^useradmin/(.*)$$1 [P]
RewriteRule ^(.*)$ $1 [P,L]
 © 2007-2009 Schibsted ASA
Contact us