Re: [Zope] Hiding a Zope object from URL accesses

2001-01-24 Thread Dimitris Andrakakis
Gerald Gutierrez wrote: If I have a Z SQL method set up as /query on my Zope site, how is it possible for me to disallow direct accesses to it via a URL (like http://localhost/query) ? If I cannot, then what is the convention people use to store objects which are not supposed to be visible

Re: [Zope] Shut down zope from python script

2001-01-19 Thread Dimitris Andrakakis
Richard wrote: I'm a newbie, running zope and apache on my win98 box, trying to learn enough to start using zope in a production environment. Windows slows down dramatically if I leave it running more than a couple of days I can't really help you, but I'd consider it much wiser to try and

Re: [Zope] High Performance Zope

2001-01-16 Thread Dimitris Andrakakis
Vincent wrote: How does Zope respond under heavy load? can Zserver handle serving out 200-300 zope pages per day on a busy website? As others have already said, that's not busy at all. An easy way to identify busy websites is hits per second. Say, if you get more than 2-3 hits/sec ON A

Re: [Zope] How do I get the size of an item ?

2001-01-12 Thread Dimitris Andrakakis
ethan mindlace fremen [EMAIL PROTECTED] wrote: dtml-with files dtml-var "_.get_size(_['file01.pdf'])" /dtml-with Thanks ethan ( dieter too). I'm terribly sorry about requesting a receipt (I had the option on OE forgotten), it will not happen again. I have tried your suggestion, and indeed it

Re: [Zope] How do I get the size of an item ?

2001-01-12 Thread Dimitris Andrakakis
Daniel wrote: You don't need the dtml-var inside another dtml-var i.e once you are in dtml you are in it. try something like this dtml-with files dtml-var "_.get_size(_['path[11:]'])" /dtml-with Your advice was truly enlightning ! It didn't work exactly like this, but this one did

[Zope] How do I get the size of an item ?

2001-01-11 Thread Dimitris Andrakakis
...anyone ? Say I have these folders: / /news /news/files What I need is, from a dtml method in /news, to get the size of an object (a file, say /news/files/file01.pdf) in /news/files. Thanks in advance, Dimitris ___ Zope maillist - [EMAIL

Re: [Zope] Memory problems

2001-01-10 Thread Dimitris Andrakakis
Dieter wrote: "ps" is still a bit stupid and does not visualize that they are threads rather than normal (full blown) processes. ps -axf ? Dimitris http://atlas.central.ntua.gr:8000 ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Zope under Irix 5.3 ?

2000-12-26 Thread Dimitris Andrakakis
Merry Xmas everybody ! I'm trying to get zope to work on an SGI, Irix 5.3. Python isn't available, so I have to compile it my own being a normal user, not root, with quota and all... anyway. I compile Python (1.5.2), in my home dir with threads and all (as I've read in tyhe how-to's). Then I

Re: [Zope] How best to restart Zope?

2000-09-19 Thread Dimitris Andrakakis
Jørgen wrote: There is an article on www.zope.org that describes the daemontools package .. do a search on the zope website for "daemontools" .. and you should be redirected to some "lightwerk" website in germany i think.. A vote from me too, daemontools is a great tool in general -not only

Re: [Zope] Folder and SQL security

2000-09-03 Thread Dimitris Andrakakis
Hi George ! Please check what Chris wrote too but I can answer this: Security in ZOPE is very puzzling. If I have certain rules set for the root folder, can I set something different for the sub folders? It's as simple as having a separate Acl_users in those folders that you need to have