Re: Apache2::URI::unescape_url bug?

2014-06-27 Thread Cees Hek
Hi Mark, I think the problem that David is having is that you were not very clear in your message what the problem was. It might have been helpful to show the output, plus your expected output: Log contains: 6-41913/UK1\0UK1 But I expected this: 6-41913/UK1 Unfortunately I don't have anything

Re: X-Forwarded-For

2012-10-14 Thread Cees Hek
config), it will update the remote client information that apache sees. Makes ip addresses in your access log much more useful, and means you don't need custom code to look at proxy headers to figure out the real client ip address. Cheers, Cees Hek

Re: disabling directives in .htaccess files

2012-02-21 Thread Cees Hek
On Mon, Feb 13, 2012 at 11:58 PM, Aaron Knister wrote: > Hi Tuomo, > > I don't mean 80,000 virtual hosts. I have over 80k unix accounts for which > content is being served via mod_userdir. And I consider each one it's own > "site". It's critical to the environment that users be prevented from >

Re: How do you use mod_perl for your web application?

2011-06-16 Thread Cees Hek
On Thu, Jun 16, 2011 at 2:01 PM, Fred Moyer wrote: > I'm interested in hearing about what application frameworks (Catalyst, > CGI::App, Mojolicious) are used here with mod_perl. We have a lot of code using CGI::App as well as a mix of in-house custom frameworks (old legacy stuff that goes back 8

Re: CGI and character encoding

2011-02-24 Thread Cees Hek
inked to above in the perlmonks link). http://en.wikibooks.org/wiki/Perl_Programming/Unicode_UTF-8 Cheers, Cees Hek On Fri, Feb 25, 2011 at 8:31 AM, André Warnier wrote: > Hi. > > I wonder if someone here can give me a clue as to where to look... > > I am using > Apache/2

Re: huge apache+mod_perl processes

2010-10-06 Thread Cees Hek
Also, if you are using something like Cache::FastMmap, your processes will look quite large depending on the size of your cache, but this memory is shared between children so it is not that big a deal. From the docs: - Because Cache::FastMmap mmap's a shared file into your processes memory sp

Re: mod_perl in larger scale environments

2010-04-15 Thread Cees Hek
d squid as our reverse proxy which can't do SSL offloading). nginx can do it's own load balancing as well but we preferred to use our existing LVS infrastructure to handle that for us. As an added bonus, LVS also load balances our mail cluster... Cheers, Cees Hek

Re: GnuPG module producing empty files

2009-10-18 Thread Cees Hek
On Fri, Oct 16, 2009 at 1:12 AM, Laurent MARTIN wrote: > Hi! > I've recently upgraded one of my old website to mod_perl (ModPerl::PerlRun) > and I'm not able to make GnuPG (0.10) work properly :/ As soon as I try to > encrypt a plaintext file, I get an empty encrypted file. See below what I > get

Re: which reverse proxy for modperl?

2008-12-12 Thread Cees Hek
7;ve been running this setup for several years now and it has never been a bottle neck for us (mind you we have never been slashdotted either :) ) Cheers, Cees Hek

Re: [mp2] symbol lookup error on Debian (testing)

2006-04-27 Thread Cees Hek
On 4/27/06, Garrison Hoffman <[EMAIL PROTECTED]> wrote: > Can anyone guide me in the right direction? > > I'm trying to run a recent mod_perl2 setup on Debian but I've run in to: > > /usr/sbin/apache2: symbol lookup error: > /usr/lib/perl5/auto/APR/Request/Apache2/Apache2.so: > undefined symbol: ap

Re: Apache::Session: can I have a "date" in session

2006-04-27 Thread Cees Hek
On 4/27/06, Igor Chudov <[EMAIL PROTECTED]> wrote: > I run algebra.com with a few thousand registered users and a lot more > unregistered. I use Apache::Session to store their session info. Right > now I clean sessions every month. I would like to be smarter and clean > sessions based on date infor

Re: ANN: Apache2::UploadProgress

2006-04-24 Thread Cees Hek
On 4/24/06, RA Jones <[EMAIL PROTECTED]> wrote: > Exactly what I have spent the last weekend looking for! But it looks > like a non-starter for Win32 as it appears to have Cache::FastMmap as a > dependency, which doesn't have a ppm and won't install as a CPAN module. > Any way it can configured to

ANN: Apache2::UploadProgress

2006-04-24 Thread Cees Hek
is welcome (see the TODO file for things currently in the works), and we would be happy to accept new styles/scripts/patches to improve look and workings of this module. Cheers, Cees Hek

Re: [mp2] $ENV{MOD_PERL}

2004-03-13 Thread Cees Hek
Charlie Smith wrote: Very funny. You guys are ganging up on me. What ever the count is, I get the point. Don't take it personal. I doubt it was intended directly at you, although I can understand if you thought it was. If you follow this list regularly, you will notice that very few users f

Re: [DBI] Virtual hosts running startup scripts with same name

2004-03-11 Thread Cees Hek
Brett Randall wrote: On 11 Mar 2004, Perrin Harkins wrote: As Skylos also pointed out, a common approach for handling these things is to have a singleton class. If that sounds too confusingly OO for you, just think of a simple utility function that you always call to get a $dbh: Wow... Perrin..

Re: [DBI] Virtual hosts running startup scripts with same name

2004-03-10 Thread Cees Hek
Brett Randall wrote: My problem is that SOMETIMES while accessing one virtual host, it will appear as though it is actually pulling data from the other virtual host's database (each virtual host uses a different database as shown below), however the URL does not change. All the links, etc, continue

Re: Help requested with CGI.pm/Data::FormValidator/modperl bug

2004-02-29 Thread Cees Hek
Hi Mark, What version of CGI.pm are you testing with? There are some known problems with using CGI.pm and mod_perl in older versions of CGI.pm. Upgrade to the latest version of CGI.pm and my guess is your problem will go away. Cheers, Cees Mark Stosberg wrote: Hello, I maintain the popular

Re: Jumping out of Apache/mod_perl..

2003-12-05 Thread Cees Hek
Stas Bekman wrote: Cees Hek wrote: Using fork is expensive. It will use up as much memory as the current child is already using, so you might as well just use the current child to finished the processing. That will work only if you care to wait for all processes to finish untill you can

Re: Jumping out of Apache/mod_perl..

2003-12-05 Thread Cees Hek
Jim Morrison [Mailing-Lists] wrote: Hello, Not sure if this isn't slightly OT, but wonder if someone can help.. It seems on topic to me... I have a piece of one of my mod_perl apps that potentially takes quite a while to complete. What I would like to do is to get Apache/mod_perl to start a seco

Re: Apache2 prefork children dying with WebGUI/modperl 1.99_11

2003-11-27 Thread Cees Hek
Jay R. Ashworth wrote: Jay, you know the drill, to start with please get the core stack backtrace and post the bug report here... http://perl.apache.org/bugs/ Well, you know, I'm hearing that a lot this month, and no, I actually am *not* familiar with y'all's particular version of 'the drill'. An

Re: yes/no questions regarding preloading Perl modules

2003-11-25 Thread Cees Hek
Quoting Bryn Dyment <[EMAIL PROTECTED]>: > I've been reading the mod_perl performance docs, and have a few yes/no-style > (I hope) questions. > > Questions (using DBI as an example*): > > 1. If my preloaded (via startup.pl) "my.pm" module uses DBI, should I > explicitly "use DBI ()" in startup.p

Re: Apache::DBI issue ...

2003-11-24 Thread Cees Hek
Quoting Greg McClure <[EMAIL PROTECTED]>: > However, when I try to run this code: > > * <%init> > * use DBI; > * my $dbh = DBI->connect("DBI:mysql:remembering", "root", ""); > * my $sth = $dbh->prepare("insert into users > * (username, password, fir

Re: MP2 -> newbie question, virtual hosts

2003-11-11 Thread Cees Hek
Quoting Graeme Fowler <[EMAIL PROTECTED]>: > I've searched, and searched, for a recipe and/or method for this; I can't > find > one that works :( > > Am using a home-rolled Apache 2.0.48 and mod_perl 1.99_10 setup. I could very well be wrong, but I have a feeling that the support in mod_perl2 i

RE: please remove me from mailing list

2003-11-06 Thread Cees Hek
little overzealous... Also, how much time did you give the list maintainer? I'm, sure he is quite busy and perhaps hasn't got around to your email yet! It is difficult for anyone to help you if you don't provide any info... Cees > -Original Message- > From: Cees He

Re: please remove me from mailing list

2003-11-06 Thread Cees Hek
Quoting Lanny Derby <[EMAIL PROTECTED]>: > > I have asked to be removed from this mailing list twice now without success. > I will continue to send this email dailing until I am removed. It might help to do a little research first instead of resorting to threats. Firstly, when you signed up f

Re: [mp2] segfault using Time::Piece and mod_perl2 on Debian

2003-10-31 Thread Cees Hek
Quoting Stas Bekman <[EMAIL PROTECTED]>: > Cees Hek wrote: > Are you sure that both libtime-piece-perl and modperl were compiled with that > > same perl. is it possible that libtime-piece-perl was compiled against 5.8.0? Since it was a debian package, I am not sure which pe

[mp2] segfault using Time::Piece and mod_perl2 on Debian

2003-10-30 Thread Cees Hek
I was getting segfaults with mod_perl2 (1.99_10 on 2.0.48) on my development box today. After a lot of searching, it turns out it was because of a problem with Time::Piece. I could recreate it by placing 'use Time::Piece::MySQL' in the startup.pl file. This would cause the server to segfault on