Re: [Zope] Redirecting all objects in a folder

2016-11-29 Thread Jesus Cea
On 21/11/16 05:46, Dan Gaibel wrote:
> How can I make it so that any object accessed under a particular folder
> gets redirected to another URL? 
> 
> In other words, someone going to the URL website.com/folder/page1.html
>  or website.com/folder/page2.html
>   (or any page in the /folder/
> directory) gets redirected to google.com . 

If your "folder" is not a folder at all but a script, you can get access
to the subpath and do whatever.

That is, if "folder" is a script, then
"http://website.com/folder/page.html; will call the script called
"folder" with "page.html" as subpath parameter. You can do a redirect in
the script code, using the subpath or ignoring it, as you need.


-- 
Jesús Cea Avión _/_/  _/_/_/_/_/_/
j...@jcea.es - http://www.jcea.es/ _/_/_/_/  _/_/_/_/  _/_/
Twitter: @jcea_/_/_/_/  _/_/_/_/_/
jabber / xmpp:j...@jabber.org  _/_/  _/_/_/_/  _/_/  _/_/
"Things are not so easy"  _/_/  _/_/_/_/  _/_/_/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/_/_/_/  _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz



signature.asc
Description: OpenPGP digital signature
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-CMF] cmf-tests -

2016-11-29 Thread CMF tests summarizer
This is the summary for test reports received on the 
cmf-tests list between 2016-11-28 00:00:00 UTC and 2016-11-29 00:00:00 UTC:

See the footnotes for test reports of unsuccessful builds.

An up-to date view of the builders is also available in our 
buildbot documentation: 
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds

Reports received



Non-OK results
--

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests