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

2000-05-10 Thread Leslie Mikesell
According to G.W. Haywood: Hi there, On Tue, 9 May 2000, Leslie Mikesell wrote: I'm more concerned about dealing with large numbers of simultaneous clients (say 20,000 who all hit at 10 AM) and I've run into problems with both dbm and mysql where at a certain point of write activity

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

2000-05-10 Thread Differentiated Software Solutions Pvt. Ltd.
Hi, Pardon my ignorance, what is storable. Murali -Original Message- From: Rodney Broom [EMAIL PROTECTED] To: Perrin Harkins [EMAIL PROTECTED]; Jeremy Howard [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: 10 May 2000 13:13 Subject: Re: speed up/load balancing of

Re: [Summation] 100% sessions?

2000-05-10 Thread Jay Jacobs
So as I see it there are essentially 2 *mostly* reliable ways, cookies and url-rewriting. Both have drawbacks and neither are 100%. There really isn't a way to cross-reference anything else (IP or login) becuase there are valid reasons for a user to come from multiple ip addresses during a

Registry error

2000-05-10 Thread Jesús Lasso Sánchez
Hi everybody, Does anybody know what is this and how i can resolve it. [Tue May 9 22:36:57 2000] [error] Can't undef active subroutine at /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/Apache/Registry.pm line 102. Thank you Jesús __ Jesús Lasso -

hang with $r-internal_redirect

2000-05-10 Thread Louis-David Mitterrand
I am trying an internal_redirect from a POST with Mason and Apache just hangs: $r-method('GET'); $r-method_number(M_GET); $r-headers_in-unset('Content-length'); $r-internal_redirect_handler("/wronglogin.md"); $m-abort(302); However when I try an internal_redirect from a GET it works but HTTP

Need help on Error on evaluating script from P-code

2000-05-10 Thread amy
Running Apache 1.3.12, mod_perl 1.23, ePerl 2.2.13, mysql 3.23.14a get error message in apache/logs : [error] access to /usr/local/bin/apache/http/index.iphtml failed for 127.0.0.1, reason: Apache::ePerl: Error on evaluating script from P-code apache/conf/httpd.conf : DocumentRoot

Re: mod_perl on Cobalt servers?

2000-05-10 Thread Andrew Wyllie
Hi Bakki, I have used mod_perl on a Cobalt Qube. It ran ok, but I would recommend getting a lot of memory for it. The problems I ran into were mostly related to the Qube not being that great of a development environment. The Qube is great as a firewall/internet server for a small compnay, but

Re: Need help on Error on evaluating script from P-code

2000-05-10 Thread ___cliff rayman___
i always send ascii. i was responding to an e-mail sent in html format. amy, you got me in trouble :-) -- ___cliff [EMAIL PROTECTED] David McCabe wrote: From: ___cliff rayman___ [EMAIL PROTECTED] Date: Wed, 10 May 2000 14:40:14 -0700 Subject: Re: Need help on "Error on evaluating script

Re: Source Code Shows Up in IE But Not Netscape

2000-05-10 Thread Billy Donahue
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 10 May 2000, Bri Carey wrote: Date: Wed, 10 May 2000 05:26:52 PDT From: Bri Carey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Source Code Shows Up in IE But Not Netscape I realize that this is not an ePerl forum, but since ePerl

Re: may be an offtopic question..

2000-05-10 Thread Matt Sergeant
7On Wed, 10 May 2000, Niral Trivedi wrote: All, I am not sure whether this is the right place to ask this question... sorry if not.. My question is, Can we use custom database for authentication with Apache instead of default text based authentication??? Has anybody done that

may be an offtopic question..

2000-05-10 Thread Niral Trivedi
All, I am not sure whether this is the right place to ask this question... sorry if not.. My question is, Can we use custom database for authentication with Apache instead of default text based authentication??? Has anybody done that before?? I have looked apache site and cpan site.. but

Re: [Summation] 100% sessions?

2000-05-10 Thread Roger Espel Llima
Jay Jacobs [EMAIL PROTECTED] wrote: So as I see it there are essentially 2 *mostly* reliable ways, cookies and url-rewriting. Both have drawbacks and neither are 100%. There really isn't a way to cross-reference anything else (IP or login) becuase there are valid reasons for a user to

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

2000-05-10 Thread Stephen Zander
"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 :) -- Stephen "There are those who call me... Tim"

Re: Source Code Shows Up in IE But Not Netscape

2000-05-10 Thread Bri Carey
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? IE quite brilliantly ignores the MIME type specified in the header in some cases... If you

RE: Registry error

2000-05-10 Thread Geoffrey Young
see http://perl.apache.org/guide/troubleshooting.html#Can_t_undef_active_subrout ine for a bit of help... a scouring of the archives also suggests that Apache::SIG has problems with 5.005 (http://forum.swarthmore.edu/epigone/modperl/sniwhoxzer/3.0.5.32.19980805091 [EMAIL PROTECTED]) but that

RE: Wierd error log entry:

2000-05-10 Thread Leon Brocard
Matt wrote: Apache::StatINC: Can't locate /usr/lib/perl5/site_perl/5.0 at /usr/lib/perl5/site_perl/5.005/i386-linux/Apache/StatINC.pm line 19. "use 5.0" going wrong somewhere and getting inserted into %INC? Leon -- Leon Brocard | perl "programmer" | [EMAIL PROTECTED]

Re: Need help on Error on evaluating script from P-code

2000-05-10 Thread Ask Bjoern Hansen
On Wed, 10 May 2000, amy wrote: Running Apache 1.3.12, mod_perl 1.23, ePerl 2.2.13, mysql 3.23.14a Try testing your index.iphtml outside the mod_perl environment. Maybe DBI can't connect to the database server for some reason? It's a long time since I've worked with ePerl, but I believe that

Re: Need help on Error on evaluating script from P-code

2000-05-10 Thread ___cliff rayman___
amy wrote: PerlModule Apache::ePerl Files *.iphtml> Options +ExecCGI SetHandler perl-script PerlHandler Apache::ePerl /Files> I don't think an asterik is allowed here. you need to use: FilesMatch *\.iphtml$> or Files ~ *\.iphtml$> or easier Files .iphtml> -- ___cliff [EMAIL PROTECTED]

Re: segfault in DSO mod_perl 1.23 (perl 5.6.0) with apache-1.3.12

2000-05-10 Thread Alan Burlison
Michael Poole wrote: In hopes that this would fix the APXS build, I tried rebuilding with that, but whenever the httpd tried to load the php3 or perl module, it would die in pthread_mutex_lock. This was slightly odd, since php3 would load fine when httpd was statically linked against

ch6.html missing single quote

2000-05-10 Thread Tim DiLauro
On Wed, 10 May 2000, Matt Sergeant wrote: On Wed, 10 May 2000, Niral Trivedi wrote: All, I am not sure whether this is the right place to ask this question... sorry if not.. My question is, Can we use custom database for authentication with Apache instead of default text based

mod_perl on Cobalt servers?

2000-05-10 Thread Bakki Kudva
I would like to hear from anyone who has had some experience with mod_perl on Cobalt's Qube2(MIPS RISC) or Raq3 (x86) microservers. * How well does this work? * Any differences between the Qube Raq relative to mod_perl? * Any caveats? * How well does it work for virtual domains? * Does it void

Re: Using -w in a package

2000-05-10 Thread Stas Bekman
On Wed, 10 May 2000, Scott Alexander wrote: Hi, I've used #!/usr/bin/perl -w in all of my scripts but how can I use -w in a package ? I have always declared variables with my in a sub but speling mistakes will happen. And I don't get any warnings. How can I do this?

RE: Wierd error log entry:

2000-05-10 Thread Geoffrey Young
for what it's worth, I've seen that on my development box too - I usually just do a stop and start instead of relying on StatINC when the error is frequent... --Geoff -Original Message- From: Matt Sergeant [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 10, 2000 7:56 AM To: [EMAIL

Re: Using -w in a package

2000-05-10 Thread ___cliff rayman___
I believe perl 5.6.0 has a new pragma: use warnings; this can be used inside modules and will turn on warnings for that module only. See the new docs for details. -- ___cliff [EMAIL PROTECTED] Scott Alexander wrote: Hi, I've used #!/usr/bin/perl -w in all of my scripts but how can I

Re: [Summation] 100% sessions?

2000-05-10 Thread Jay Jacobs
I embedded notes into this with a short book at the end... On Wed, 10 May 2000, Gunther Birznieks wrote: There is a strong reason for cookies only. Intranets and other controlled environments. snip I'm trying to satisfy as many clents as possible in the chaos of the uncontrolled world of a

[OT] Re: growing processes

2000-05-10 Thread Stephen Zander
"Wim" == Wim Kerkhoff [EMAIL PROTECTED] writes: Wim We're using SqlNet to connect multiple Linux web servers to Wim Oracle running on a Solaris box. Adjust 'processes' and 'sessions' upwards in your initSID.ora file on your database server. Use: svrmgrl connect inernal show paramete

Re: [Summation] 100% sessions?

2000-05-10 Thread Gunther Birznieks
At 01:21 PM 5/10/00 -0500, Jay Jacobs wrote: I embedded notes into this with a short book at the end... On Wed, 10 May 2000, Gunther Birznieks wrote: There is a strong reason for cookies only. Intranets and other controlled environments. snip I'm trying to satisfy as many clents as

Re: [Summation] 100% sessions?

2000-05-10 Thread Matt Sergeant
On Wed, 10 May 2000, Jay Jacobs wrote: So as I see it there are essentially 2 *mostly* reliable ways, cookies and url-rewriting. Both have drawbacks and neither are 100%. There really isn't a way to cross-reference anything else (IP or login) becuase there are valid reasons for a user to

Re: configuring Apache::Session to detect no-cookie browser

2000-05-10 Thread David . Lamkin
Hi, After reading an interesting thread here about session management I would like to detect if the user's browser refuses cookies and switch Apache::Session from cookie mode to URL mangling mode. Has someone already tackled this and would be so kind to share the solution? We are

Re: Bitten by -D_FILE_OFFSET_BITS=64

2000-05-10 Thread Alan Burlison
"Paul G. Weiss" wrote: This has been fixed in a post 1.23 patch. Change the line $PERL_EXTRA_CFLAGS = ""; to $PERL_EXTRA_CFLAGS = $] = 5.006 ? $Config{ccflags} : ""; and try again. Note that this is not a complete fix. It will only work if you allow mod_perl to build apache, as

Re: [Summation] 100% sessions?

2000-05-10 Thread Robin Berjon
At 02:24 10/05/2000 -0500, Jay Jacobs wrote: So as I see it there are essentially 2 *mostly* reliable ways, cookies and url-rewriting. Both have drawbacks and neither are 100%. Well if it's *reliability* that you are looking for, url rewriting seems to come-accross as better. None of the

Wierd error log entry:

2000-05-10 Thread Matt Sergeant
Apache::StatINC: Can't locate /usr/lib/perl5/site_perl/5.0 at /usr/lib/perl5/site_perl/5.005/i386-linux/Apache/StatINC.pm line 19. Granted this is a development server and I do some wierd stuff, but that's just bizarre... Any ideas? -- Matt/ Fastnet Software Ltd. High Performance Web

Re: Wierd error log entry:

2000-05-10 Thread Ken Williams
Perhaps it's the result of a line like "require 5.0;"? That's the only thing I can think of, I've never seen it before. [EMAIL PROTECTED] (Matt Sergeant) wrote: Apache::StatINC: Can't locate /usr/lib/perl5/site_perl/5.0 at /usr/lib/perl5/site_perl/5.005/i386-linux/Apache/StatINC.pm line 19.

Re: Source Code Shows Up in IE But Not Netscape

2000-05-10 Thread remco
On Wed, 10 May 2000, Bri Carey wrote: Hi I realize that this is not an ePerl forum, but since ePerl runs as part of mod_perl, I thought it couldn't hurt to at least ask here. I must be missing something obvious. I've installed Apache::ePerl. I've configured httpd.conf according to

configuring Apache::Session to detect no-cookie browser

2000-05-10 Thread Louis-David Mitterrand
Hi, After reading an interesting thread here about session management I would like to detect if the user's browser refuses cookies and switch Apache::Session from cookie mode to URL mangling mode. Has someone already tackled this and would be so kind to share the solution? TIA -- Louis-David

RE: 100% sessions?

2000-05-10 Thread Leon Brocard
Rodney Broom: I've been thinking for a while now on a "complete" state maintainance system. Although it would be allot of writing, I think that a system could be build that magically incorporates one or more of: - magic numbers (or session IDs) - cookies - IP tracking - special form vars

Using -w in a package

2000-05-10 Thread Scott Alexander
Hi, I've used #!/usr/bin/perl -w in all of my scripts but how can I use -w in a package ? I have always declared variables with my in a sub but speling mistakes will happen. And I don't get any warnings. How can I do this? regards and thanks in advance Scott

Re: may be an offtopic question..

2000-05-10 Thread Vivek Khera
"NT" == Niral Trivedi [EMAIL PROTECTED] writes: NT My question is, Can we use custom database for authentication with NT Apache instead of default text based authentication??? NT Has anybody done that before?? I have looked apache site and cpan site.. NT but couldn't find any documentation...

Re: Source Code Shows Up in IE But Not Netscape

2000-05-10 Thread ___cliff rayman___
I don't think you are using the Files directive properly. It seems to have some Directory information as well as Files information. Try something like this: DirectoryMatch /root/of/webmaster/area/ FilesMatch ".*\.html?$" SetHandler perl-script PerlHandler Apache::ePerl Options

Re: Wierd error log entry:

2000-05-10 Thread Matt Sergeant
On Wed, 10 May 2000, Ken Williams wrote: Perhaps it's the result of a line like "require 5.0;"? That's the only thing I can think of, I've never seen it before. Maybe... I wonder what would cause that to a) go in %INC, and b) go out of date... Ah well. Server restart got rid of the error :)

Re: [Summation] 100% sessions?

2000-05-10 Thread Gunther Birznieks
There is a strong reason for cookies only. Intranets and other controlled environments. You generally do not have to worry about the lack of cookies, and if a user does have them turned off in the organization, then you can mandate them to turn them on as corporate policy if they want to use