[Zope-CMF] portal_url() question, relative URL's, Squid
Jean-Francois.Doyon@CCRS.NRCan.gc.ca
Jean-Francois.Doyon@CCRS.NRCan.gc.ca
Tue, 14 May 2002 13:40:59 -0400
Hello,
I have my Zope site rooted under a subdirectory, using Apache and =
FastCGI.
And have 2 CMF sites bellow that, such as:
http://mydomain.com/site <- The Zope root
http://mydomain.com/site/english <- a CMF Site
http://mydomain.com/site/francais <- another CMF Site
I'm trying to find a method/function that will return either =
"/site/english"
or "/site/francais" ... But it looks like there isn't one ?
I've hacked my own for now, but this might be a good and simple =
addition for
the next CMF :) I Like to use these when building links in order to =
help
browers properly cache certain things (Since with acquisition a given =
image
can be called through many URL's, which means the client would cache =
many
times the same thing).
I was using absolute_url and things of the sort, but now I'm putting =
squid
in place and can't have ANY absolute URL's in there at all.
Any insight into this problem and any possible solutions would be =
welcome !
Thanks,
Jean-Fran=E7ois Doyon
Internet Service Development and Systems Support
GeoAccess Division
Canadian Center for Remote Sensing
Natural Resources Canada
http://atlas.gc.ca
Phone: (613) 992-4902
Fax: (613) 947-2410