RE: DBM ties within Apache under Mod Perl

2003-01-30 Thread Jim Morrison [Mailinglists]
Perrin You can only do that for read-only dbms. For read/write, use MLDBM::Sync. Ok.. Will have a look at that .. Thanks. PS. Do people think this is a bad idea from the start? Yes. For one thing, there is no way to know when people leave your site. Hmmm... Bizare.. I don't

DBM ties within Apache under Mod Perl

2003-01-29 Thread Jim Morrison [Mailinglists]
Hey, One of the things I understood mod_perl allowed you to do is to tie a Hash/DBM to the top apache process, so that it's always available throughout the other apache processes? Is that right? Is there a good tutorial somewhere (or is it simple enough to show me in an email?) Thing I want to

[OT] MLDBM Size Limit??

2003-01-21 Thread Jim Morrison [Mailinglists]
Guys, Sorry this is a little off topic... Is there a size limit on DBM's? (Or Linux files for that matter.. ) I've thrown some details of my box/code below.. Thing is I'm getting a write error and it seems to always happen when the DBM gets to 2.0Gb .. (you may think I'm mad for trying to make

[OT] - Mailing List Servers/mods .. etc

2002-09-26 Thread Jim Morrison [Mailinglists]
Sorry.. This is completely off topic.. but I have a question you guys might help me with.. I'm writing then next part of a big modperl project I'm doing.. This bit could be loosely called a mailing-list-server.. The listserver is going to handle out-going (only'ish) opt-in mailing lists. The

RE: XML::Xalan, Perl modules and bootstrapping... :-s

2002-07-05 Thread Jim Morrison [Mailinglists]
[Marked with ] # Terminating inside exit handler.. Inside terminate().. # This is bad. Modules should not warn unless you ask them for debugging information. -- Hmm...

RE: Apache Error Log

2002-06-12 Thread Jim Morrison [Mailinglists]
Sorry.. Haven't read / Can't find the whole thread.. But... Surely just: print STDERR Hello World; ... I always just stick this in my code... ### DEBUGGER sub debug{ my $message = shift; if ($debug){ print STDERR $message\n;

Authorisation Techniques

2002-05-19 Thread Jim Morrison [Mailinglists]
Guys, This is probably a very common question, so I will keep it breif.. perhaps someone could point me to an appropriate FAQ.. I am writing an app, that requires user authentication.. at the moment, it is actually only one CGI, and judging by it's size it's unlikely I will need to split it..

modperl idle timeout....

2002-05-17 Thread Jim Morrison [Mailinglists]
Guys, I am currently using mod_perl XML::Xalan.. which is going well.. (For those of you who answered questions of mine about memory usage, I found some big memory leaks in my code... Doh!... Much better now... ) However, because it's only a little box, and because Xalan (and therefore

Re: Many requests per page

2002-05-02 Thread Jim Morrison [Mailinglists]
Poss. not the best person to answer this.. but I'll take a shot.. Can you not limit your perl-script to a single folder, so that you can set: Alias /scripts/ /path/to/scripts/ Location /scripts SetHandler perl-script PerlHandler My::Site PerlSendHeader On