Re: path recognition question

2022-05-05 Thread Michael A. Capone
e.com/app/user/12345, then the program is /app/user, and $ENV{'PATH_INFO'} would contain /12345.  Chop off the leading forward slash and you've got your ID. Note that you'd have to have PerlSetupEnv on (the default, although I think many may turn it off). Or am I completely

Re: how to run regex calculation

2020-01-09 Thread MIchael Capone
uot;true" if $str=~/(\d+)\s(\d+)\s(\1*\2)/' ...does indeed print "true" It would probably make the most sense to not try to do this as a one-liner (why do we perl programmers love to be cute like that?), and simply break it up into two steps: $str =~ s/(\d+)\s(\d+)\s(\d+

Re: [ANNOUNCE] mod_perl-2.0.11

2019-10-18 Thread Michael Schout
ming up. If someone wants to scrape those docs and include them in the mod_perl dist, you have my full blessing to do so. My time is somewhat limited due to family life and job at present, and I'm honestly not sure who to contact to get this done. Regards, Michael Schout (AuthCookie maintainer)

Re: Apache 2.4 Authentication/Authorization

2019-05-16 Thread Michael Schout
to modern alternatives like Plack/PSGI, this all feels very cumbersome and antiquated IMO. Regards, Michael Schout

Re: Compile mod_perl 1.0 on ubuntu 12.04 or later

2019-02-24 Thread Michael Schout
d /path/to/apache-src $ make install $ cd /path/to/modperl-src $ make install I have a Makefile that does all of this. I suppose I could publish it on github or something, but given the age of apache 1.3, it seems irresponsible to publish it at this point :). Regards, Michael Schout diff --git a/

Re: [a bit OT] AuthCookieDBI and Apache 2.4

2019-02-21 Thread Michael Schout
m the provider (See the README.apache-2.4 in AuthCookie which discusses this). > 5) there seems to be no real mod_perl-level (or even Apache-httpd-level) > documentation available, which explains the above in a general context, > rather than for any specific perl module. > A goo

Re: AuthCookieDBI and Apache 2.4

2019-02-20 Thread Michael Schout
On 2/12/19 1:25 PM, Edward J. Sabol wrote: > I know AuthCookie has been updated by the magnificient Michael Schout to Thanks for the kind compliments Ed :). As for AuthCookieDBI, you may not even need to change it to use Apache2_4::AuthCookie base, as eventually I managed to get all of

Re: HTTP and MPM support

2019-01-25 Thread Michael A. Capone
On 1/25/19 10:54 AM, Randolf Richardson wrote: On 25.01.2019 18:35, John Dunlap wrote: I'm in the process of optimizing our web application for performance and one thing that I was really excited to try was mod_http2 because it allows the browser to send multiple requests through the same T

Re: Upgrading a mod_perl application from Apache 2.2 to Apache 2.4

2019-01-15 Thread Michael Schout
uot;Require valid-user", or "Require user foo" for example, Apache provides an authz provider that already handles that (see mod_authz_user.c). So you only need to do this if you are writing custom authz requirements. 1: https://metacpan.org/pod/release/MSCHOUT/Apache-AuthCookie-3.27/README.apache-2.4.pod Regards, Michael Schout

Re: Future MPM Support?

2018-08-04 Thread Michael A. Capone
Yes, http/2 is our primary concern right now.  At the moment, we've made the business decision to stay on mod_perl rather than migrate to another platform and gain http/2 benefits, but for how long can we maintain that decision?  I'm honestly not sure. Now, we significantly under-utilize mod_p

Re: Upgrade to Debian stretch (stable) breaks my unique token

