[OT] Replacing reverse squid with mod_proxy

2002-03-25 Thread Hans Juergen von Lengerke
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 ultimately I'd like to be able to cluster the frontend using

Re: Be carefull with apache 1.3.24

2002-03-25 Thread Hans Juergen von Lengerke
John Siracusa [EMAIL PROTECTED] on Mar 25, 2002: Does anyone know how I can put my ProxyIOBufferSize config line in a conditional that'll keep it from blowing up if I'm using a version of apache earlier than 1.3.24? You could use IfDefine but that would mean that the command that starts

Re: problems with $r-status('OK')

2002-03-04 Thread Hans Juergen von Lengerke
clayton cottingham [EMAIL PROTECTED] on Mar 4, 2002: every time i use the $r-status('OK'); OK in this context is not a string, but a constant that is defined in Apache::Constants. Modify your code like this: use Apache::Constants qw(:common); ... $r-status(OK); # No quotes, it's a

Re: [OT-ish] Session refresh philosophy

2002-02-20 Thread Hans Juergen von Lengerke
David Harris [EMAIL PROTECTED] on Feb 19, 2002: The encoded information is [...] split into reasonable length hidden fields. Why not put everything in one field? Are there restrictions? Does it make a difference when using POST? Hans

Re: PerlPassEnv and Proxies

2002-02-18 Thread Hans Juergen von Lengerke
Andrew Green [EMAIL PROTECTED] on Feb 18, 2002: As part of this, I'm trying to allow a prefix to the URL path to set an environment variable I can then use in my mod_perl programs to determine databases, templates etc. The vanilla httpd.conf features a line thus: RewriteRule

Re: mod_perl compile problem

2002-02-14 Thread Hans Juergen von Lengerke
OCNS Consulting [EMAIL PROTECTED] on Feb 14, 2002: [mod_perl-1.26]# perl Makefile.PL APACHE_SRC=/dist/apache_1.3.23/src DO_HTTPD=1 USE_ACAPI=1 PREP_HTTPD=1 EVERYTHING=1 ^ Make that USE_APACI=1 Now, I may be missing something and somebody already asked you earlier about

Persistent HTTP Connections ala Apache::DBI

2001-11-22 Thread Hans Juergen von Lengerke
I'm working on a web application which obtains data via a legacy system rather than DBI. Using DBI is (unfortunately) not an option. The machine where the web application runs cannot run the legacy system. Thus, the setup looks somewhat like this: DB = DB Query (Legacy) = Apache/mod_perl

Apache::DBI Segmentation fault

2001-09-10 Thread Hans Juergen von Lengerke
I am getting a segmentation fault on configtest when using Apache::DBI (using the startup.pl example in Apache::DBI Distribution). When trying to start the server I get no error messages but the server isn't running afterwards: root@ganja:/home/www/server/conf ../bin/apachectl start

Re: Apache::DBI Segmentation fault

2001-09-10 Thread Hans Juergen von Lengerke
-L/usr/local/lib' Characteristics of this binary (from libperl): Built under linux Compiled at Nov 6 1999 15:47:59 @INC: /usr/lib/perl5/5.00503/i586-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i586-linux /usr/lib/perl5/site_perl/5.005 . Hans Juergen

Re: Apache::DBI Segmentation fault

2001-09-10 Thread Hans Juergen von Lengerke
Hi, I actually got this to work now. The segfault happens when I load Apache::Registry before Apache::DBI. However, I have used the eg/startup.pl from the Apache::DBI distribution and that has Apache::Registry loaded before Apache::DBI... Maybe this is a bug? My httpd.conf Perl* relevant parts: