Re: [OT] Replacing reverse squid with mod_proxy

2002-03-26 Thread Igor Sysoev
On Mon, 25 Mar 2002, Hans Juergen von Lengerke wrote: We are currently using squid set up as a reverse proxy to accelerate several heavy backends (mod_perl, etc) and to protect them from slow client connections. I am looking into replacing the squid with apache+mod_proxy. Why? Because

[PATCH] Class::DBI (auto_increment in Apache::DBI)

2002-03-26 Thread Tatsuhiko Miyagawa
I use Class::DBI + DBD::mysql in mod_perl Apache::DBI enabled environment. I've found SELECT LAST_INSERT_ID would *sometimes* cause vizarre result in persistent connection. It happens very rarely, but the phenomenon is gone away we stop-start the httpd. Here's a patch for Class::DBI that fix

[OT] CPAN hacked?

2002-03-26 Thread Ernest Lergon
Hi, is http://search.cpan.org hacked? Enclosed two traceroutes FYI. Ernest cpan.org 209.85.157.220 --- [snip] 5 160 ms 150 ms 161 ms dt-gw.wswdc.ip.att.net [194.25.6.234] 6 160 ms 161 ms 160 ms 12.122.11.233 7 170 ms 180 ms 180 ms

Re: [OT] CPAN hacked?

2002-03-26 Thread Robin Berjon
On Tuesday 26 March 2002 14:37, Ernest Lergon wrote: Hi, is http://search.cpan.org hacked? Enclosed two traceroutes FYI. cpan.org 209.85.157.220 --- [snip] [209.85.0.11] 14 210 ms 220 ms 221 ms onion.valueclick.com [209.85.157.220] search.cpan.org

[OT] activating multimedia files in cgi-bin

2002-03-26 Thread Ernest Lergon
Daniel Jonda wrote: http://www.flyerfabrik.de/cgi-bin/gallery/gallery.cgi See http://httpd.apache.org/docs/mod/mod_alias.html#scriptalias It is a very bad idea to place content below /cgi-bin. Everything what is called below /cgi-bin is interpreted as a skript - apache want's to run it,

[OT] CPAN hacked?

2002-03-26 Thread Ernest Lergon
Hi, is http://search.cpan.org hacked? A Chaos titled page with a baby-photo saying Question everything is displayed. Enclosed two traceroutes FYI. Ernest cpan.org 209.85.157.220 --- [snip] 5 160 ms 150 ms 161 ms dt-gw.wswdc.ip.att.net [194.25.6.234] 6 160

Re: [OT] CPAN hacked?

2002-03-26 Thread Ernest Lergon
Sorry, must have been a problem with a hidden proxy of my ISP or something. I did'nt tell my browser to use any proxy. It's all working again. Please calm down ;-)) Ernest -- * * VIRTUALITAS Inc. *

Problems after an upgrade...

2002-03-26 Thread Jose Ortiz
I had mod_perl installed and working in apache well until a few days ago. I think that after an upgrade to apache the problems began. This is on the RedHat 7.2 OS. The problem is that when I start the apache's daemon it gives me the [ok] check mark, but when I check the status it writes

RE: Problems after an upgrade...

2002-03-26 Thread Jonathan M. Hollin
I had mod_perl installed and working in apache well until a few days ago. I think that after an upgrade to apache the problems began. This is on the RedHat 7.2 OS. Yep - I had the same problem. What I discovered was that the RH update had installed a new instance of Apache and started it! At

Re: Apache::Session

2002-03-26 Thread Jeffrey W. Baker
On Mon, 2002-03-25 at 15:44, Stathy G. Touloumis wrote: Has anyone ran into issues with data being written to the data source using Apache::Session::Store::DB_File and Apache::Session::Lock::File? We are running into a unique instance where a value is not being saved to the session store at

mod_perl install problem

2002-03-26 Thread Avnish Pundir
Hi, As per description given in http://perl.apache.org/distributions.html page, I tried installing mod_perl from http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer. I was able to install mod_perl using PPM but as mentioned in above page about copying mod_perl.so in apache/module

RE: Apache::Session

2002-03-26 Thread Stathy G. Touloumis
Thanks for responding . . . Not sure what else you need. Destroying session objects? Do you mean to untie the session $obj? This is done at the end of each request via untie ( untie(%$obj) ). I have noticed behavior where when attempting to delete a session object ( tied(%$obj)-delete ) I

How to get two perl namespaces in apache

2002-03-26 Thread Thomas K. Burkholder
Hi there- Apologies if this gets sent twice - I sent a message yesterday, but it seems to have vanished into the ether. I'd like to run the production server of my mod_perl project (http://www.areaj.org/areaj) on the same machine as my development server. Clearly they have the same module

Re: How to get two perl namespaces in apache

2002-03-26 Thread ___cliff rayman___
Thomas K. Burkholder wrote: run them in two different environments - I don't think running them on two different virtual servers is going to do it, right? Doesn't apache just start one perl runtime? Please tell me if I'm mistaken about there is only one interpreter, so running a module

Re: How to get two perl namespaces in apache

