running 2 versions of apache and mod perl on the same machine

2004-01-07 Thread Malka Cymbalista
We are moving to a new web server and we have installed apache 2.0.48 with mod_perl 1.99_12. We are running perl 5.8.1 on a Sun Solaris machine. One of the applications that we run on our web server is an eprints server which is system for archiving documents. When one compiles eprints, one ess

Re: running 2 versions of apache and mod perl on the same machine

2004-01-07 Thread Thomas Klausner
Hi! On Wed, Jan 07, 2004 at 09:27:49AM +0200, Malka Cymbalista wrote: > 1. In other words, is it possible to run 2 apache processes on the same > machine, one with apache 2 and mod perl 2, and one with apache 1.3 and > mod perl 1. I know nothing about eprints, but it should be no problem to ha

Re: running 2 versions of apache and mod perl on the same machine

2004-01-07 Thread Thomas Schindl
That's no problem at all. I'm running on our production server an apache2 on port 80(without mod_perl) with an proxy forward to a mod_perl-apache2 and a mod_perl-apache1. Although in our case mod_perl1 has its own perl because of various reasons. Tom On Wed, 2004-01-07 at 08:27, Malka Cymbalista

Different results using mod_proxy or mod_rewrite vs direct server

2004-01-07 Thread Rafael Caceres
I'm setting up a HTTP/HTPPS reverse proxy server with apache on my DMZ. The proxy will access an internal server (insidelan.server.com) to provide content to outside users. I've attempted using mod_proxy: ServerName insidelan.server.com ProxyPass / http://insidelan.server.com/ ProxyPassRever

mod_perl + PHP not logging $r->user

2004-01-07 Thread Stuart Jansen
I'm using Apache 2.0.48, mod_perl 1.99_12, and Apache::AuthCookie to create a custom authentication scheme. I've noticed that while apache normally logs the $REMOTE_USER, it doesn't log it when accessing PHP pages. The pages are still correctly protected. At first I thought $_SERVER["REMOTE_USER"]

Re: [mp1] signal handler for USR2 in startup.pl doesn't work

2004-01-07 Thread Gary Denslow
this is working for me.  thanks for the suggestion!   use POSIX;   my $sigset = POSIX::SigSet->new(); my $action = "">    'sigUSR2_handler',    $sigset,    &POSIX::SA_NODEFER,);   POSIX::sigaction(&POSIX::SIGUSR2, $action); sub sigUSR2_handler {    warn "got SIGUSR2\n";}

Re: [mp1] modules not shared across children. preloading or fork()issue?

2004-01-07 Thread Daniel Wilson
Problem solved. Turned out to be some kernel patches redhat has applyed to their kernel. It works fine with a vanilla kernel, litteraly all memory is reported as being shared between apache processes now like it was before. Thanks for your help. Danni - Original Message - From: "Perrin

Re: mod_perl + PHP not logging $r->user

2004-01-07 Thread Geoffrey Young
Stuart Jansen wrote: > I'm using Apache 2.0.48, mod_perl 1.99_12, and Apache::AuthCookie to > create a custom authentication scheme. I've noticed that while apache > normally logs the $REMOTE_USER, it doesn't log it when accessing PHP > pages. The pages are still correctly protected. the way th

[mp2) mp1.99_12 fails 9/18 in apache_file.t

2004-01-07 Thread Jay R. Ashworth
from .tgz on 2.0.48 from src on RH7.3: -8<-- Start Bug Report 8<-- 1. Problem Description: mod_perl 1.99_12 fails test, yada yada, see subject line 2. Used Components and their Configuration: *** mod_perl version 1.9912 *** using lib/Apache/BuildConfig

Re: [mp1] modules not shared across children. preloading or fork()issue?

2004-01-07 Thread Stas Bekman
Daniel Wilson wrote: Problem solved. Turned out to be some kernel patches redhat has applyed to their kernel. It works fine with a vanilla kernel, litteraly all memory is reported as being shared between apache processes now like it was before. Great. May be you could do a great service to your fel