2018-03-01 Thread Michael A. Capone
On 03/01/2018 02:30 PM, Vincent Veyron wrote: Now, if you happen to know why this _had_ to surface during a demo [:-( The University of Nottingham, School of Mathematical Sciences, published a highly technical paper explaining this phenomenon. Hope this helps: :-) https://www.maths.nottin

Re: CGI module deprecation

2017-11-29 Thread Michael A. Capone
"and uses the CGI module only for parsing the incoming request." I was going to follow up on this thread and ask for suggestions on what I could/should use for incoming request parsing. I have never gone further in mod_perl beyond Apache::Registry and just running traditional CGI programs, an

[Slightly OT] Apache::AuthCookie and mod_perl version 1.x

2017-07-31 Thread Michael Schout
ly do need AuthCookie and getting it from backpan is a problem for you, please let me know. Thanks! Regards, Michael Schout

Re: Where is the mod_perl development repo?

2017-03-09 Thread Michael Schout
hen just write it in plain Plack/PSGI. Regards, Michael Schout

Re: [RELEASE CANDIDATE] mod_perl-2.0.10 RC1

2016-09-30 Thread Michael Schout
On 9/30/16 8:53 AM, Michael Schout wrote: > On 9/30/16 8:13 AM, Steve Hay wrote: >> Please download, test, and report back on this mod_perl 2.0.10 release >> candidate. > > There is some kind of linker failure happening on OSX/Darwin. I'm on El > Capitan (10.11) usin

Re: [RELEASE CANDIDATE] mod_perl-2.0.10 RC1

2016-09-30 Thread Michael Schout
mod_perl.lo modperl_tipool.lo duplicate symbol _MP_vtbl_env in: mod_perl.lo modperl_config.lo duplicate symbol _MP_vtbl_envelem in: mod_perl.lo modperl_config.lo Regards, Michael Schout

Re: Alternatives to CGI perl module

2016-09-11 Thread Michael Bochkaryov
I > developed 12 years ago, should not be hard to translate as I parse all > formulas deeply. > > > On Sun, Sep 11, 2016 at 9:06 PM, Michael Bochkaryov > wrote: > >> >> On Sun, Sep 11, 2016 at 4:51 PM, Ruben Safir wrote: >> >>> > GD::Graph is someth

Re: Alternatives to CGI perl module

2016-09-11 Thread Michael Bochkaryov
o make sense to try something like this: https://www.mathjax.org/ Seems modern browsers may allow to move rendering to client side that also may decrease load on backend. Regards, Michael Bochkaryov

Re: Alternatives to CGI perl module

2016-09-10 Thread Michael Bochkaryov
On Sat, Sep 10, 2016 at 6:18 AM, Igor Chudov wrote: > I can, and will of course, install CGI myself as all my sites use it and I > have 84,000 lines written using it. > My concern is that it will break at some point going forward if it is not > maintained. > Out of curiosity, why do you think th

Re: Looking for solution to Apache2::AuthCookieDBI authentication on Apache > 2.4

2016-08-30 Thread Michael Schout
exes were broken under Apache 2.4), but that doesn't sound like what you have been seeing. -- Regards, Michael Schout

Re: question on Apache2_4::AuthCookie

2016-04-07 Thread Michael Schout
her option. The AUTHZ_GRANTED (and friends) constants simply do not exist in previous versions of apache. Regards, Michael Schout

Re: $r->requires and register_auth_provider

2016-01-15 Thread Michael Schout
the AuthCookie dist, as well as in the Apache2_4::AuthCookie POD documentation. The AuthCookie documentation probably could be better, and I think by the next release I'll absorb/copy most of what is in the README.apache-2.4 document into the module POD itself. Regards, Michael Schout

Re: "SetEnv/SetEnvIf" and mod_perl

2015-10-02 Thread Michael A. Capone
In my code, I do: SetEnvIf Request_URI \.gif$ gif-image SetHandler modperl PerlResponseHandler MyNiftyModule PerlOptions +SetupEnv And then, yes, I have access to $ENV{'gif-image'}, with a value of "1". Alternatively, i can SetEnvIf Request_URI \.gif$ gif-image=YES ... and

Re: panic: attempt to copy freed scalar caused by calling cgi->param with TryCatch since perl 5.19.7

2015-09-17 Thread Michael Schout
971eb30 at /home/vagrant/modperl-trycatch-bug/blib/lib/Apache/TryCatch.pm line 20.\n Regards, Michael Schout

Re: panic: attempt to copy freed scalar caused by calling cgi->param with TryCatch since perl 5.19.7

2015-09-17 Thread Michael Schout
in your perl library path, will you code still run if you remove Devel/Declare.pm? If so then that either means the problem is probably in modperl itself, or, you are seeing something completely different. Regards, Michael Schout

Re: panic: attempt to copy freed scalar caused by calling cgi->param with TryCatch since perl 5.19.7

2015-09-16 Thread Michael Schout
#16: 0x00010002a87b httpd`child_main + 827 > frame #17: 0x000100029ea2 httpd`make_child + 114 > frame #18: 0x000100029489 httpd`ap_mpm_run + 1129 > frame #19: 0x0001771e httpd`main + 2142 > frame #20: 0x7fff95acc5c9 libdyld.dylib`start + 1 > frame #21: 0x7fff95acc5c9 libdyld.dylib`start + 1 Regards, Michael Schout

Re: panic: attempt to copy freed scalar caused by calling cgi->param with TryCatch since perl 5.19.7

2015-09-16 Thread Michael Schout
On 9/16/15 12:06 PM, Steve Hay wrote: > Thanks for the detective work, Michael. I've logged this on > rt.perl.org since it isn't yet clear whether the optimization has a > problem, or whether mod_perl (or maybe TryCatch / Devel::Declare) is > doing anything naughty: T

Re: panic: attempt to copy freed scalar caused by calling cgi->param with TryCatch since perl 5.19.7

2015-09-16 Thread Michael Schout
oduced it. If you do want to reproduce it, use the same apache2.conf additions from my last email. Regards, Michael Schout

Re: panic: attempt to copy freed scalar caused by calling cgi->param with TryCatch since perl 5.19.7

2015-09-16 Thread Michael Schout
to 7f2bcf672200 at /home/lib/Apache/TryCatch.pm line 20.\n Not sure what you have done differently, but the bug is definitely there on debian 8. Regards, Michael Schout

Re: panic: attempt to copy freed scalar caused by calling cgi->param with TryCatch since perl 5.19.7

2015-09-16 Thread Michael Schout
On 9/16/15 9:22 AM, Vincent Veyron wrote: > apt-get install apache2-mpm-prefork libapache2-request-perl > libapache2-mod-perl2 libapache2-mod-apreq2 How did you install TryCatch (the only dependency my module uses)? Regards, Michael Schout

Re: panic: attempt to copy freed scalar caused by calling cgi->param with TryCatch since perl 5.19.7

2015-09-16 Thread Michael Schout
4129] AH00169: caught SIGTERM, shutting down But you are likely not seeing it because one of: - vendor patches applied by debian packaging team - you are using Apache 2.4. I tested with Apache 2.2. Regards, Michael Schout

Re: panic: attempt to copy freed scalar caused by calling cgi->param with TryCatch since perl 5.19.7

2015-09-15 Thread Michael Schout
On 9/15/15 5:15 PM, Michael Schout wrote: > Reverting the change to op.c completely fixes the problem. I cannot > reproduce the panic after this change, and I do not get any segmentation > faults either in a large codebase that I am also testing against. I should have mentioned I rev

panic: attempt to copy freed scalar caused by calling cgi->param with TryCatch since perl 5.19.7

2015-09-15 Thread Michael Schout
with the optree in mod_perl that TryCatch along with perl's optimization that removes the "return" ops that is causing this. I have put the test case as a module up on github so that anyone can clone it to reproduce the bug. The repository is here: https://github.com/mschout/modperl-trycatch-bug.git The readme explains how to run it, but essentially its install a perl >= 5.19.7, install mod_perl, install TryCatch, and then the usual "perl Makefile.PL && make test" Regards, Michael Schout

Re: Random segmentation fault

2015-09-15 Thread Michael Schout
cific. I have a very straightforward/minimal test case that causes the "panic" error under mod_perl, but the same code runs fine under the command line outside of mod_perl. Regards, Michael Schout diff --git a/op.c b/op.c index 7038526..dc42b56 100644 --- a/op.c +++ b/op.c @@ -

Re: Random segmentation fault

2015-09-14 Thread Michael Schout
} } The fun part of this one is that if I remove the "return" keyword, the segfault goes away. Regards, Michael Schout

Re: Random segmentation fault

2015-09-14 Thread Michael Schout
I just haven't had time yet. Regards, Michael Schout

[ANNOUNCE] Apache AuthCookie 3.23 (with support for Apache 2.4) released.

2015-09-10 Thread Michael Schout
and/or configuration over to Apache 2.4. Please be sure to read the included README.apache-2.4.pod for instructions. Regards, Michael Schout

Re: Enquiry about mod_perl project state

2015-09-04 Thread Michael Schout
ken a while, but that is understandable given the massive changes to the internal apache API. Simply upgrading your legacy apps to Apache 2.4+mod_perl alone is going to require some work because the API has changed. Cheers! Michael Schout

Re: mod_perl and apache 2.4

2015-08-11 Thread Michael Schout
LINE) I realize this may be too late to help you, but hopefully this will help someone else down the line. See: http://clang.llvm.org/compatibility.html#inline Regards, Michael Schout

Re: Apache2::AuthCookie - semantics of WhatEverPath parameter?

2015-08-11 Thread Michael Schout
secure Regards, Michael Schout

Re: Apache / mod_perl / Perl under Windows

2015-07-03 Thread Michael Lackhoff
ttp://strawberryperl.com/download/5.20.2.1/strawberry-perl-no64-5.20.2.1-32bit-portable.zip Important: use the "no USE_64_BIT_INT" version - http://people.apache.org/~stevehay/mod_perl-2.0.8-strawberryperl-5.20.1.1-32bit-no64.zip This setup works quite well for me. -Michael

Re: Are there windows binaries for 5.20?

2015-02-17 Thread Michael Lackhoff
berry that would be fine with me. I think I even still have VC6 around somewhere... Or else -- given the uncertainty of predictions -- do you have an estimation when you get into the gcc/dmake thing? -Michael

Re: Are there windows binaries for 5.20?

2015-02-17 Thread Michael Lackhoff
Please, can you give a detailed recipe, especially with the steps necessary to transfer the compiled mod_perl stuff to Strawberry? Of course, I will make the result available, once it is working and I can do the same for 5.18 as requested by André. -Michael

Re: Are there windows binaries for 5.20?

2015-02-15 Thread Michael Lackhoff
just put the src under c:\apache? -Michael

Are there windows binaries for 5.20?

2015-02-15 Thread Michael Lackhoff
5.20 (preferably 32bit)? Or is there a guide somewhere how to build it myself (needed tool chain and commands)? Would really help me! -Michael

Re: Odd behavior with IO::Socket::SSL and mod_perl 2.0.8

2014-11-24 Thread Michael A. Capone
rsion works well. Thanks for listening! Michael Michael A. Capone wrote: Hello, I'll try not to make this too convoluted... :) The latest version of IO::Socket::SSL on CPAN is v2.005 and includes a module IO::Socket::SSL::PublicSuffix. When attempting to use this version of IO::Sock

Odd behavior with IO::Socket::SSL and mod_perl 2.0.8

2014-11-21 Thread Michael A. Capone
cal $/; }; ... yields an empty $data in mod_perl. The problem is, IO::Socket::SSL is used by LWP::UserAgent, which is probably used by a ton of mod-perl scripts out there. My questions, then, are: 1) can you fine folk reproduce this? 2) what would be the best way to address it? Thanks! Michael

$r->user and UTF8 flag

2014-11-11 Thread Michael Schout
ecode('UTF-8', $r->user) But I really would have expected $r->user to return a value with the UTF8 flag already on since the value that I used to set it did in fact have the flag turned on. FWIW, this is mod_perl 2.0.8, Apache 2.2.29 Regards, Michael Schout

Re: Undefined symbol "modperl_io_perlio_restore_stdout"

2014-11-06 Thread Michael Schout
. Hope it helps. Its not really mod_perl specific. Many packages have this problem due to shipping with libtool that mis-identifies FreeBSD 10. Regards, Michael Schout

Re: Information on using Apache2::AuthCookie with httpd 2.4

2014-11-04 Thread Michael Schout
your authcookie subclasses will need to be updated as well. As Lathan has already mentioned, there is alpha support for this available in the git tree if you really want to try, but if I were you, I'd still with apache 2.2 at least until there is a stable mod_perl available for apache 2.4. Regard

Re: FreeBSD 10, Apache2.2, mod_perl, perl

2014-11-04 Thread Michael Schout
find $(CURDIR) -type f -name ltmain.sh |\ > xargs sed -i.bak \ > -e '/if.*linkmode.*prog.*mode.*!= relink/s/if.*;/if :;/'\ > -e '/if.*linkmode.*prog.*mode.* = relink/s/||.*;/;/'\ > -e 's/|-p|-pg|/|-B*|-p|-pg|/' Regards, Michael Schout

Re: mod_perl and utf8 and CGI->param

2014-09-08 Thread Michael Schout
d_perl. This caused major headaches for me at one time until I figured this out. You have to make sure to set $CGI::PARAM_UTF8 early, and FOR EVERY REQUEST, because if you just set it globally (e.g.: in a startup perl script), then it only works for the first request. Regards, Michael Schout

Re: PATCH: add -DAPACHE24 support to Apache::Test - necessary for Auth with Apache 2.4

2014-03-17 Thread Michael Schout
p that in now. Feel free to look at the httpd24 branch of AuthCookie on github to see how I implemented it. Regards, Michael Schout

PATCH: add -DAPACHE24 support to Apache::Test - necessary for Auth with Apache 2.4

2014-03-17 Thread Michael Schout
od_perl for apache 2.4 is finalized. Regards, Michael Schout diff --git a/Apache-Test/lib/Apache/TestServer.pm b/Apache-Test/lib/Apache/TestServer.pm index 254aec6..a3bc3ab 100644 --- a/Apache-Test/lib/Apache/TestServer.pm +++ b/Apache-Test/lib/Apache/TestServer.pm @@ -85,6 +85,15 @@ sub

Re: Problem with mod_perl and DBI/DBD::Oracle LD_LIBRARY_PATH is not being recognized?

2013-10-21 Thread Michael Lackhoff
a bell. I remember having problems when I 'use'ed DBD::Oracle in startup.pl but it worked fine as soon as I didn't try to preload it. At least worth a try... -Michael

Re: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-03-03 Thread Michael A. Capone
Torsten Förtsch wrote: On 02/28/2013 11:59 AM, Torsten Förtsch wrote: I agree with you that the behavior is unexpected. Also, the XXX comment in line 783 points out that my_finfo() is a temporary solution. So, perhaps it would be best to use APR::Finfo here. If family allows it I'll fix it o

Re: Re: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-27 Thread Michael A. Capone
don't want to 784: # depend on compat.pm) 785: sub Apache2::RequestRec::my_finfo { 786: my $r = shift; 787: stat $r->filename; 788: \*_; 789: } Thoughts? Thanks! Michael

Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-13 Thread Michael A. Capone
is ported to 2.0 (don't want to 784: # depend on compat.pm) 785: sub Apache2::RequestRec::my_finfo { 786: my $r = shift; 787: stat $r->filename; 788: \*_; 789: } Thoughts? Thanks! Michael

Re: Safe handling of an SQL query

2012-04-20 Thread Michael Ludwig
do with that data based on, say, the document element. So each type of document would have an associated server-side handler that knows how to deal with it and what data to send back. Pretty general, but that's how I'd tackle it. Hope this helps. Best, Michael

Re: Safe handling of an SQL query

2012-04-19 Thread Michael Ludwig
Vincent Veyron schrieb am 19.04.2012 um 09:24 (+0200): > Le jeudi 19 avril 2012 à 00:39 +0200, Michael Ludwig a écrit : > > > Got lost here, but your description makes sense even without the > > real thing, so … > > > Not sure how you got lost, did you not find the s

Re: Safe handling of an SQL query

2012-04-18 Thread Michael Ludwig
Vincent Veyron schrieb am 18.04.2012 um 02:11 (+0200): > Le mercredi 18 avril 2012 à 00:30 +0200, Michael Ludwig a écrit : > > > Maybe people can come up with more helpful > > suggestions if you post a concrete example of what is cumbersome. > > > > Sure, the app

Re: Safe handling of an SQL query

2012-04-17 Thread Michael Ludwig
Vincent Veyron schrieb am 18.04.2012 um 00:09 (+0200): > Le mardi 17 avril 2012 à 20:10 +0200, Michael Ludwig a écrit : > > Vincent Veyron schrieb am 16.04.2012 um 22:21 (+0200): > > > > > > I am doing this now, but passing parameters to the query becomes > >

Re: Safe handling of an SQL query

2012-04-17 Thread Michael Ludwig
.org/module/SQL::Abstract https://metacpan.org/module/DBIx::Simple Best, Michael

Re: highscalability.com report

2012-04-12 Thread Michael Peters
It's kind of similar to a lot of other really big systems (like facebook). Authoritative data in an SQL database and then their read data in denormalized structures in a NoSQL database. -- Michael Peters Plus Three, LP

Re: highscalability.com report

2012-04-04 Thread Michael Ludwig
g or not using them? http://stackoverflow.com/q/9973860/269126 Maybe you'd like to add some of your knowledge over there. Thanks. Michael

Re: Question about caching

2012-03-13 Thread Michael Peters
emory), shared_cache (shared memory), double_cache (mix of normal cache and shared_cache) or file_cache (no extra memory uses the filesystem so slower). In fact, if you using normal CGI you can only use shared_cache or file_cache. -- Michael Peters Plus Three, LP

Re: Tool to create multiple requests

2012-03-02 Thread Michael Ludwig
his will bring up a couple comparisons that'll help you decide. Michael

Re: Using Apache v1

2012-03-01 Thread Michael Peters
hat will never receive any further security fixes. -- Michael Peters Plus Three, LP

Re: PHP Question

2012-02-29 Thread Michael Ludwig
mplate language. So luring many people in. Wouldn't count that among the virtues of PHP, but certainly among its advantages in the webdev marketplace. -- Michael Ludwig

Re: compiling mod_perl 1x + Apache 1 on Debian

2012-02-29 Thread Michael Ludwig
; + tried 'echo -E' but had no real success. If errors occur > + please set the SEO variable in 'configure' manually to > + the required 'echo' options, i.e. those which force your > + 'echo' to not interpret escape sequences per default. Did yo

Re: preloading modules and apache::dbi

2012-01-19 Thread Michael Peters
can do that too. When you use Apache::DBI and then call DBI->connect or DBI->connect_cached you'll get the same database connection every time (per process of course). -- Michael Peters Plus Three, LP

Re: Running multiple copies of same site in ModPerl

2011-11-30 Thread Michael Peters
s using a different Apache MPM. I haven't seen anyone give a definitive guide to how to do this (although I could have missed something) and results seem to be mixed. I prefer #2 and use it constantly. It also makes it really easy to have separate dev environments each using their own code. -- Michael Peters Plus Three, LP

Re: Authentication logic [was: Changing browser URL based on condition]

2011-07-14 Thread Michael Peters
to do it? The same way you're doing it now with Storable and a file. But instead of reading a file you read a database field. -- Michael Peters Plus Three, LP

Re: Best approach to store Application Configuration

2011-07-11 Thread Michael Peters
o have some non-mod_perl processes involved somewhere. I prefer to use environment variables if you need to specify the location of a config file. These are available no matter where you're running (in mod_perl you'll want to use a PerlPassEnv directive so the mod_perl side sees it)

Re: Best approach to store Application Configuration

2011-07-11 Thread Michael Peters
pick a backend format. But in practice it probably doesn't matter a whole lot which config module you use as long as it's not tied to Apache. But if you like the apache-style format you can use Config::ApacheFormat which works well. -- Michael Peters Plus Three, LP

Re: Changing browser URL based on condition

2011-07-11 Thread Michael Peters
t's a good idea to do a redirect after a POST anyway since it prevents other problems. -- Michael Peters Plus Three, LP

Re: mod_perl EC2 AMI's or other platform providers?

2011-07-11 Thread Michael Peters
e the future of such work and will thus get new features and be better maintained than lots of other alternatives. -- Michael Peters Plus Three, LP

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

2011-06-16 Thread Michael Peters
's anywhere close to mod_perl than I suspect lots of people would use it instead since it's much easier to setup and also much easier to package with your app since it's just a CPAN module. Would be nice to through FastCGI into that benchmark too. -- Michael Peters Plus Three, LP

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

2011-06-16 Thread Michael Peters
ok at doing proxy + pound) -- Michael Peters Plus Three, LP

Re: CGI and character encoding

2011-02-24 Thread Michael Schout
ce the clenaup handler gets called, UTF-8 decoding gets turned off. You have to work around this by manually making sure $CGI::PARAM_UTF8 = 1 before calling CGI->new. Regards, Michael Schout

Re: CGI and character encoding

2011-02-24 Thread Michael Peters
loads. -- Michael Peters Plus Three, LP

Re: [ANNOUNCE] mod_perl 2.0.5

2011-02-11 Thread Michael Peters
r to completely force a reload. Apache::Reload tries it's best but there are lots of modules it can't handle. It's not it's fault really, it's a feature that's missing in Perl. These days, I never use Apache::Reload. I just restart my dev server ( yes, I believe each dev should have their own dev Apache server). -- Michael Peters Plus Three, LP

Re: On memory consumption - request for comments

2011-02-11 Thread Michael Peters
hings were running doesn't apply then, right? This memory isn't in swap, it's just not in RAM. So turning off swap won't cause the shared/unshared sizes to blow up, right? -- Michael Peters Plus Three, LP

Re: On memory consumption - request for comments

2011-02-11 Thread Michael Peters
fit into memory. Or am I missing something? -- Michael Peters Plus Three, LP

Re: DBI 1.61{1,6} + DBD::mysql 4.01{6,8} = segfault on Ubuntu 10.10 amd64? (reprise)

2011-02-07 Thread Michael Lackhoff
t. Sorry if this is not much help -Michael

Re: experiencing Out of memory errors

2011-01-27 Thread Michael Peters
On 01/27/2011 07:41 PM, Michael Ludwig wrote: Michael Peters schrieb am 27.01.2011 um 19:14 (-0500): But, even after all that I have applications where we consistently run 3-4G just for mod_perl/Apache. But surely not in one process as the OP said he'd like to do? No you're righ

Re: experiencing Out of memory errors

2011-01-27 Thread Michael Ludwig
Michael Peters schrieb am 27.01.2011 um 19:14 (-0500): > But, even after all that I have applications where we consistently > run 3-4G just for mod_perl/Apache. But surely not in one process as the OP said he'd like to do? -- Michael Ludwig

Re: experiencing Out of memory errors

2011-01-27 Thread Michael Peters
e number of memory-heavy mod_perl processes/threads and handle the same number of connections. But, even after all that I have applications where we consistently run 3-4G just for mod_perl/Apache. -- Michael Peters Plus Three, LP

