Re: [Zope] Starting Zope

2000-08-08 Thread Otto Hammersmith


Cary O'Brien wrote:
 
  I've done it this way:
 
  http://www.zope.org/Members/otto/portfw
 
[snip]
 
 How can this work?  Won't Zope put a "base href=http://server:8080" tag
 into the head of the document and mess things up?  Won't you need
 site-access to work around this?
 
 -- cary

You're probably right.  I already had SiteAccess installed, so I never
saw  a problem.

On the other hand, I just went to a URL my SiteAccess rules shouldn't
know about (the IP) and didn't get that.  Perhaps SiteAccess is doing
somethin I don't understand.

Anyone tried it?

-Otto.

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




Re: [Zope] Bi-directional update of Data.fs

2000-08-02 Thread Otto Hammersmith

Bill Anderson wrote:
 
[snip]
 
 Hmm ... howzabout this for an idea, at least:
 
 Since the Data.fs is appended to, and that your disconnected version 
 is canonical, why  couldn't you basically look for the last common
 transaction, and append all transactions in the canonocial to the 
 main one?
 
 Bill
 (thinking this might need to be moved to dev ...)

Because my disconnected Data.fs very well may not be canonical.  If it
were, then a simple scp Data.fs server:/path would do the trick.  Bonus
points for rsync which would probably result in the last n bytes being
appened, all without using any knowledge about ZODB transactions.

Merging changes is the tricky part.

I'm wondering if the easiest way to do it now wouldn't be Coda and maybe
logically separated mounted ZODB databases.

-Otto.

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




Re: [Zope] Starting Zope

2000-07-31 Thread Otto Hammersmith

I've done it this way:

http://www.zope.org/Members/otto/portfw

It's also relatively easy to convince a hosting provider to add this, as
long as you have a dedicated IP address.

Perhaps I should have done a news item when I created this... seems a
lot of people have hacked around the issue is all sorts of odd ways. :)

-Otto.


Costagliola Giovanni wrote:
 
 Hello All,
 How can I to start Zope whit a different user than root and 
 cath the default HTTP port?
 
 If I try for example:
 su - -c './start -w 80 -u zope'
 
 I receive an error becouse root hasn't granted the need 
 privileges on /Zope/var/ directory.
 
 Thanx

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




Re: [Zope] Limiting folder space

2000-07-31 Thread Otto Hammersmith

One thing I considered doing was using 2.2's mountable databases for
something like this.  Give each user their own database (possibly
without undo information) and use a cron job to check file sizes.  If
you have root on the box, you could create users id's for each user and
use quota on the filesystem to handle quota checking for you.

Of course, this wouldn't be horribly practical for a *lot* of users.

-Otto.

Kapil Thangavelu wrote:
 
 Brendon Grunewald wrote:
 
  I want to use Zope to offer registered visitors to my site a 
  little free webspace on the site. Since I use hosting service that 
  restricts and charges me for space, I would like to restrict the 
  size that their zope folders can consume.
 
  Hence:
  Is there any simple way of limiting the amount of space that a 
  folder is allowed to consume including its subfolders? 
  Alternatively, is there anyway of checking how much space a folder 
  with subfolders consumes?
[snip]

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




Re: [Zope] new wiki functionality/zope.org issues

2000-07-26 Thread Otto Hammersmith

Simon Michael wrote:
 
[snip]
 4. could we auto-login with cookies like eg slashdot ? I'm never
 logged in when I need to edit a wiki and doing so is quite 
 disruptive. And, or, make the login page auto-redirect back to where 
 I came from.

I'd like that, as well.  Just make it a persistant cookie rather than a
session cookie, right?  I have having to re-type passwords and turned
off IE's autocomplete long ago. :)

Though, it is nice that the login page now has a link that uses the
Referer header. :)

-Otto.

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




Re: [Zope-dev] Zope 2.2.0 and SiteAccess 2.0.0b2 -- doesn't work?

2000-07-20 Thread Otto Hammersmith

Works great for me.

Did you read http://www.zope.org/Members/4am/SiteAccess2/upgrading and
do the steps listed there?

The one thing I did have to change was my access rule.  I had been using
the hack where you append /Z/ to manage interface URI's so they don't
get rewritten.  What I had was using REQUEST.setURL() to put the /Z/
back in, well that method went away.  I just changed it to
REQEUST.setVirtualRoot() and it worked great.

The install docs have apparently been updated to use setVirtualRoot(),
as well.

-Otto.


Michael Monsen wrote:
 
 Hello everybody,
 
 I've looked through the mailing list archives and saw one
 individual who had this problem but seemed to be able to fix it by
 removing and then re-installing SiteAccess.  I haven't been that 
 lucky.
[snip]

___
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] Bi-directional update of Data.fs

2000-07-19 Thread Otto Hammersmith

If you manage to find it, would you post a link to it?

Thanks.

-Otto.


Chris McDonough wrote:
 
 Actually, there is a proposal on the table for something like this 
 in a Wiki I can't find going by the name of "QuorumBasedReplication"

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