Re: Off Topic: mod_perl reverse proxy setup and extracting client's original IP

2003-09-25 Thread Torsten Foertsch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 25 September 2003 22:15, Haroon Rafique wrote: > If I keep this directive in the back-end config, the client's original IP > never makes it to the access_log. The application does however get the since you have got the real ip address alre

AW: is it mod or just perl?

2003-09-25 Thread Denis Banovic
If $ENV{MOD_PERL} is set, you are running under mod_perl Otherwise, you are running normal perl Lust auf mehr - http://maedls.at "THINK THE WEB WAY." --- NCM - NET COMMUNICATION MANAGEMENT GmbH ---[ Denis Banovic - CTO mailto:[EMAI

AW: Using mysql

2003-09-25 Thread Denis Banovic
I would use Apache::DBI. Denis Lust auf mehr - http://maedls.at "THINK THE WEB WAY." --- NCM - NET COMMUNICATION MANAGEMENT GmbH ---[ Denis Banovic - CTO mailto:[EMAIL PROTECTED] ---[ Mühlstrasse 4a AT - 5023 Salzburg

Using mysql

2003-09-25 Thread perl
Is this the correct database package, DBI, to use with mod_perl 2? Also is there a connection caching? thanks, -rkl

Re: is it mod or just perl?

2003-09-25 Thread C-omputerSolutions Webmaster
because in order to install mod_perl you have to have normal perl installed as well At 11:45 PM 9/25/2003, you wrote: how do i know i'm using mod_perl versus just perl? thanks, -rkl

is it mod or just perl?

2003-09-25 Thread perl
how do i know i'm using mod_perl versus just perl? thanks, -rkl

Re: Perl 5.8.1 is out

2003-09-25 Thread Stas Bekman
Issac Goldstand wrote: So much for all the questions of when to put out the next mp1_99 release :-) http://www.perl.com/CPAN/src/perl-5.8.1.tar.gz Indeed. A new mp1_99 release candidate should be available really soon now. Watch this space. ___

Re: Off Topic: mod_perl reverse proxy setup and extracting client's original IP

2003-09-25 Thread Jie Gao
On Fri, 26 Sep 2003, Jie Gao wrote: > Date: Fri, 26 Sep 2003 08:04:14 +1000 (EST) > From: Jie Gao <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: Off Topic: mod_perl reverse proxy setup and extracting > client's original IP > > > > > On Thu, 25 Sep 2003, Haroon Rafique wrote: > >

Re: Off Topic: mod_perl reverse proxy setup and extracting client's original IP

2003-09-25 Thread Kyle Dawkins
Ahh hahaha OK, posted too soon. Should have read it more carefully. Sorry to post a solution to a problem you don't have. :-) Kyle Dawkins Central Park Software On Thursday, Sep 25, 2003, at 15:05 US/Pacific, Kyle Dawkins wrote: Hi there I have the same setup. Just put in a rewrite rule to

Re: Off Topic: mod_perl reverse proxy setup and extracting client's original IP

2003-09-25 Thread Jie Gao
On Thu, 25 Sep 2003, Haroon Rafique wrote: > Date: Thu, 25 Sep 2003 16:15:53 -0400 (EDT) > From: Haroon Rafique <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Off Topic: mod_perl reverse proxy setup and extracting client's > original IP > > Hi, > > I have a slightly off topic inquir

Re: Off Topic: mod_perl reverse proxy setup and extracting client's original IP

2003-09-25 Thread Kyle Dawkins
Hi there I have the same setup. Just put in a rewrite rule to add the client IP into the query string: RewriteEngine On RewriteRule ^/perl/(.*)$ http://localhost:8103/perl/$1?_client_ip=%{REMOTE_ADDR} [P,QSA] Works like a charm. Then in your mod_perl stuff, you can grab the value of _client_

Re: Off Topic: mod_perl reverse proxy setup and extracting client's original IP

2003-09-25 Thread Haroon Rafique
On Today at 4:15pm, HR=>Haroon Rafique <[EMAIL PROTECTED]> wrote: HR> To secure the back-end, direct access to the back-end directly is HR> prohibited. The back-end config has the following directive to only HR> allow proxied requests to come through: HR> HR> HR> order deny,allow HR> deny fr

Re: [mp2] Problem with forking cleanup in high request rate server

2003-09-25 Thread Scot Martin
Sorry about the last post. This one is definately plain text. The good news is that I've distilled the problem down to a one line change in my httpd.conf file. With the following line, Apache drops a core when spawn_proc_prog() is called: PerlTransHandler Apache::OK The above line causes

[MP1/2 ANNOUNCE] Apache-AuthNetLDAP-0.26 released

2003-09-25 Thread speeves
The uploaded file Apache-AuthNetLDAP-0.26.tar.gz has entered CPAN as file: $CPAN/authors/id/S/SP/SPEEVES/Apache-AuthNetLDAP-0.26.tar.gz size: 5602 bytes md5: a6ee94572d2588f029cf8b400deaef6b This version of Apache-AuthNetLDAP includes the ability to have fail-over authentication in the ca

Off Topic: mod_perl reverse proxy setup and extracting client's original IP

2003-09-25 Thread Haroon Rafique
Hi, I have a slightly off topic inquiry. I've googled/RTFMed. I run mod_perl in a reverse proxy setup. Light apache in the front-end, heavy mod_perl apache in the back-end both running on the same machine. The front end has the following reverse proxy directives: ProxyPass/perl/ http://l

Re: [libapreq] could not create/open temp file

2003-09-25 Thread Joe Schaefer
Brian Hirt <[EMAIL PROTECTED]> writes: > all of a sudden i'm getting '[libapreq] could not create/open temp > file'. Searching on google, i came across a patch stan posted to give > a more meaningful error message, but somehow it never made it into the > CVS tree. (i've got libapreq1.2 installed)

[libapreq] could not create/open temp file

2003-09-25 Thread Brian Hirt
all of a sudden i'm getting '[libapreq] could not create/open temp file'. Searching on google, i came across a patch stan posted to give a more meaningful error message, but somehow it never made it into the CVS tree. (i've got libapreq1.2 installed) here was the old patch. anyway, it would

Perl 5.8.1 is out

2003-09-25 Thread Issac Goldstand
So much for all the questions of when to put out the next mp1_99 release :-) http://www.perl.com/CPAN/src/perl-5.8.1.tar.gz

[mp1] Problem install modperl1.28 apache1.3.28perl5.8.1RC5 on MacOSX(10.2.6)

2003-09-25 Thread Harry Zhu
When run >>/usr/local/bin/perl Makefile.PL APACHE_SRC=../apache_1.3.28/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 got a bunch of messages like Unknown option: 1 Usage: head [-options] ... and when run "make", it stopped at ld: warning multiple definitions of symbol _regcomp regex/libregex.a(regcomp.