2002-03-26 Thread Drew Taylor
Thomas, You can run seperate environments if your coding doesn't reference any hard coded paths. I just setup a dev server at my new job and do exactly what you want. All you have to do is add a use lib qw(/path/to/modules); in your startup.pl or make sure the PERL5LIB environment var is set.

Re: How to get two perl namespaces in apache

2002-03-26 Thread Ernest Lergon
Thomas K. Burkholder wrote: So, I guess I'm wondering if there's an easy way to have two completely separate apache configurations running on the same machine (listening on different ports obviously). Hi Thomas, just throwing a glance I found:

Re: How to get two perl namespaces in apache

2002-03-26 Thread Perrin Harkins
Ernest Lergon wrote: just throwing a glance I found: http://thingy.kcilink.com/modperlguide/modules/Apache_PerlVINC_Allows_Module.html Not a good idea for production use. It will slow things down. Handy for development with multiple projects using separate virtual hosts though. - Perrin

Apache build problem on Windows

2002-03-26 Thread Pete Kelly
I get the following errors when trying to build from command line: C:\mod_perl-1.26perl Makefile.PL APACHE_SRC=\Apache_1.3.23 INSTALL_DLL=\Apache\ mod_perl PerlDispatchHandler.enabled PerlChildInitHandlerenabled PerlChildExitHandlerenabled

Re: mod_perl install problem

2002-03-26 Thread Randy Kobes
On Tue, 26 Mar 2002, Avnish Pundir wrote: Hi, As per description given in http://perl.apache.org/distributions.html page, I tried installing mod_perl from http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer. I was able to install mod_perl using PPM but as mentioned in above page

Re: Accessing Apache master process pid

2002-03-26 Thread Jon Jensen
On Wed, 20 Mar 2002, Geoffrey Young wrote: Jon Jensen wrote: Within mod_perl, I would like to know the pid of the master Apache daemon, well, here's one other way: Perl $Apache::Server::SaveConfig = 1; $PidFile = 'logs/httpd.pid'; /Perl PerlInitHandler 'sub { warn The

Re: Apache build problem on Windows

2002-03-26 Thread Stas Bekman
Pete Kelly wrote: I get the following errors when trying to build from command line: C:\mod_perl-1.26perl Makefile.PL APACHE_SRC=\Apache_1.3.23 INSTALL_DLL=\Apache\ mod_perl PerlDispatchHandler.enabled PerlChildInitHandlerenabled PerlChildExitHandlerenabled

Re: mod_perl install problem

2002-03-26 Thread Avnish Pundir
Yes it's working. Thanks Randy. -Avnish - Original Message - From: Randy Kobes [EMAIL PROTECTED] To: Avnish Pundir [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, March 26, 2002 11:20 PM Subject: Re: mod_perl install problem On Tue, 26 Mar 2002, Avnish Pundir wrote: Hi, As per

[ANNOUNCE] PHP::Session 0.06 Apache::Session::PHP

2002-03-26 Thread Tatsuhiko Miyagawa
Announcing the update of PHP::Session and yet another module of nightmare. You can download 'em from http://bulknews.net/lib/archives/ and CPAN. NAME Apache::Session::PHP - glues Apache::Session with PHP::Session SYNOPSIS use Apache::Session::PHP; tie %session,

Getting configuration into a filter

2002-03-26 Thread Dan McGuirk
Hi, I'm writing a filter using modperl-2.0, and trying to figure out how to get per-directory configuration information passed into it. I've tried both PerlSetVar and PerlSetEnv, but nothing seems to be getting through. Below is a section of the httpd.conf and the code. The attempt to

Re: Apache::DBI or What ?

2002-03-26 Thread John D Groenveld
There are databases that allow you to change the current user without reconnecting. In fact someone posted a module to do this a while back, but I can't remember which database it was for. Seems like it was Sybase or Informix. Jeff Horn posted this a couple years ago either here or @

Re: Getting configuration into a filter

2002-03-26 Thread Stas Bekman
Dan McGuirk wrote: Hi, I'm writing a filter using modperl-2.0, and trying to figure out how to get per-directory configuration information passed into it. I've tried both PerlSetVar and PerlSetEnv, but nothing seems to be getting through. Below is a section of the httpd.conf and the

Re: Apache::DBI or What ?

2002-03-26 Thread Eric Frazier
Hi, If you have any idea where to find this code I would be thankful. I can only find this.. http://aspn.activestate.com/ASPN/Mail/Message/perl-DBI/298774 Thanks, Eric At 04:47 PM 3/26/02 -0500, John D Groenveld wrote: There are databases that allow you to change the current user without

cvs commit: modperl/t/net/perl util.pl

2002-03-26 Thread dougm
dougm 02/03/26 06:52:28 Modified:.Changes t/net/perl util.pl Log: Submitted by: Tatsuhiko Miyagawa Reviewed by: dougm fix bug in modules/util test Revision ChangesPath 1.640 +3 -0 modperl/Changes Index: Changes

cvs commit: modperl/Util Util.pm

2002-03-26 Thread dougm
dougm 02/03/26 06:56:15 Modified:Util Util.pm Log: Submitted by: Eric Cholet, Robin Berjon Reviewed by: dougm doc: Apache::Util::escape_html is only meant to escape US-ASCII text Revision ChangesPath 1.9 +4 -0 modperl/Util/Util.pm Index: