Re: Make test with mod_perl 1.26

2001-07-30 Thread Stas Bekman
On Sun, 29 Jul 2001 [EMAIL PROTECTED] wrote: Greetings. I had a mod_perl setup with Apache 1.3.11/ mod_perl 1.24 on a RedHat Linux box running fine. Then I decided (or was asked, actually) to upgrade to Apache 1.3.20/ mod_perl 1.26. The Apache install by itself ran fine, but when I try to

Re: Using Apache::Reload in development environment?

2001-07-30 Thread Stas Bekman
On Sun, 29 Jul 2001, Philip Mak wrote: I have a site running mod_perl that I'm constantly making changes to. What do I have to do in order to make it so that when I edit any file (either a .pl script directly called on the site, or a .pm module that my perl script uses), then the changes

Re: [Problem] Can't return Content-type with SERVER_ERROR

2001-07-30 Thread Paul Kulchenko
Hi, Stas! i think you want to use err_headers_out() instead. http://www.modperl.com/book/chapters/ch9.html#Server_Response_Methods Thanks for the help, but it seems like I'm using it already: $self-response-headers-scan(sub { $r-err_header_out(@_) }); #

RE: [Problem] Can't return Content-type with SERVER_ERROR

2001-07-30 Thread Geoffrey Young
-Original Message- From: Paul Kulchenko [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 2:53 AM To: Stas Bekman Cc: [EMAIL PROTECTED] Subject: Re: [Problem] Can't return Content-type with SERVER_ERROR [snip] it's the same as to use err_headers_out as far as I

Re: Using Apache::Reload in development environment?

2001-07-30 Thread Philip Mak
On Mon, 30 Jul 2001, Stas Bekman wrote: no (re-)?read the manpage. it's all there. It's possible that Matt wants to add other options to the SYNOPSIS section, as not everybody bothers to read the manpage. I think people are used to see all of the functionality covered in SYNOPSIS. In

Size

2001-07-30 Thread John Buwa
Hello, I was wondering is this an unusual size? I know the man says size will grow etc... but i am looking for others opinions based on there setups and real life vs. text book comparison. 4669 nobody 20 0 215M 91M 204 R 29.6 55.9 1:00 httpd It seems my modperl apache runs slower than my

RE: Size

2001-07-30 Thread Michael Stevens
In our setup... (with many many modules loaded), the apache processes are around 30-40mb. In cases where I've seen apache get that big it's always been due to a bug or memory leak, usually in my own code. Michael -Original Message-From: John Buwa [mailto:[EMAIL

Re: Copying files across machines

2001-07-30 Thread Ged Haywood
Hi there, On Sun, 29 Jul 2001, Radu Caulea wrote: I use Apache 3.19, mod_perl, Oracle in an NT environment. As I decided to have Apache on one machine and Oracle on another, I need to transfer and display with Apache/mod_perl a remote html file (i.e. written by Oracle on the other machine).

Re: Size

2001-07-30 Thread Ged Haywood
On Mon, 30 Jul 2001, John Buwa wrote: It seems my modperl apache runs slower than my regular apache could this be the reason? That's likely to be a symptom, not a cause. Can you be less vague than runs slower? Under mod_perl, your Perl scripts should run faster than they do under plain

[DIGEST] mod_perl digest 2001/07/28

2001-07-30 Thread Geoffrey Young
-- mod_perl digest July 15, 2001 - July 28, 2001 -- Recent happenings in the mod_perl world... Features o

Make test with mod_perl 1.26 - further iinfo

2001-07-30 Thread jmeltze
What CGI.pm version are you using? perl -MCGI -le 'print $CGI::VERSION' Version 3.02. Is there a way to go back to an earlier version, if that will take care of this problem? It was installed by either Bundle::CPAN or Bundle::Apache - I have installed both of these recently. i think

Re: Size

2001-07-30 Thread jh_lists
I was wondering is this an unusual size? I know the man says size will grow etc... but i am looking for others opinions based on there setups and real life vs. text book comparison. 4669 nobody20 0 215M 91M 204 R29.6 55.9 1:00 httpd That's not normal. Perhaps you have an

Re: Make test with mod_perl 1.26 - further iinfo

2001-07-30 Thread Stas Bekman
On Mon, 30 Jul 2001 [EMAIL PROTECTED] wrote: What CGI.pm version are you using? perl -MCGI -le 'print $CGI::VERSION' Version 3.02. Is there a way to go back to an earlier version, if that will take care of this problem? It was installed by either Bundle::CPAN or Bundle::Apache - I

Error with apache with mod_perl

2001-07-30 Thread Mauricio Amorim
Hi, my name is Mauricio I'm from Brazil I am trying install apache 1.3.20 with mod_perl 1.1.26 on Solaris 2.6 The output of gcc -vis: Reading specs from /net/gnu/stow/gcc-2.95.2-5.6/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/specsgcc version 2.95.2 19991024 (release) The steps of

RE: [Problem] Can't return Content-type with SERVER_ERROR

2001-07-30 Thread Paul Kulchenko
Hi, Geoffrey! your procedure is correct. well, except that you can't do what you want :) take a look at http_protocol.c - 'r-content_type = text/html; charset=iso-8859-1;' is hardcoded in ap_send_error_response(), so it's an apache thing and not a mod_perl thing... Absolutely true to

Bad Action

2001-07-30 Thread Radu Caulea
I would like to apologies for my yesterday post of many lines. Though this message will cause also bandwith consumption, please forgive me ! I replied to the digest, instead of creating a new message. I am truly sorry ! Radu Caulea, Senior Oracle Consultant www.caulea.fr.st

Re: Using Apache::Reload in development environment?

2001-07-30 Thread Eric Cholet
--On 30/07/01 06:43 -0400 Philip Mak wrote: In perldoc Apache::Reload, the DESCRIPTION has the following sections: - StatINC Replacement - Register Modules Implicitly - Register Modules Explicitly - Special Touch File I just re-read it again and realized that StatINC Replacement is what

RewriteRule Proxy problems

2001-07-30 Thread Philip Mak
I have a front-end lightweight Apache proxying Apache::ASP scripts to a backend mod_perl Apache. I am experiencing problems with query strings. In my lightweight httpd.conf, I have: RewriteRule ^/(.*)\.asp http://66.33.85.239/$1.asp [p] If I go to

Re: segfault with mod_perl, Oraperl, XML::Parser

2001-07-30 Thread Scott Kister
I've been looking into this some more without much progress. Is anyone on this list successfully using modperl, DBD::Oracle, and XML::Parser on Solaris 2.8 x86? Are there any known symbol conflicts with Oracle's libclntsh.so and Expat? Any good alternative perl XML Parsers to Expat? Thanks,

Re: segfault with mod_perl, Oraperl, XML::Parser

2001-07-30 Thread Philip Mak
On Mon, 30 Jul 2001, Scott Kister wrote: uselargefiles=define Have you tried turning off uselargefiles? I might be off track here, but recently I tried to install mod_perl on Solaris 5.8. It kept segfaulting until I turned off uselargefiles and binary compatibility with 5.00503. You could try

Re: RewriteRule Proxy problems

2001-07-30 Thread Perrin Harkins
In my lightweight httpd.conf, I have: RewriteRule ^/(.*)\.asp http://66.33.85.239/$1.asp [p] If I go to http://www.buildreferrals.com/rotatorstats.asp, it gets proxy'd correctly. But if I go to http://www.buildreferrals.com/rotatorstats.asp?login=pmak0 (that's the same URL, but with a

OT: Re: RewriteRule Proxy problems

2001-07-30 Thread ___cliff rayman___
Perrin Harkins wrote: In my lightweight httpd.conf, I have: RewriteRule ^/(.*)\.asp http://66.33.85.239/$1.asp [p] If I go to http://www.buildreferrals.com/rotatorstats.asp, it gets proxy'd correctly. But if I go to http://www.buildreferrals.com/rotatorstats.asp?login=pmak0

Re: RewriteRule Proxy problems

2001-07-30 Thread Philip Mak
On Mon, 30 Jul 2001, Perrin Harkins wrote: But if I go to http://www.buildreferrals.com/rotatorstats.asp?login=pmak0 (that's the same URL, but with a query string added), then I get a 404 Not Found error. Of course you do. Your regex ^/(.*)\.asp doesn't match that URL with the query

Re: RewriteRule Proxy problems

2001-07-30 Thread Perrin Harkins
But if I go to http://www.buildreferrals.com/rotatorstats.asp?login=pmak0 (that's the same URL, but with a query string added), then I get a 404 Not Found error. Of course you do. Your regex ^/(.*)\.asp doesn't match that URL with the query string. Why not? I did not put a $ at

Bug??

2001-07-30 Thread Chris Rodgers
Hi, I'm running Apache with mod_perl and mod_ssl. (Apache/1.3.20 (Unix) mod_perl/1.25 mod_ssl/2.8.4 OpenSSL/0.9.5a to be precise.) I am listening on both port 80 (HTTP) and port 443 (HTTPS) and serving perl scripts. There are two separate vhosts on the two ports - i.e. entirely different

Re: Bug??

2001-07-30 Thread Stas Bekman
On Tue, 31 Jul 2001, Chris Rodgers wrote: Hi, I'm running Apache with mod_perl and mod_ssl. (Apache/1.3.20 (Unix) mod_perl/1.25 mod_ssl/2.8.4 OpenSSL/0.9.5a to be precise.) I am listening on both port 80 (HTTP) and port 443 (HTTPS) and serving perl scripts. There are two separate vhosts

RE: [Problem] Can't return Content-type with SERVER_ERROR

2001-07-30 Thread Stas Bekman
On Mon, 30 Jul 2001, Paul Kulchenko wrote: Hi, Geoffrey! your procedure is correct. well, except that you can't do what you want :) take a look at http_protocol.c - 'r-content_type = text/html; charset=iso-8859-1;' is hardcoded in ap_send_error_response(), so it's an apache

Can't solve the CGI/pm Can't call register_cleanup problem

2001-07-30 Thread Fran Fabrizio
Hello, I've just installed a mod_perl enabled Apache and I am trying to configure it. I ran into the can't call register_cleanup on an undefined value while I was trying out the sample startup.pl file in the Writing Apache Modules in Perl and C book. I did see the note about this in the

Re: Can't solve the CGI/pm Can't call register_cleanup problem

2001-07-30 Thread Stas Bekman
On Tue, 31 Jul 2001, Fran Fabrizio wrote: Hello, I've just installed a mod_perl enabled Apache and I am trying to configure it. I ran into the can't call register_cleanup on an undefined value while I was trying out the sample startup.pl file in the Writing Apache Modules in Perl and C