Try substituting BASE1 for BASE0 for the value of the base var in the site_url method (which is defined TWICE - the second one had me guessing and wondering about my sanity for a while !) in squishdot.py - this fixed it for me here using 1.10.2 under apache Fantastic product. Great example of what can be done. <375fb2e4.90749a6-@pop.vet.uu.nl> wrote: Original Article: http://www.egroups.com/group/zope/?start=6025
Phil Harris wrote:
Methinks I found a bug!
When running SquishDot with Apache the urls are not getting set correctly for internal links.
I think the problem is in the 'site_url' method.
I haven't got time to look at a fix for the moment, but hope it should be easy enough to fix 8^)
It does look like the fix should be in that method. Fiddling with it got the banner ad working, but most of the other failing links still failed. My own Zope URL prefix happens to be the same as SCRIPT_NAME, 'Zope', is this a general pattern or am I just lucky? I was trying to figure out which of the REQUEST variables contained the address of the site along with the Zope prefix that's used in many Apache rewrite rule setups.