Re: Relocated Installation

2005-01-06 Thread Todd Grimason
* Cory Omand <[EMAIL PROTECTED]> [2005-01-06 19:46]: > Hello, > > I'm attempting to build mp2 2.0.0-RC3 as a non-root user, and am having > some difficulty getting mp2 to install everything to a path of my > choosing so I can package it up. Apache2 is built and installed in > /opt/csw/apache2, an

Simple mod_perl Question

2005-01-06 Thread Jeff Bisbee
I just wanted to verify that there weren't any hidden gotchas by doing the following: # set actual ip of host doing the requesting instead of the proxy my ($actual_remote_ip) = split /,/, $r->header_in('X-Forwarded-For'); $r->connection->remote_ip($actual_remote_ip) if $actual_remote_i

Relocated Installation

2005-01-06 Thread Cory Omand
Hello, I'm attempting to build mp2 2.0.0-RC3 as a non-root user, and am having some difficulty getting mp2 to install everything to a path of my choosing so I can package it up. Apache2 is built and installed in /opt/csw/apache2, and therefore mp2 is attempting to install the xs header files into

Re: can't locate Apache/Build.pm

2005-01-06 Thread Randy Kobes
On Fri, 7 Jan 2005, Ron Savage wrote: > On Thu, 6 Jan 2005 11:43:30 -0600 (CST), Randy Kobes wrote: [ ... ] > >A new version (1.19) was just uploaded: > >http://www.cpan.org/authors/id/G/GO/GOZER/ > >Could you try this one to see if you get the same problem? I just > > tried it and it seemed to wo

Re: can't locate Apache/Build.pm

2005-01-06 Thread Ron Savage
On Thu, 6 Jan 2005 11:43:30 -0600 (CST), Randy Kobes wrote: Hi Randy >> Just to elaborate - which package (and version) were you building >> when this occurred? >> Apache::Test V 1.18 for those who missed it > > I understand now this was with the Apache-Test distribution itself. > A new version

Bug(?) in mod_perl-2 RC3

2005-01-06 Thread Gordon Lack
-8<-- Start Bug Report 8<-- 1. Problem Description: Testing web server hangs in t/protocol/echo_filter Web servers itself starts spinning on 100% CPU once this happens. Log has this entry: [Thu Jan 06 18:52:18 2005] [error] APR::Socket::recv:

Re: Missing symbol: mod_perl2-RC3

2005-01-06 Thread Gordon Lack
> >When I compile with MP_DEBUG=1 set the test reports this: > > > > 92021:/local/GML/install/apache2/bin/httpd: rld: Fatal Error: > > attempted access to unresolvable symbol in > >/local/GML//ServerUtil.so: Perl_Tstack_sp_ptr > > Please take a look at: > http://perl.apache.org/do

Re: sessions:THANK YOU!

2005-01-06 Thread Martin Moss
I didn't get chance to reply, and the others covered everything, but the point of Apache::Session is that you don't need to store ANY data other than a session_id in a hidden field or in a cookie... All of the rest of the data you need gets stored locally on the server side. Much more secure. Ma

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Sergio Salvi
Run "perl -V" on both hosts and check if there are any differences between the output, mainly on "Platform" and "Compile-time options" sections. Also, you could create a simple perl script (like "$x++ for (1..100)") and Benchmark them on both hosts. HTH, Sergio. On Thu, 6 Jan 2005, Alex G

Re: Beginner needs suggestion!

2005-01-06 Thread Perrin Harkins
It sounds like you're looking for apache help. This is not a general apache help mailing list. This list is only for mod_perl users. For general apache help, look here: http://httpd.apache.org/lists.html#http-users - Perrin

Re: Beginner needs suggestion!

2005-01-06 Thread Frank Wiles
On Thu, 06 Jan 2005 22:20:10 +0100 vadim <[EMAIL PROTECTED]> wrote: > Hallo everybody, > > I need a suggestion as a beginner. I am trying to set up apache2 > server with subversion repository under it. I have to authenticate > clients in the following way: > > 1) As first, client may provide a v

