Re: [RFC] holding a mod_perl conference

2000-04-06 Thread Ask Bjoern Hansen
On Wed, 5 Apr 2000, Jeffrey W. Baker wrote: [...] I also think that I wouldn't attend a mod_perl only conference. I can think of very few things that relate only or mostly to mod_perl. A lot of other things are important to us, like Apache configuration, DBI programming, SSL, etc. [...]

Re: Win32/Linux cross dev... closing in :) Last comments?

2000-04-06 Thread Gunther Birznieks
Soulhuntre wrote: Hiya :) -Original Message- From: Gunther Birznieks [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 06, 2000 6:56 AM Cc: [EMAIL PROTECTED] Subject: Re: Win32/Linux cross dev... closing in :) Last comments? Writing Apache::Registry and then moving to

Re: mod_perl shared perl instances?

2000-04-06 Thread Gunther Birznieks
Yeah... http://perl.apache.org/guide/strategy.html#One_Plain_Apache_and_One_mod_per Soulhuntre wrote: Hiya :) OK... mod_perl embeds an instance of Perl inside the Apache system, and with Apache::ASP allows us to mix perl/html. Good :) The problem is that these processes are 'heavy'. Is

NT/IIS/PerlEx vs ASP : stupid benckmark

2000-04-06 Thread Valter Mazzola
From: Gunther Birznieks [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: mod_perl compat on win32? RE: mod_perl weaknesses? help me build a case Date: Thu, 06 Apr 2000 13:40:51 +0800 Soulhuntre wrote: Hiya :) -Original Message- From: Leslie

Benckmarking

2000-04-06 Thread Valter Mazzola
Why not make a benckmark between ASP, PerlEX, mod_perl under Win32 ? Using the same hardware and same (ported to asp) simple scripts. CAn be useful to have a small script that connects to an access db and performs some simple query. thank you, valter

test

2000-04-06 Thread J. Horner
Is the mailing list down? 2000/04/06 13:14 (GMT -05:00) J. J. Horner Linux, Apache, Perl, Unix, Stronghold [EMAIL PROTECTED] http://www.knoxlug.org System has been up: 5 days.

RE: test

2000-04-06 Thread Wu, Gordon
I got this msg. Gordon Wu -Original Message- From: J. Horner [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 06, 2000 1:27 PM To: [EMAIL PROTECTED] Subject: test Is the mailing list down? 2000/04/06 13:14 (GMT -05:00) J. J. Horner Linux, Apache, Perl, Unix, Stronghold

confusion between scripts

2000-04-06 Thread Marshall Dudley
We have had banners servers running on 2 different boxes for years under mod_perl without any problems. Recently we moved two banner servers onto the same box, each under a different virtual domain. Now I cannot get them to run reliably. It appears that since the banners in each are run as

apache/news/sendmail/unixadmin mailing list.

2000-04-06 Thread Wu, Gordon
does anybody know where is the mailling list for any of followings? apache inn news server sendmail Unix Admin thanks, Gordon Wu

Apache::Registry error message?

2000-04-06 Thread jter
Does anybody know how to track down what is causing this error. It seems that Apache::Registry is trying to undefine some handler, but I don't know what handler or where. Any ideas? [Thu Apr 6 11:06:26 2000] [error] Can't undef active subroutine at

[OT] getting an identifier from a ref

2000-04-06 Thread Chris Warren
I was writing a debugging routine and came across an issue I have not been able to resolve. Basically, I have a reference and I would like to get the identifier of the variable to which it refers. For example: my $foo = 5; debugDisplay(\$foo); sub debugDisplay { my ($var_ref) = @_;

Re: [slightly OT] Problem with cookies

2000-04-06 Thread Drew Taylor
Cliff, I thought about that, but according to the CGI.pm docs (and the netscape cookie specs too), you have to have at least two(2) dots so that you can't match things like .edu or .com. The .domain.com is supposed to match all hosts containing domain.com. Argh! Thanks for the thought, I'll look

THREE STRIKES...

2000-04-06 Thread Gram, Jim
Dear Mod_perlers, This is more an Apache question, but here goes. Is there any way to modify the "Authorization Required" page received after three failed attempts to login in using Basic Authentication (or insert a custom page) ? Also, can the number of attempts before failure be

Re: [slightly OT] Problem with cookies

2000-04-06 Thread Perrin Harkins
On Thu, 6 Apr 2000, Drew Taylor wrote: I have a site which uses cookies for user tracking. If you go to http://cloudstock.com/, the server is sending the cookie but the browser is not accepting it ("warn before accepting cookie" is on). If I go to http://www.cloudstock.com/ the cookie is sent

Re: confusion between scripts

2000-04-06 Thread Stas Bekman
On Thu, 6 Apr 2000, Marshall Dudley wrote: We have had banners servers running on 2 different boxes for years under mod_perl without any problems. Recently we moved two banner servers onto the same box, each under a different virtual domain. Now I cannot get them to run reliably. It

Re: [OT][General Programming] Key Generator sub

2000-04-06 Thread Jeff . Bulley
Well as another self-made programmer the idea occurs to me to grab the modules Crypt::DES or Crypt::IDEA from CPAN might provide either a fix, or at least insite into possible resolutions. Jeff CN=Jeff [EMAIL PROTECTED] on 04/06/2000 03:02:38 PM Sent by: "Martin A. Langhoff" [EMAIL

Re: [slightly OT] Problem with cookies

2000-04-06 Thread Drew Taylor
Perrin Harkins wrote: Does your Set-Cookie header include a path setting? Some browsers require that. Yes, it sets the path to '/'. I'm sitting here scratching my head. I'm doing everything I know to do and it's not working... :-( Here's the relevant code: ($domain is 'cloudstock') my

Re: confusion between scripts

2000-04-06 Thread Stas Bekman
Stas Bekman wrote: mod_perl guide is your friend: http://perl.apache.org/guide/rel/config.html#A_Script_From_One_Virtual_Host_C Oops, sorry. I've used the URL one from my local machine. This is the right one: http://perl.apache.org/guide/config.html#A_Script_From_One_Virtual_Host_C

may be an off topic question..

2000-04-06 Thread Niral Trivedi
All, I am not sure whether this is the right group to post this question.. I have found this thing in book "Writing Apache Modules with PERL and C" from O'Reilly.. This book has a topic in it in which it has given an example using a module called 'IPO::Shareable' which is available from CPAN

Re: [slightly OT] Problem with cookies

2000-04-06 Thread Drew Taylor
Drew Taylor wrote: Perrin Harkins wrote: Does your Set-Cookie header include a path setting? Some browsers require that. Yes, it sets the path to '/'. I'm sitting here scratching my head. I'm doing everything I know to do and it's not working... :-( Here's the relevant code:

Re: THREE STRIKES...

2000-04-06 Thread Vivek Khera
"GJ" == Gram, Jim [EMAIL PROTECTED] writes: GJ This is more an Apache question, but here goes. Is there any way to GJ modify the "Authorization Required" page received after three failed GJ attempts to login in using Basic Authentication (or insert a custom page) ? GJ Also, can the number

Re: [OT][General Programming] Key Generator sub

2000-04-06 Thread Marshall Dudley
The easiest way to do a crypt with plain vanilla 4 funtion math is to turn the string into a number, then divide the number by a large prime number. Then take the decimal part of the answer, and truncate to the desired length. Marshall "Martin A. Langhoff" wrote: hi list! I'm guilty of

Re: [slightly OT] Problem with cookies

2000-04-06 Thread ___cliff rayman___
I tested this from my end also. I see the cookies being properly set when I do: lwp-request -e 'http://cloudstock.com' I get a cookie warning from Netscape when i get them via 'http://www.cloudstock.com'. no cookie warning from netscape and no cookies in cookie.txt when i access via

Re: [slightly OT] Problem with cookies

2000-04-06 Thread Ian Struble
On Thu, 6 Apr 2000, Perrin Harkins wrote: On Thu, 6 Apr 2000, Drew Taylor wrote: I have a site which uses cookies for user tracking. If you go to http://cloudstock.com/, the server is sending the cookie but the browser is not accepting it ("warn before accepting cookie" is on). If I go to

Re: [slightly OT] Problem with cookies

2000-04-06 Thread Christopher Taranto
Hi Drew, My site has several domains that lead into it and I had the same problem with cookies that I fixed this way. Here's how I ended up doing the redirections using mod_rewrite and a perl script (which needed to be portable in my case). This could have probably been done simpler and more

Re: [slightly OT] Problem with cookies

2000-04-06 Thread Rusty Foster
At 05:29 PM 04/06/00 -0400, you wrote: Kee, I'm about to that point. What is the easiest way to do this? I have one IP for the domain. Should I have my scripts check SERVER_NAME do a redirect? BTW, I have complete control over the box so I can do what I want. :-) I think whoever said

Re: [slightly OT] Problem with cookies

2000-04-06 Thread Kee Hinckley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 At 4:09 PM -0700 4/6/00, Christopher Taranto wrote: Hi Drew, My site has several domains that lead into it and I had the same problem with cookies that I fixed this way. Here's how I ended up doing the redirections using mod_rewrite and a perl

mod_perl, Apache and zones?

2000-04-06 Thread John Darrow
I've run into a configuration problem and was wondering if anyone had any advice. I need to be able to run the same sets of pages in several different environments (basically just different environment variables). The problem is that once a process is initiated in a certain environment it

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-06 Thread Yu Di
Hi, I have isolated the problem, but it just made me more puzzled. The problem is not in that file itself, but in "homepage.htm" which is also an ASP file, in which I tried to open a MySQL connection. When I call DBI-connect("DBI:mysql:database=...;host=...","myusername","mypasswd"), it will

Re: [OOT] ANNOUNCE: IPO::Shareable

2000-04-06 Thread Kip Hampton
okay, i'll bite. . . ### package IPO::Shareable use IPO::BuzzWords qw(:xml :b2b :asp :wha); use Angel::Investor use Location::PaloAlto qw(:noMatterWhatItCosts) sub hype { my ($self, $company) = @_; my $product; die "penniless" unless $self-{sold}; if

Re: THREE STRIKES...

2000-04-06 Thread Gunther Birznieks
Vivek, Is it possible that a special auth handler could be written that stores the number of bad authorizations for a userid and the last time of the hit in a DBM file for quick lookup? Then, configure an environment or server variable if the auth screwed up more than 3 times within the last

Re: NT/IIS/PerlEx vs ASP : stupid benckmark

2000-04-06 Thread Gunther Birznieks
It may be a "stupid" benchmark. But no one seems to have commented on the CPU rates. Why was PerlEx 100% and PerlScript 45% on the same machine, same ActiveState Perl (presumable), same CPU config. And yet took the same amount of time to complete. I find that interesting. I suspect that it is a

memory leak during server graceful restarts

2000-04-06 Thread Nikki Chumakov
mod_perl probaly have memory leakage during rereading configs (e.g. on the apachectl graceful) My system: RH 6.1, linux-2.2.15pre17 glibc-2.1 apache-1.3.12 mod_ssl-2.6.2 russian patches (ftp.lexa.ru/pub/apache-rus/) PL29.4 mm-1.0.12 mod_perl-1.22 With mod_perl module enabled in httpd.conf

Re: [slightly OT] Problem with cookies

2000-04-06 Thread Drew Taylor
Rusty and Kee, The dual VirtualHost configuration is exactly the solution I will take! It will also apply it to the main domain as well - thinkstock.com, .org, and .net. That will solve my problem, as well as any future ones, and I can just be done with this stupid cookie problem! You just made

Re: THREE STRIKES...

2000-04-06 Thread Mark Imbriaco
On Thu, 6 Apr 2000, Gunther Birznieks wrote: Vivek, Is it possible that a special auth handler could be written that stores the number of bad authorizations for a userid and the last time of the hit in a DBM file for quick lookup? Then, configure an environment or server variable if the

Re: THREE STRIKES...

2000-04-06 Thread Gunther Birznieks
Yeah, but this is the same with any X strikes solution on any other platform. It's a tradeoff. One would assume that if a DoS were being played, that other information would be gathered about the person doing a DoS. According to that theory, one would also assume securID cards are not safe from