Thanks for the answer,
just out of curiosity, would this also work in my server.xml?
<Host name="www.otherdomain.nl" appBase="webapps/roller">
<Alias>otherdomain.nl</Alias>
</Host>
Setup your roller as the ROOT webapp of the tomcat.
That is to say, set like this:
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
2007/12/3, ries van Twisk <[EMAIL PROTECTED]>:
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>
This seems to work, and roller shows up on www.otherdomain.nl,
however all my CSS and images are gone, because
the generated source stills shows domain.nl/roller, not
otherdomain.nl.
I am not sure currently where to look.
a) Can I tell/force roller to generate all URL's with the domain
http://www.otherdomain.nl/?
If so, roller roller-custom.properties doesn't seems to be the pace
for it.
b) it might be a tomcat setting, if so... what setting.. I
unfortunately don't know enough
of tomcat yet to know where to look for (searches in google for
example)
c) Or may be it's an apache2 mis configuration... not sure about
that.
Does anybody have tomcat6 running behind apache2 with roller,
and if so how would a configuration look like?
thanks in advance,
Ries van Twisk