Beginner needs suggestion!

2005-01-06 Thread vadim
Hallo everybody, I need a suggestion as a beginner. I am trying to set up apache2 server with subversion repository under it. I have to authenticate clients in the following way: 1) As first, client may provide a valid SSL certificate. If client provides certificate, my small perl module goes to

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Perrin Harkins
On Thu, 2005-01-06 at 12:39 -0800, Jay Scherrer wrote: > With FC3 and SElinux threads are more prevalent. I thought thats why I > was upgrading to Apache2. Use of better threading technology. On Linux, I recommend you use preforking, not threads, with mod_perl 2. It uses far less memory than th

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Jay Scherrer
Why are you using Apache1.3? Have tried compiling Apache2 with MP2? With FC3 and SElinux threads are more prevalent. I thought thats why I was upgrading to Apache2. Use of better threading technology. On Thursday 06 January 2005 10:15 am, Alex Greg wrote: > Hi, > > > Recently I've upgraded on

Re: Shared memory space

2005-01-06 Thread Frank Wiles
On Thu, 06 Jan 2005 13:30:40 -0700 "John D. Sanders" <[EMAIL PROTECTED]> wrote: > How can I increase the amount of shared memory space that this error > is talking about? > > Apache/2.0.46 (Red Hat) configured -- resuming normal operations > Loading Apache::Request at runtime. You could increase

Shared memory space

2005-01-06 Thread John D. Sanders
How can I increase the amount of shared memory space that this error is talking about? Apache/2.0.46 (Red Hat) configured -- resuming normal operations Loading Apache::Request at runtime. You could increase shared memory between Apache processes by preloading it in your httpd.conf or handler.p

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Frank Wiles
On Thu, 06 Jan 2005 14:47:54 -0500 Perrin Harkins <[EMAIL PROTECTED]> wrote: > Maybe it would be cool to make an FC3 RPM of Perl built with the best > options that installs into a non-conflicting location available for > download. Hmmm, if it was compiled with Intel's compiler for a little > more

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Alex Greg
On Thu, 06 Jan 2005 14:40:20 -0500, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Thu, 2005-01-06 at 19:35 +, Alex Greg wrote: > > Any further advice would be appreciated, before I take the next step > > and compile my own Perl. > > The final variable here is the kernel. There may be somethi

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Perrin Harkins
On Thu, 2005-01-06 at 12:01 -0700, John D. Sanders wrote: > Sorry for butting in here but you have piqued my curiosity. Is it > better to do a minimal install of RHAS and build up from there with > source or should I use what ships and just add to it. The way you do it depends on your local admin

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Frank Wiles
On Thu, 6 Jan 2005 19:35:12 + Alex Greg <[EMAIL PROTECTED]> wrote: > I've been doing this as part of the standard install process - > removing all unnecessary packages and services. The only network > service running is SSH - this is the same as on the FC1 boxes. > chkconfig --list on the FC3

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Perrin Harkins
On Thu, 2005-01-06 at 19:35 +, Alex Greg wrote: > Any further advice would be appreciated, before I take the next step > and compile my own Perl. The final variable here is the kernel. There may be something about the kernel differences between the releases that favors apache's process model.

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Alex Greg
On Thu, 6 Jan 2005 12:40:01 -0600, Frank Wiles <[EMAIL PROTECTED]> wrote: > On Thu, 6 Jan 2005 18:15:27 + > Alex Greg <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > Recently I've upgraded one of our mod_perl servers to Fedora Core 3 > > (the others are all running Fedora Core 1). > > > > > >

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Frank Wiles
On Thu, 06 Jan 2005 12:01:35 -0700 "John D. Sanders" <[EMAIL PROTECTED]> wrote: > Sorry for butting in here but you have piqued my curiosity. Is it > better to do a minimal install of RHAS and build up from there with > source or should I use what ships and just add to it. This is starting t

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread John D Groenveld
In message <[EMAIL PROTECTED]>, Perrin Harkins wr ites: >How can you tell, and what can you do about it? Any specific info would >be greatly appreciated. OS issues might be best pinpointed by benchmarking the two httpd's on the two Fedora's but w/o modperl loaded. John [EMAIL PROTECTED]

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Frank Wiles
On Thu, 06 Jan 2005 13:56:11 -0500 Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Thu, 2005-01-06 at 12:40 -0600, Frank Wiles wrote: > > While I agree recompling Perl will help, you might also look into > > whether or not SELinux is slowing you down. > > How can you tell, and what can you do

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread John D. Sanders
Sorry for butting in here but you have piqued my curiosity.  Is it better to do a minimal install of RHAS and build up from there with source or should I use what ships and just add to it. On Thu, 2005-01-06 at 12:40 -0600, Frank Wiles wrote: While I agree recompling Perl will he

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Perrin Harkins
On Thu, 2005-01-06 at 12:40 -0600, Frank Wiles wrote: > While I agree recompling Perl will help, you might also look into > whether or not SELinux is slowing you down. How can you tell, and what can you do about it? Any specific info would be greatly appreciated. Regarding recompiling perl,

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Frank Wiles
On Thu, 6 Jan 2005 18:15:27 + Alex Greg <[EMAIL PROTECTED]> wrote: > Hi, > > > Recently I've upgraded one of our mod_perl servers to Fedora Core 3 > (the others are all running Fedora Core 1). > > > What I've found is that the Fedora Core 3 machine is consistently > slower to respond than

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread John D Groenveld
In message <[EMAIL PROTECTED]>, Alex Greg writes: >We're using the Fedora Perl packages (perl-5.8.3-16 on FC1, >perl-5.8.5-9 on FC3), but I have compiled Apache and mod_perl on all >the machines from source, with the following command: If you build your own Perl from source, you can remove the pot

mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Alex Greg
Hi, Recently I've upgraded one of our mod_perl servers to Fedora Core 3 (the others are all running Fedora Core 1). What I've found is that the Fedora Core 3 machine is consistently slower to respond than the Fedora Core 1 machines: [EMAIL PROTECTED] root]# for f in web1 web2 web3 web4; do ec

Re: can't locate Apache/Build.pm

2005-01-06 Thread Randy Kobes
On Wed, 5 Jan 2005, Randy Kobes wrote: > On Wed, 5 Jan 2005, Ron Savage wrote: > > > Server Version: Apache/2.0.50 (Win32) mod_perl/1.99_15-dev Perl/v5.8.4 > [ ... ] > > After perl Makefile.PL I get: > > Can't locate Apache/Build.pm in @INC (@INC contains: lib > > C:/Perl/lib C:/Perl/site/lib .) a

Re: Missing symbol: mod_perl2-RC3

2005-01-06 Thread Stas Bekman
Lack Mr G M wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: Problems on Irix6.5.x (n32 ABI mode). The test server fails to even start. (The Apache2 server itself starts and runs OK without mod_perl.) When I compile with MP_DEBUG=1 set the te

sessions:THANK YOU!

2005-01-06 Thread greger
Thank you all who replied to my session state question. Well it doesn't really bother me that I store data in cookies or hidden fields, but I want the best, fastest, and slickest solution I can create. And always keen to learn new stuff, and I want to improve my coding all the time, that's why I a

Missing symbol: mod_perl2-RC3

2005-01-06 Thread Lack Mr G M
-8<-- Start Bug Report 8<-- 1. Problem Description: Problems on Irix6.5.x (n32 ABI mode). The test server fails to even start. (The Apache2 server itself starts and runs OK without mod_perl.) When I compile with MP_DEBUG=1 set the test reports this:

Re: clearing a parameter using Apache::Request