Apache::AuthDBI - 63691 - Auth_DBI_pwdcasesensitive=off does not work while Auth_DBI_encrypted=off

2010-12-07 Thread Michael R. Davis
Mod Perl Folks, I logged two bugs on https://rt.cpan.org/ for Apache::AuthDBI. 63711 - Apache::AuthDBI will not run without Apache::DBI https://rt.cpan.org/Ticket/Display.html?id=63711 63691 - Auth_DBI_pwdcasesensitive=off does not work while Auth_DBI_encrypted=off https://rt.cpan.org/Ticket/Disp

Re: Apache2::Request::param returns () despite parameters in URI, but only under Strawberry Perl

2010-11-11 Thread Michael Ludwig
mittent Apache > service crashes for us these past couple weeks, I think related to > DBD::Pg. Try reporting it on the ActivePerl mailing list. -- Michael Ludwig

Re: huge apache+mod_perl processes

2010-10-04 Thread Michael Ludwig
e able to determine the handler that gobbles up memory. I've also seen situations (with bad code) where memory consumption depended on the data available for a process to read. Hope this helps. -- Michael Ludwig

Re: Considering using Perl Sections

2010-10-01 Thread Michael Peters
e the final conf. Works quite well for us. -- Michael Peters Plus Three, LP

Re: Using a handler other than 'handler'

2010-09-27 Thread Michael Peters
ndler Authen->special Try that and see if it works -- Michael Peters Plus Three, LP

Re: [DBI] msvcrt.dll issues when running in an XP environment

2010-09-12 Thread Michael Ludwig
, IIS/ActivePerl/PerlEx would be a good solution. But there is little user feedback available on the net, which lends a somewhat, well, experimental or pioneering touch to the whole undertaking. Anyone around here ever tried that combo? Or has feedback on it? -- Michael Ludwig

Re: Strange behaviour with Pseudo-Proxy script

2010-09-09 Thread Michael Ludwig
g, hence the performance drop you mentioned in your original mail. Correct? -- Michael Ludwig

File transfer with Apache2::Upload and XMLHttpRequest

2010-07-28 Thread Michael Wichmann
(where 'file' is a HTML5 File-Object): var xhr = new XMLHttpRequest(); xhr.open("POST", url + "?filename=" + encodeURIComponent(file.name), true); xhr.setRequestHeader("Content-Type", "multipart/form-data"); xhr.send(file); Any idea how now the server side part has to look like now? Thanks, Michael

Re: Strawberry perl + mod_perl (call for testers)

2010-07-19 Thread Michael Ludwig
Michael Ludwig schrieb am 09.07.2010 um 22:16 (+0200): > Are there any people on this list using mod_perl 2.0 on Windows? > Do you have any positive or negative experiences to share? Folks, thanks for your input on using mod_perl on Windows. The bottom line to draw based on your feedback se

Re: Strawberry perl + mod_perl (call for testers)

2010-07-13 Thread Michael Lackhoff
On 09.07.2010 22:16 Michael Ludwig wrote: > Relevant or not, this story makes me ask the following questions: > Are there any people on this list using mod_perl 2.0 on Windows? > Do you have any positive or negative experiences to share? I use it for a web based application but have

Re: Strawberry perl + mod_perl (call for testers)

2010-07-09 Thread Michael Ludwig
Perrin Harkins schrieb am 09.07.2010 um 13:19 (-0400): > On Fri, Jul 9, 2010 at 12:12 PM, Michael Ludwig wrote: > > What's the status of using mod_perl on Windows? > > http://perl.apache.org/docs/2.0/os/win32/install.html Thanks. Doesn't sound too bad. So it's (

Re: Strawberry perl + mod_perl (call for testers)

2010-07-09 Thread Michael Ludwig
d that mod_perl on Windows be used only for testing purposes, not in production. Does that still hold true? With Apache 2 and all that progress? What's the status of using mod_perl on Windows? -- Michael Ludwig

  1   2   3   4   5   6   7   >