[Zope3-dev] Re: Apache rewrite rules and URLs: an experiment
Stephan Richter
srichter at cosmos.phy.tufts.edu
Wed Oct 27 02:05:47 EDT 2004
On Wednesday 27 October 2004 00:50, Peter Mayne wrote:
> Stephan Richter wrote:
> > Unfortunately, I do not understand enough of virtual hosting to be of
> > any help here.
>
> But you wrote the book on it. :-) (Or the chapter, at least.)
But there is also a big thank you note to Marius there. ;-)
> If my analysis holds up, a convenience method with a shorter name would
> be, er, convenient. Instead of
>
> <a tal:attributes="href python:request.getApplicationURL(path_only=True)
> + '/@@/z3logo.gif'">
>
> we could have the shorter and easier to read
>
> <a tal:attributes="href python:request.path('/@@/z3logo.gif')">
>
> for instance.
What about using:
<a tal:attributes="href context/@@/z3logo.gif">
I think this is the recommended way; will it do the right thing?
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-dev
mailing list