Re: speed up/load balancing of session-based sites

2000-05-11 Thread Mark Imbriaco
On 10 May 2000, Stephen Zander wrote: "Perrin" == Perrin Harkins [EMAIL PROTECTED] writes: Perrin I think every RDBMS I've seen, includig MySQL, guarantees Perrin atomicity at this level. Look, Mummy, the funny man said MySQL and RDBMS in the same sentence :) Please don't start

Best way?

2000-05-11 Thread Scott Alexander
Hi, I have in every script my $user_language = library::language($user, $dbh) ; # is it finnish, english or swedish my %output = library::load_language($user_language) ; # ties %output to a dbm %output holds all the different outputs needed for each language then for my subs which are in a

Apache::AutoIndex patch

2000-05-11 Thread Alexei V. Barantsev
Dear modperlers! I have found that Apache::Autoindex dos not like filenames with special characters (like space or ?). Such a name should be uri-escaped. See patch below. Best wishes, Alexei. (12:05:45) $ diff -u AutoIndex.pm AutoIndex.pm-orig --- AutoIndex.pmThu May 11

Re: hang with $r-internal_redirect

2000-05-11 Thread Ged Haywood
Hi there, On Wed, 10 May 2000, Louis-David Mitterrand wrote: I am trying an internal_redirect from a POST with Mason and Apache just hangs: Have a look at the Guide, "Caching POSTed Data". 73, Ged.

Best approach for loading several modules

2000-05-11 Thread Martin Wood
Hi there, Our Apache::Registry CGIs need access to a dozen or so core modules - is there an elegant solution to loading these without seeing a dozen or so use statements at the head of the script? (We have over 100 different CGIs that share a common structure - it would be a nightmare

Re: Best approach for loading several modules

2000-05-11 Thread Jeff Beard
Checkout Apache::RegistryLoader. --Jeff At 02:23 PM 5/11/00, Martin Wood wrote: Hi there, Our Apache::Registry CGIs need access to a dozen or so core modules - is there an elegant solution to loading these without seeing a dozen or so use statements at the head of the script? (We have over 100

Re: Best approach for loading several modules

2000-05-11 Thread Vivek Khera
"MW" == Martin Wood [EMAIL PROTECTED] writes: MW Our Apache::Registry CGIs need access to a dozen or so core modules - is MW there an elegant solution to loading these without seeing a dozen or so use MW statements at the head of the script? (We have over 100 different CGIs that The "use"

Re: Best approach for loading several modules

2000-05-11 Thread Martin Wood
Thanks for the replies so far all - things are already becoming clearer. If you add a "standard" module to your set, how will it affect existing apps if they don't directly need it or call it? Why have the "use" statement at all if that particular module is not being used? So pre-load all

RE: Best approach for loading several modules

2000-05-11 Thread Geoffrey Young
-Original Message- From: Martin Wood [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 11, 2000 10:38 AM To: [EMAIL PROTECTED] Subject: Re: Best approach for loading several modules Thanks for the replies so far all - things are already becoming clearer. If you add a

Virtual servers mixing up required scripts

2000-05-11 Thread Uri Bernstein
Hi, At my company we're developing a project using mod_perl and Apache::Registry. The project consists of one main script, which "require"s a couple of other scripts and calls functions contained in them. In order to provide a "private" development environment to each of our developers, we

Re: Apache::AutoIndex patch

2000-05-11 Thread Alexei V. Barantsev
Ken Williams [EMAIL PROTECTED] writes: [EMAIL PROTECTED] (Alexei V. Barantsev) wrote: Dear modperlers! I have found that Apache::Autoindex dos not like filenames with special characters (like space or ?). Such a name should be uri-escaped. See patch below. This patch is

Re: Best approach for loading several modules

2000-05-11 Thread Martin Wood
but code isn't duplicated if you pre-load your modules: http://perl.apache.org/guide/performance.html#Preload_Perl_Modules_at_Server _S I realise the actual code isn't duplicated - but the script itself still needs the list of "use" directives regardless of whether you pre-load them and

Re: speed up/load balancing of session-based sites

2000-05-11 Thread Leslie Mikesell
According to Mark Imbriaco: "Perrin" == Perrin Harkins [EMAIL PROTECTED] writes: Perrin I think every RDBMS I've seen, includig MySQL, guarantees Perrin atomicity at this level. Look, Mummy, the funny man said MySQL and RDBMS in the same sentence :) Please don't start on

where to get socks library??

2000-05-11 Thread Steven Bauer
I am trying to build apache 1.3.12 with mod_perl 1.23, and perl 5.6 on solaris 2.7 everytime I run the modperl build it changes my apache config to require socks. I have been disabling it. but it is getting to be a PITA. Where can I get a socks library for solaris??? Steve Bauer

Re: Virtual servers mixing up required scripts

2000-05-11 Thread Ged Haywood
Hi there, On Thu, 11 May 2000, Uri Bernstein wrote: Hi, In order to provide a "private" development environment to each of our developers, we defined a virtual server per developer. Each virtual server has its root aliased to a different directory [snip] This seems to work fine most of

RE: Virtual servers mixing up required scripts

2000-05-11 Thread Geoffrey Young
-Original Message- From: Ged Haywood [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 11, 2000 12:26 PM To: [EMAIL PROTECTED] Subject: Re: Virtual servers mixing up "require"d scripts Hi there, On Thu, 11 May 2000, Uri Bernstein wrote: Hi, In order to provide a

Re: Best approach for loading several modules

2000-05-11 Thread Perrin Harkins
On Thu, 11 May 2000, Martin Wood wrote: Our Apache::Registry CGIs need access to a dozen or so core modules - is there an elegant solution to loading these without seeing a dozen or so use statements at the head of the script? Yes. As Vivek pointed out, you can move them all into a

Re: Best approach for loading several modules

2000-05-11 Thread Joshua Chamas
Martin Wood wrote: Thanks for the replies so far all - things are already becoming clearer. If you add a "standard" module to your set, how will it affect existing apps if they don't directly need it or call it? Why have the "use" statement at all if that particular module is not

[OT] Re: speed up/load balancing of session-based sites

2000-05-11 Thread Stas Bekman
On Thu, 11 May 2000, Leslie Mikesell wrote: According to Mark Imbriaco: "Perrin" == Perrin Harkins [EMAIL PROTECTED] writes: Perrin I think every RDBMS I've seen, includig MySQL, guarantees Perrin atomicity at this level. Look, Mummy, the funny man said MySQL and RDBMS

Re: Best approach for loading several modules

2000-05-11 Thread Stas Bekman
On Thu, 11 May 2000, Martin Wood wrote: but code isn't duplicated if you pre-load your modules: http://perl.apache.org/guide/performance.html#Preload_Perl_Modules_at_Server _S I realise the actual code isn't duplicated - but the script itself still needs the list of "use" directives

Re: Best approach for loading several modules

2000-05-11 Thread Martin Wood
Please read the sections posted by Geoff and others. The *already* posted link: http://perl.apache.org/guide/config.html#The_Confusion_with_use_at_the_ answers your question. Damn mod_perl guide, much too comprehensive for its own good! :) Please invest some time into reading before crying

talking about cookies (was: session something...)

2000-05-11 Thread Stas Bekman
For all those who favor chocolate cookies (mostly related to the latest discussion about the sessions): IE hole exposes Web surfers' private data: Microsoft is working on a patch that will prevent its Internet Explorer browser from inadvertently letting Web sites peer into any visitor's cookie

Re: talking about cookies (was: session something...)

2000-05-11 Thread Marc Slemko
On Fri, 12 May 2000, Stas Bekman wrote: For all those who favor chocolate cookies (mostly related to the latest discussion about the sessions): IE hole exposes Web surfers' private data: Microsoft is working on a patch that will prevent its Internet Explorer browser from inadvertently

Re: talking about cookies (was: session something...)

2000-05-11 Thread Jeffrey W. Baker
On Thu, 11 May 2000, Marc Slemko wrote: In reality, IE's recently publicized hole (which I reported to them, in a slightly modified form, months ago but they didn't see fit to release a patch...) doesn't change much. Hotmail? Yahoo mail? amazon.com? etc. Your cookies for all those

Re: Apache::AutoIndex patch

2000-05-11 Thread w trillich
"Alexei V. Barantsev" wrote: w trillich [EMAIL PROTECTED] writes: speaking of autoindex issues-- i can't get apache to display the HEADER or README files (above and below the tabular file listing), and when i posted my most recent question, someone else piped up and said they've

Re: Source Code Shows Up in IE But Not Netscape

2000-05-11 Thread w trillich
Bri Carey wrote: When I display an .iphtml page in Netscape, everything seems to be fine. When I display it in IE (4.72), I get a plain text output of the source code, including html tags. Why this discrepancy? I've tried setting the default type to text/html in the

AxKit update

2000-05-11 Thread Matt Sergeant
For those not on the axkit mailing list, I thought you might like a quickie AxKit update: First an introduction: AxKit is a standards based XML templating system, and much more. Ultimately it's an application server, but there's more work to do to reach that level, IMHO. Right now it can deliver