[PyCS-devel] Re: Mail via myelin.co.nz: pycs setup problems
Status: Alpha
Brought to you by:
myelin
|
From: Phillip P. <pp...@my...> - 2003-03-03 03:50:51
|
PyCS? That would be cool, although I don't have a mac, so it would be rather hard for me ;) Georg Bauer uses one most of the time, I think, so you might want to ask him. I'll forward this message to the dev mailing list - let's see what he has to say. Cheers, Phil On Sun, Mar 02, 2003 at 08:39:12PM -0600, Alan Sill wrote: > Hi, > > How about some Fink-based instructions for use under Mac OS X/ In > fact, why not release the whole thing under Fink? > > Thanks, > Alan > > On Friday, February 28, 2003, at 06:27 AM, Phillip Pearson wrote: > >On Thu, Feb 27, 2003 at 05:47:33AM -0600, Alan Sill wrote: > >>What sort of security can I use (I know, that's not the idea but ... > >>;-/ ) to authenticate users and/or limit postings to originate from > >>certain domains, etc.? The university and lab are pretty paranoid > >>about this sort of thing, even though everything we do is > >>public-domain, non-classified, non-military etc. > > > >Hmm ... if you run it behind an Apache server, and firewall off port > >5445, you can use Apache access controls to limit access by IP. > >PyCS's authentication module lets you restrict access to certain blogs > >by login name -- I think there are some notes on how it works in > >pycs_auth_handler.py. > > > >(Set the default user to have no access, and then you can create > >logins, etc...) > > > >>Also, I notice you dn't seem to use a backing database (at least I > >>can't recall being asked to set one up). Your public site must > >>generate a lot of traffic -- how do you keep that straight? > > > >It doesn't generate all that much, actually ;) > > > >The data is stored in a MetaKit database, and people's blogs are > >stored as static HTML in the /var/lib/pycs/www/users/* > >directories... so it's pretty quick. The updates page doesn't seem as > >fast as it could be, and I have my doubts about some of the hit count > >functions, but I'm not having any trouble. You'll probably see more > >load in your lab than I do on my site, but I really doubt you'll faze > >the server. > > > >(I think it should be able to serve at least 50 hits/second when > >showing blogs etc, and maybe handle 10-50 writes a second. So until > >you've got 1000-10000 users, you shouldn't have any trouble!) |