Re: [Zope-dev] How to handle "special" sub-directories

2001-04-15 Thread Phil Harris

Create the pathhandler in the root and name it index_html.

- Original Message -
From: "Remi Delon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, April 15, 2001 9:39 PM
Subject: Re: [Zope-dev] How to handle "special" sub-directories


> Thanks Chris.
>
> PathHandler is indeed what I needed. But I have one last
> problem: It looks like I need to create a PathHandler object
> (called "ph" for instance), and then the url is
> www.website.com/ph/member_name
>
> What if I want it to work at the root of my website, like this:
> www.website.com/member_name  ?
>
> Thanks.
>
> Remi.
>
>
> >From: "Chris Withers" <[EMAIL PROTECTED]>
> >To: "Remi Delon" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> >Subject: Re: [Zope-dev] How to handle "special" sub-directories
> >Date: Sat, 14 Apr 2001 18:54:53 +0100
> >
> > > This is like transforming the URL www.website.com/member_name into
> > > www.website.com/unique_document?arg=member_name
> > >
> > > How can I do that ?
> >
> >Look at the PathHandler product on zope.org. Python Scripts on theri own
> >might be able to do this too. Futz with the sub-traversal path or
whatever
> >it's called :-)
> >
> >cheers,
> >
> >Chris
> >
>
> _
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] How to handle "special" sub-directories

2001-04-15 Thread Remi Delon

Thanks Chris.

PathHandler is indeed what I needed. But I have one last
problem: It looks like I need to create a PathHandler object
(called "ph" for instance), and then the url is 
www.website.com/ph/member_name

What if I want it to work at the root of my website, like this: 
www.website.com/member_name  ?

Thanks.

Remi.


>From: "Chris Withers" <[EMAIL PROTECTED]>
>To: "Remi Delon" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>Subject: Re: [Zope-dev] How to handle "special" sub-directories
>Date: Sat, 14 Apr 2001 18:54:53 +0100
>
> > This is like transforming the URL www.website.com/member_name into
> > www.website.com/unique_document?arg=member_name
> >
> > How can I do that ?
>
>Look at the PathHandler product on zope.org. Python Scripts on theri own
>might be able to do this too. Futz with the sub-traversal path or whatever
>it's called :-)
>
>cheers,
>
>Chris
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Re: zope nautilus cabal

2001-04-15 Thread Christian Scholz

Hi!

> Basically, 'access contents information' isn't a great permission. If you
> turn if off, life gets horrible, if you leave it on, bits hang out. I'd
> prefer to see something like:
> - Access Contents Information via HTTP
> - Access Contents Information via FTP
> ...etc...

This sounds more as if some "external interface" concept is needed, where
you can add/disable modules for handling the XMLRPC stuff and the webdav stuff
and the normal management interface stuff and the ftp stuff.. 
And this again also touches the area of model-view again, which seems a bit
far away unfortunately ..


-- mr topf



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Security Management

2001-04-15 Thread Chris Withers

Andre Schubert wrote:
> 
> But is there a way to find out that the current REQUEST comes from joe
> and joe has no user object in the root acl_users.

If you're doing this because you're worried that Joe won't later be able to view
the protected document, don't worry, Zope will handle that for you ;-)

cheers,

Chris


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )