[Zope3-dev] Changing the behavior of ++skin++ namespace
Sidnei da Silva
sidnei at plone.org
Fri Aug 8 14:19:48 EDT 2003
On Fri, Aug 08, 2003 at 10:39:59AM -0400, Jim Fulton wrote:
| >I wonder if that has any effect on virtual hosting contexts.
|
| Good question.
|
| I should say that it will be allowed after a virtual host specification.
|
| For example, it will be OK to do something like:
|
| http://foo.com/x/y/++vh++http:spam.com/++skin++ZopeTop/a/b
|
| Note that the skin specification comes at the beginning of a the
| virtual path.
|
| Also note that virtual hosts can be used to hide the skin specification.
| For example, assuming that the server rewrote:
|
| http://spam.com/whatever.....
|
| to:
|
| http://foo.com/++skin++spam/++vh++http:spam.com/whatever.....
|
| then you would be arranging for the spam.com virtual host to use the
| spam skin, without the ++skin++ business showing up in the part of the url
| that
| people saw.
Great! Thats exactly what I expected to hear.
| P.S. A nice little project for someone would be to add basic URL rewriting
| to the server so that we could do this sort of virtual hosting with
| zope alone. I imagine that the rewrite rules would be provided via
| ZConfig directives.
/me ponders
Sounds like a good task for a saturday evening...
[]'s
--
Sidnei da Silva <sidnei at plone.org>
dreamcatching :: making your dreams come true
http://dreamcatcher.homeunix.org
There are running jobs. Why don't you go chase them?
More information about the Zope3-dev
mailing list