2005-01-06 Thread Pratik
Yeah ! Just do : my $cgi = CGI->new(); -Pratik On Thu, 6 Jan 2005 06:07:52 -0800 (PST), [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi Sean ! > > > > You can use "my $cgi = CGI->new($r);" in your request handler to get > > the CGI object. > > > > Thanks, > > Pratik > Hi all, > I'd also be

Re: mod_perl.c:61: `my_perl' undeclared under Cygwin

2005-01-06 Thread Randy Kobes
On Thu, 6 Jan 2005, Nick *** wrote: > > /usr/src/mp2/xs/APR/Base64/APR__Base64.h: In function > > `MPXS_apr_base64_encode': > > /usr/src/mp2/xs/APR/Base64/APR__Base64.h:37: static > > symbol `MPXS_apr_base64_enco de' is marked dllexport [ ... ] > I've found the source of all ev

Re: Win32 hooks/hookrun.t failure

2005-01-06 Thread Nick ***
>Nick *** wrote: > >>> Are you running the latest dev svn? >> >> The latest svn is fine. I just removed the patch in order to test more >> this issue, and that's the coredump... > >Understood. I certainly don't have the time to look at fastcgi problems at >the moment. If someone can that

Re: maintaining state between request cycles....

2005-01-06 Thread Sean Davis
Greger, This is some simple code I put in my modules that uses Apache::Session and Apache::Cookie. $self->query is an Apache::Request object. The first time this is called, it checks if a cookie (you could use a form hidden field or a parameter in url to store the ID) exists and gets a sessio

Re: maintaining state between request cycles....

2005-01-06 Thread Michael Peters
[EMAIL PROTECTED] wrote: Hi, in my application ( the Project XP ) I use mod_perl. but I haven't yet found a good way of maintaining state between request cycles, using hidden fields and cookies. Is there ( I hope ) a better way to store the state of the client/server application between requests ot

Re: maintaining state between request cycles....

2005-01-06 Thread Issac Goldstand
http://search.cpan.org/dist/Apache-Session/Session.pm - Original Message - From: <[EMAIL PROTECTED]> To: "mod_perl" Sent: Thursday, January 06, 2005 4:10 PM Subject: maintaining state between request cycles Hi, in my application ( the Project XP ) I use mod_perl. but I haven't yet f

maintaining state between request cycles....

2005-01-06 Thread greger
Hi, in my application ( the Project XP ) I use mod_perl. but I haven't yet found a good way of maintaining state between request cycles, using hidden fields and cookies. Is there ( I hope ) a better way to store the state of the client/server application between requests other than hidden fields an

Re: clearing a parameter using Apache::Request

2005-01-06 Thread greger
> Hi Sean ! > > You can use "my $cgi = CGI->new($r);" in your request handler to get > the CGI object. > > Thanks, > Pratik Hi all, I'd also be interested to know if it is possible to get the params, alter them, from mod_perl without using the request object method... anyone? /Greger -- www.gh-webi

Re: clearing a parameter using Apache::Request

2005-01-06 Thread Pratik
Hi Sean ! You can use "my $cgi = CGI->new($r);" in your request handler to get the CGI object. Thanks, Pratik On Thu, 6 Jan 2005 07:42:12 -0500, Sean Davis <[EMAIL PROTECTED]> wrote: > I have a script that can submit back to itself. If the script is being > entered from somewhere else, then th

clearing a parameter using Apache::Request

2005-01-06 Thread Sean Davis
I have a script that can submit back to itself. If the script is being entered from somewhere else, then the "submitted" form parameter is not present and the form is presented. If the parameter "submitted" is present, then I want to process the form. However, if the processing "fails", I wa

Re: What's wrong with this system's configuration?

2005-01-06 Thread Nick ***
>> >> The admin asked me what command I use in order to get the name >> 'localhost.testdrive.hp.com'. How does MP2 get this? >> > >> >Something like the following: >> > >> >use Socket; >> >my $localhost_addr = pack('C4', 127, 0, 0, 1); >> >my $name = gethostbyaddr($localhost_addr, S