Hi Dave/Tiago,

Thank you for your help.  I'm hoping you could clarify a few points for me...

1) I'm not aware of any URL rewriting going on (never enacted the
directives contained in the document Tiago provided).  The only Apache
proxy directives are the two below.  Could you please confirm these are
correct.

    ProxyPass / ajp://127.0.0.1:8009/roller/christopher/
    ProxyPassReverse / ajp://127.0.0.1:8009/roller/christopher/

The URL http://www.optomus.com:8080/roller/christopher worked fine, with
CSS loaded and page links working correctly, before I added 'absolute URL'
directives to roller-custom.properties.  At this point, this URL ceased
working, but I understand this is normal.  But I'm wondering whether the
two directives above should still contain "/roller/christopher/".  I've
tried just "/roller/" and just "/christopher/", but this doesn't appear to
help the situation.

2) I don't think it is a problem with the Fauxcoli theme, as I have the
same problem with customised versions of the basic theme, as seen here:

    http://blog.bread.co.nz
    http://blog.capereinga.co.nz
    http://blog.doubtlessbay.co

3) I'm a little fuzzy on what is meant by ROOT context.  I simply produced
a WAR from your application, and copied roller.war into
/usr/local/tomcat/webapps.  Tomcat automatically expanded and deployed it,
as you can see below.

optomus:~# ls /usr/local/tomcat/webapps
ROOT  app.war   examples   manager  optomus.war   roller.war   app   docs 
 host-manager  optomus  roller

The ROOT directory contains the default Tomcat front page.

optomus:~# ls /usr/local/tomcat/webapps/ROOT/
RELEASE-NOTES.txt  asf-logo-wide.gif  favicon.ico  index.jsp   tomcat.gif
WEB-INF   build.xml   index.html   tomcat-power.gif   tomcat.svg

Hoping there are some clues in the above so I can get this sorted.  I
appreciate your assistance.

Thanks & regards,

Chris.


> On Thu, Sep 30, 2010 at 10:56 PM, Christopher Dodunski
> <chrisfromsquir...@christopher.net.nz>
> 1) Why do I need to be messing with URL rewriting, when Roller appears to
>> be doing this already by way of the above directive?
>
> I don't do any URL rewriting at all on my mutli-domain site. I don't
> understand why you need it and, in fact, I think it is confusing
> things.
>
>
>> 2) If the CSS and page link URLs are incorrectly formed (seems they lead
>> nowhere), then what exactly is wrong with them?
>
> The CSS URLs start with "/roller/roller-ui" are wrong. If you have
> Roller installed at the ROOT context, then those URLs should start
> with "/roller-ui/". There are some clues in your page that indicate
> that you *are* running at the ROOT, so I don't understand the problem
> here. I guess rewriting could be at fault, or a bug in the new
> Fauxcoli theme that you are using (I use it too).
>
> - Dave
>


Reply via email to