ries van Twisk wrote:
Hey All,

I have roller running at http://www.domain.nl:8080/roller
However I like to have it running on http://www.otherdomain.nl/

Problem is that I already have apache2 running on port 80, so I needed to setup a proxy for apache (no change to get an other IP for now), I configured it like this:

<VirtualHost *>
   ServerAdmin [EMAIL PROTECTED]
   ServerName www. otherdomain.nl
   ServerAlias otherdomain.nl
   ErrorLog /var/log/apache2/domain-error.log
   CustomLog /var/log/apache2/domain.log common
   ProxyPass / http://127.0.0.1:8080/roller/
   ProxyPassReverse / http://127.0.0.1:8080/roller/
   <Location />
     Order deny,allow
     Allow from all
   </Location>
</VirtualHost>

shutdown Tomcat
rename roller webapp to ROOT
startup Tomcat
Remove "roller/" from your Apache Proxy
Restart Apache

--
Regards

Gabe Wong
NGASI AppServer Manager
Application server installation and configuration AUTOMATION
http://www.ngasi.com

Reply via email to