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
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
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
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
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
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
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
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
-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
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:
10 matches
Mail list logo