Hey Gabe,

that seemed to work just fine and my blog shows up fine with CSS and images.

However my feeds still look like : 
http://www.otherdomain.nl:8080/frontpage/feed/comments/rss

So I am basically still wondering if it's not possible to tell roller
to generate all URL's with http://www.otherdomain.n/ by forcing that.
THen I can simply do my proxy from apache2 and don't have to wonder about
the problems so much.

Please note.. I am a newbie in the java/tomcat world... so if I say
anything stupid, please let me know :)

thanks in advance again,
Ries


On Dec 2, 2007, at 11:00 PM, Gabe Wong wrote:

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