[Zope] Underscoring Inaugural Address

Paul Winkler pw_lists at slinkp.com
Thu May 12 12:14:38 EDT 2005


On Thu, May 12, 2005 at 10:52:03AM -0400, Dan Pozmanter wrote:
> Is sort of do, since the final object is a wrapper around a unique path.
> 
> What about messing aroound with the url?
> 
> Is there a way to have it show:
> 
> http://foo.com/__init__.py
> 
> But really point to
> 
> http://foo.com/supercoolfileat__init__.py
> ?

I don't know of an easy way to do that in zope alone, since the
names beginning with underscore are blocked at a pretty low level
(in ZPublisher).

But, if you have e.g. apache in front, that could be easily done
with a rewrite rule.

-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope mailing list