simple modperl 1.0 code example for a non programmer.

2009-09-27 Thread Matthew Young
Hello, Id like to say that Ive been browsing http://perl.apache.org/ and its snippets section for help however I quickly realised that many of the examples where written for modperl 2.0 which is why Id like to ask if anybody could help me with a simple code snippet .. iam sure for the gurus this w

Re: Ways to scale a mod_perl site

2009-09-18 Thread Matthew Paluch
-loaded in an intelligent manner without regards to load balancing? In short, the database's interaction with the main application is most commonly the issue, regardless of the underlying technologies. Start there, so says I. Matthew P gedanken -- Matthew Paluch 404.375.8898

Re: get backtrace emailed when code dies running under ModPerl::RegistryPrefork?

2009-03-02 Thread Matthew Lenz
On Mon, 2009-03-02 at 10:20 -0500, Perrin Harkins wrote: > On Mon, Mar 2, 2009 at 9:54 AM, Matthew Lenz wrote: > > According to the docs CGI::Carp doesn't function properly with > > fatalToBrowser under mod_perl 2. > > I'm not sure if that's accurate or not, b

get backtrace emailed when code dies running under ModPerl::RegistryPrefork?

2009-03-02 Thread Matthew Lenz
As I've mentioned in previous posts, I'm migrating from an older environment to a new environment with mod_perl 2. With mod_perl 1.x we had VERY OLD customised version of CGI::Carp (with fatalsToBrowser) printing an error to the browser AND sending an email with backtrace and environment informati

Re: migrating to 2.0 and getting tons of warnings

2009-02-27 Thread Matthew Lenz
On Fri, 2009-02-27 at 11:29 -0500, Perrin Harkins wrote: > On Fri, Feb 27, 2009 at 7:58 AM, Matthew Lenz wrote: > > I looked through the packge diff: > > > > http://ftp.de.debian.org/debian/pool/main/liba/libapache2-mod-perl2/libapache2-mod-perl2_2.0.4-5.diff.gz > &

Re: migrating to 2.0 and getting tons of warnings

2009-02-27 Thread Matthew Lenz
On Thu, 2009-02-26 at 17:17 -0500, Perrin Harkins wrote: > On Thu, Feb 26, 2009 at 4:01 PM, Matthew Lenz wrote: > > Maybe the debian guys did something goofy with the modules. It wouldn't > > be the first time. That or maybe its just a bug in ModPerl. Even if > > some

Re: migrating to 2.0 and getting tons of warnings

2009-02-26 Thread Matthew Lenz
On Thu, 2009-02-26 at 15:49 -0500, Adam Prime wrote: > André Warnier wrote: > > Matthew Lenz wrote: > >> I can't seem to disable warnings on our production environment. 'use > >> warnings' is not included in any of the config/startup/scripts or custom &g

migrating to 2.0 and getting tons of warnings

2009-02-26 Thread Matthew Lenz
I can't seem to disable warnings on our production environment. 'use warnings' is not included in any of the config/startup/scripts or custom modules. Its possible I guess that its being used by a CPAN module. We had a system on Debian 3.1 (apache/mod_perl 1.x)and I have been doing work to migra

Re: Running a mod_perl script at the domain root

2008-02-11 Thread Matthew Tylee Atkinson
ed to > those tasks, then you can add locations blocks that SetHandler > default-handler. ie: . . . Thanks very much for this! I went for the etc. approach in the end as it seemed more suitable for my situation. My site now seems a lot more alive :-). best regards, -- Matthew Tylee Atkinson <[EMAIL PROTECTED]>

Running a mod_perl script at the domain root

2008-02-10 Thread Matthew Tylee Atkinson
x27;m looking forward to getting it all working smoothly. -- Matthew Tylee Atkinson <[EMAIL PROTECTED]>

Re: dhandler not performing as expected

2006-12-07 Thread Matthew Lineen
My apologies, wrong list... Matthew Lineen wrote: Mason Gurus: I have the following dhandler issue with mason/mod_perl/apache v1.3:

dhandler not performing as expected

2006-12-07 Thread Matthew Lineen
should be 'override/foo'! Thanks in advance, Matthew - httpd.conf... Alias /me/inherit /home/me/inherit/one DirectoryIndex index.html SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler PerlAddVar MasonCompRoot "one => /home/me/inherit/one" PerlSetVar MasonDataDir /home/me/inherit/masondata Allow from all

Re: acceptable memory leaks?

2006-08-16 Thread Matthew
> Memory is cheap / CPU is cheap My boss makes this same argument and I hate it. Wasting is still wasting. -Matthew

Re: libapreq test issues

2006-08-04 Thread Matthew
I just tried using CPAN to install libapreq2.07 and I got this: cpan> install J/JO/JOESUF/libapreq2-2.07.tar.gz Running make for J/JO/JOESUF/libapreq2-2.07.tar.gz Fetching with LWP: CPAN.pm: Going to build J/JO/JOESUF/libapreq2-2.07.tar.gz perl: 5.8.0 ok mod_perl: 2.02 ok Apache::Test:

duplicate trees, different handlers

2006-07-28 Thread Matthew
o facilitate easy migration. Is my theory correct? If not, have others been in a situation like this? Any/all assistance is greatly appreciated. Thanks, Matthew

[offtopic] perl newbie frustrated

2006-07-13 Thread Matthew
he differences between ( ) array's and [ ] array's, I'd appreciate it. And for cookie points, if anyone knows how to do a real struct in XMLRPC, that would be awesome. Cheers, Matthew

use of STDERR in forked children

2006-06-28 Thread Matthew Smith
Hi, I originally posted this to the embperl listserv, but I haven't gotten any responses. So maybe somebody here can help me. I hope! I'm working on a mechanism to fork a a long running child process. I've followed the standard mod_perl forking wisdom in http://modperlbook.org/html/ch10_02.htm

Re: something is wrong. no differences with MP2

2006-06-22 Thread Matthew
Both are reporting: Will look into Apache::DProf -Matthew Perrin Harkins wrote: On Mon, 2006-06-19 at 22:48 -0500, Matthew wrote: We are finally ready to move to our mod_perl2 handler. I just finished running some tests against our old CGI (no PerlRun, no Registry, just plain jane CGI

CGI better than MP?

2006-06-22 Thread Matthew
nce on each and CGI still beat MOD by 0.6 seconds. Frustrated... -Matthew

something is wrong. no differences with MP2

2006-06-19 Thread Matthew
what to look for first? Thanks, Matthew

nothing vs Registry vs module

2006-06-15 Thread Matthew
doing as a module? Thanks, Matthew

Re: Apache2::reload?

2006-06-07 Thread Matthew
a lot of people (ok, me) prefer to call every script in a startup.pl so it gets precached into the parent's shared memory i do it mainly with mp handler routines, but have done it with a few registry scripts How exactly to you do that? -Matthew

Re: Apache2::reload?

2006-06-07 Thread Matthew
has never loaded that script before, process #2 will compile the changed version and display that. You make another change and this time #1 handles it, but instead of seeing result Z, you see result X. -Matthew Dani Pardo wrote: Hi, I'm a little newbie, so please forgive me if the questi

Sessions with mod_perl2

2006-06-06 Thread Matthew
se I should be using for sessions that is 'better' with MP2? Thanks, Matthew

Re: the dreaded 'subroutine redefined'

2006-05-03 Thread Matthew
I had a feeling it was Apache::Reload. In the future, we shouldn't need this module as we won't be making daily changes to the code. Thanks a million. -Matthew Perrin Harkins wrote: On Wed, 2006-05-03 at 16:48 -0400, Perrin Harkins wrote: On Tue, 2006-05-02 at 17:43 -0500, Mat

Re: the dreaded 'subroutine redefined'

2006-05-03 Thread Matthew
; if($username eq "you" && $password eq "me") { print "Success"; } else { print "Denied"; } } -Matthew Randal L. Schwartz wrote: "Matthew" == Matthew <[EMAIL PROTECTED]> writes: Matthew> None of my subroutines are pr

Re: the dreaded 'subroutine redefined'

2006-05-03 Thread Matthew
"logintype"); if($cmd eq "logintype") { &printLogin(); elsif($cmd eq "stats") { &printStats(); } else { &messageDie("How the frack did you get here?"); }

the dreaded 'subroutine redefined'

2006-05-02 Thread Matthew
ackage::tester Should I be doing "PerlModule mypackage::tester" above the section? Or doing "use mypackage::tester" inside startup.pl? I read something on google that says I should be using Apache::Symbol but I didn't see a mod_perl2 version of that. Thanks in advance, Matthew

Re: what is correct way to use mod_perl2, Apache2, and DBI?

2006-05-02 Thread Matthew
}; ...code.. } I just ran a quick test using "ab" on another machine. I did 1000 requests and mysql constantly showed those same 10 connections. So I guess its working now. I've got 1 final problem with mod_perl2 but I'll use a different subject line so to start a new thread.

what is correct way to use mod_perl2, Apache2, and DBI?

2006-05-01 Thread Matthew
rrectly use Apache::DBI with mod_perl2 and apache2, that would be great cause even though I'm "use Apache::DBI", my connections aren't being cached. Technically, everything works fine: no perl warnings, pages load blazingly fast..except the DBI caching. Thanks alot. -M

mp1, mason, apache::dbi multiple database issue

2005-11-08 Thread Matthew Lineen
ion would cause this. Thanks in advance, Matthew httpd.conf -- PerlAddVar MasonAllowGlobals $dbh PerlAddVar MasonAllowGlobals $dbhEmail startup.pl -- use Apache::DBI(); use DBI(); use DBD::mysql (); autohandler --- <%once> use Apache::Cookie qw

RE: index.pl not default, even when specified

2005-09-27 Thread Matthew Ryan
gt; ':common'; sub handler { my $r = shift; my $time = scalar localtime(); my $package = __PACKAGE__; $r->content_type('text/html'); $r->puts(<<"END"); Hello World. END return Apache2::Const::OK; } 1; ### HTH ,Matthew

Re: apache crash with MP2 Win32 HTTPS

2005-09-25 Thread Matthew Darwin
l and return errors under abnormal circumstances such as aborted connections. >>> Matthew Darwin wrote: Not sure if this helps. It looks like maybe an SSL problem, not related to mod_perl? [Wed Sep 21 12:10:20 2005] [info] Initial (No.1) HTTPS request received for child 246 (ser

Re: apache crash with MP2 Win32 HTTPS

2005-09-21 Thread Matthew Darwin
-- Restarting. Matthew Darwin wrote: Hi all, Would anyone know where to start looking about how to track down the source of this following line in error.log: Apache2::Filter: (620018) APR does not understand this error code at -e line 0 When this is printed, Apache stops handling requests and

apache crash with MP2 Win32

2005-09-20 Thread Matthew Darwin
Hi all, Would anyone know where to start looking about how to track down the source of this following line in error.log: Apache2::Filter: (620018) APR does not understand this error code at -e line 0 When this is printed, Apache stops handling requests and restarts. We can reproduce this

[JOB] Senior Perl Engineer, MP focus

2005-07-01 Thread Matthew Berk
[EMAIL PROTECTED] All applicants will be asked to submit code samples. Thanks, Matthew Berk CTO, Open List, Inc. It takes strong Perl to discover great pearls.

Apache2::Status, B::TerseSize

2005-05-11 Thread Matthew Berk
dule Apache2::compat    SetHandler perl-script    PerlHandler Apache2::StatusPerlSetVar StatusOptionsAll OnPerlSetVar StatusTerse OnPerlSetVar StatusTerseSize OnPerlSetVar StatusTerseSizeMainSummary OnPerlModule B::TerseSizeAny thoughts?Thanks,Matthew

Re: [ap2/mp2] post-processing handler output with another module (php)

2005-03-13 Thread Matthew Westcott
ed, such as re-statting the file: my $finfo = APR::Finfo::stat($filename, APR::FINFO_NORM, $r->pool()); $r->finfo($finfo); 2. Forget about using the PHP Apache module; pipe the output of your PerlResponseHandler through the command-line PHP interpreter instead. - Matthew

[JOB] Senior MP, Perl Engineer(s)

2005-03-02 Thread Matthew Berk
http://www.openlist.com/ Job details:http://www.openlist.com/about/jobs.htm Inquiries: [EMAIL PROTECTED] (please send resume, cover letter) Thanks, Matthew Berk Co-Founder and C.T.O. Open List, Inc. It takes strong Perl to discover great pearls.

[mp2] DirectoryIndex issues

2005-02-25 Thread Matthew Lineen
n't seem like a good solution and others have reported experiencing the same problem. Is there a simple fix to this httpd.conf file; is this a known issue with Apache2+MP2? Any help would be appreciated. Thanks, Matthew - This URL works correctly: http://ip.ip.ip.ip/testnomp

Re: Sharing variables across Apache threads with threads::shared

2005-02-22 Thread Matthew Westcott
hread limit later! Many thanks for the advice, - Matthew

Sharing variables across Apache threads with threads::shared

2005-02-22 Thread Matthew Westcott
2005: magic_number incremented to 7 by PID 17462 I've checked that threads::shared is working correctly outside of mod_perl (via the examples on http://www.perl.com/pub/a/2002/06/11/threads.html ) - any suggestions where I'm going wrong? I'm running mod_perl 1.99_12 on Apache 2.0.47 with Perl 5.8.0. Thanks, - Matthew

Re: contention for require()'d code library

2005-02-10 Thread Matthew Berk
overhead for recompilation. Again, the case was: - registry script foo.pl - registry script bar.pl - library lib.pl - both scripts require() the library Best, Matthew On Feb 8, 2005, at 11:52 AM, Joe Schaefer wrote: Matthew Berk <[EMAIL PROTECTED]> writes: Apologies in advance for the conc

preferred LB methods

2005-02-10 Thread Matthew Berk
for Cisco, F5 or another device, but this time around want to stick to the open source world. We're graduating from round-robin DNS to something more intelligent, but I want to be sensitive to the the fact that we're using MP exclusively. Thanks in advance for any feedback. Matthew

contention for require()'d code library

2005-02-08 Thread Matthew Berk
tween the two scripts for use of the library which they both include(). Besides not keeping strict, which I'm doing intentionally to support a bit of older code, am I violating a fundamental rule of mod_perl around namespace contention? Thanks in advance, Matthew

Re: compile problems

2004-12-20 Thread Matthew Berk
AM, Matthew Berk wrote: Apologies if I'm posting in the wrong place, but here goes: AMD Opteron, Suse 9.1, perl 5.8.6, Apache 2.0.52, mod_perl 1.99_17 Apache compiles fine. When compiling mod_perl, I execute "/usr/local/bin/perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs" and

compile problems

2004-12-17 Thread Matthew Berk
ry (from libperl): Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES Built under linux Compiled at Dec 16 2004 22:56:14 @INC: /usr/local/lib/perl5/5.8.6/x86_64-linux /usr/local/lib/perl5/5.8.6 /usr/local/lib/perl5/site_perl/5.8.6/x86_64-linux /usr/local

if-modified-since

2004-12-12 Thread Matthew Berk
epend the if-modified-since header to our pages. I'd like to help google and others to NOT hammer our servers ;) Thanks in advance, Matthew -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.or

mod_perl and 64-bit linux

2004-12-01 Thread Matthew Berk
I am considering upgrading to a 64-bit Opteron-based machine running RH linux. Using perl 5.8, apache 2, mod_perl. Has anyone run into any problems running their mod_perl applications on a 64-bit box with a 64-bit linux OS? Thanks in advance, Matthew -- Report problems: http://perl.apache.org

Re: brand new staticised mod_perl 1.99.16 / apache 2.0.51 segfaults.

2004-09-24 Thread Matthew Hodgson
On Fri, 24 Sep 2004, Matthew Hodgson wrote: Stas Bekman wrote: Matthew, please try the current cvs, Philippe has been working hard on improving the static build since _16 was released. http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution Okay, my previous

Re: brand new staticised mod_perl 1.99.16 / apache 2.0.51 segfaults.

2004-09-24 Thread Matthew Hodgson
On Thu, 23 Sep 2004, Stas Bekman wrote: Matthew Hodgson wrote: Stas Bekman wrote: Matthew, please try the current cvs, Philippe has been working hard on improving the static build since _16 was released. http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution

Re: brand new staticised mod_perl 1.99.16 / apache 2.0.51 segfaults.

2004-09-23 Thread Matthew Hodgson
Stas Bekman wrote: Matthew, please try the current cvs, Philippe has been working hard on improving the static build since _16 was released. http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution Okay, my previous build using latest mod_perl cvs was slightly

Re: brand new staticised mod_perl 1.99.16 / apache 2.0.51 segfaults.

2004-09-23 Thread Matthew Hodgson
Stas Bekman wrote: Matthew, please try the current cvs, Philippe has been working hard on improving the static build since _16 was released. http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution -8<-- Start Bug Report --

brand new staticised mod_perl 1.99.16 / apache 2.0.51 segfaults.

2004-09-23 Thread Matthew Hodgson
-8<-- Start Bug Report 8<-- 1. Problem Description: On a plain boring box running debian stable, the simplest build of apache 2.0.51 with a static linked mod_perl 1.99.16 segfaults immediately on start. I've been running round in circles on this all eve

Re: [mp2] how far off feature-freeze is mp2?

2004-09-16 Thread Matthew Darwin
which I reported to this list. -- Matthew Darwin [EMAIL PROTECTED] http://www.mdarwin.ca -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: [mp2] how far off feature-freeze is mp2?

2004-09-16 Thread Matthew Darwin
enterprise (fortune 500 company) application. 1.99_14 was the latest available at the time the product went into feature-freeze. -- Matthew Darwin [EMAIL PROTECTED] http://www.mdarwin.ca -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: [mp2] how far off feature-freeze is mp2?

2004-09-16 Thread Matthew Darwin
is it safe to use mp2 and apreq2? thanks! Carl -- Matthew Darwin [EMAIL PROTECTED] http://www.mdarwin.ca -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: mp2: PerlSetVar not working?

2004-07-07 Thread Matthew Darwin
2. hmm, this is strange - unrelated to the PerlSetVar issue, but an issue with Apache-Test for sure :) to continue, I'll need you to update to at least the latest Apache-Test - it's available on CPAN. or you can use mod_perl 1.99_14 which contains the latest Apache-Test in it. updating

Re: mp2: PerlSetVar not working?

2004-07-06 Thread Matthew Darwin
-env make make install DESTDIR=/tmp/apache-kinnetics-$USER make clean cd .. cd mod_perl perl Makefile.PL MP_AP_PREFIX=/tmp/apache-kinnetics-$USER/kinnetics/component/httpd \ LIB=/tmp/apache-kinnetics-$USER/kinnetics/component/httpd/site_perl \ PREFIX=/tmp make make test make install

Re: mp2: PerlSetVar not working?

2004-07-06 Thread Matthew Darwin
Nope. Turned off it is the same. I can upgrade to httpd-2.0.50 if that helps... I already have it compiled. Randy Kobes wrote: On Tue, 6 Jul 2004, Matthew Darwin wrote: The behaviour is consistantly wrong at least... [Tue Jul 06 18:38:36 2004] [notice] Apache/2.0.49 (Unix) mod_perl/1.99_14 Perl

Re: mp2: PerlSetVar not working?

2004-07-06 Thread Matthew Darwin
package Apache::Kinnetics::Authorize; use strict; use Apache::Const -compile => ':common'; sub handler { return Apache::OK; } 1; Geoffrey Young wrote: Matthew Darwin wrote: Ok, I removed this section of httpd.conf, I start seeing output from your script: ... ok, that&#x

Re: mp2: PerlSetVar not working?

2004-07-06 Thread Matthew Darwin
nnetics::Authenticate', PerlAuthzHandler => 'Apache::Kinnetics::Authorize', 'require' => 'valid-user' }; Geoffrey Young wrote: Matthew Darwin wrote: The behaviour is consistantly wrong at least... [Tue Jul 06 18:38:36 2004] [notice] Apache/2.0.49 (Unix) mod_per

Re: mp2: PerlSetVar not working?

2004-07-06 Thread Matthew Darwin
in concatenation (.) or string at /kinnetics/component/perllib/site_perl/Apache/Foo.pm line 7, line 2. [Tue Jul 06 18:38:42 2004] [warn] [client 10.2.210.1] Value of Foo is: \n Randy Kobes wrote: On Mon, 5 Jul 2004, Matthew Darwin wrote: I can't figure out what I'm doing wrong. I&#

mp2: PerlSetVar not working?

2004-07-05 Thread Matthew Darwin
.../site_perl/Apache/Foo.pm line 10, line 2. [Mon Jul 5 20:13:12 2004] -e: Value of Foo is 2: [Mon Jul 05 20:13:12 2004] [error] [client 1.2.3.4] File does not exist: .../htdocs/nm/foo -- Matthew Darwin [EMAIL PROTECTED] http://www.mdarwin.ca -- Report problems: http://perl.apache.org/bug

Re: [mp2] ?Any clue when stable release comes out?

2004-06-19 Thread Matthew Darwin
ill a production release of MP2 be out by then or when does anyone have an idea when one will be out?? Much thanks, __ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail -- Matthew Darwin [EMAIL PROTECTED]

Re: [mp2] Makefile.PL does not detect correct MPM

2004-03-15 Thread Matthew T. Atkinson
the prefork and prefork development packages installed (not the worker ones). Does this mean it is a packaging bug? bye just now, -- Matthew T. Atkinson <[EMAIL PROTECTED]> -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List eti

[mp2] Makefile.PL does not detect correct MPM

2004-03-13 Thread Matthew T. Atkinson
le) (I have no apache[1] packages installed.) Any help/info would be greatly appreciated -- I am at a loss as to what I am doing wrong here... bye just now, -- Matthew T. Atkinson <[EMAIL PROTECTED]> -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/

Re: [RELEASE CANDIDATE] please test mod_perl-1.99_13-dev.tar.gz

2004-03-09 Thread Matthew Darwin
MAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com -- Matthew Darwin [EMAIL PROTECTED] http://www.mdarwin.ca -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: ht

Re: [MP2] "here" documents and UTF-8 and output filters

2004-02-25 Thread Matthew Darwin
Stas Bekman wrote: Matthew Darwin wrote: Stas Bekman wrote: Ah, I suppose this is a typing error: > my $string < ... > ... > EOF > print $string; you miss '=' Sorry... writing up exmaples has inherent dangers. Also try adding utf8::encode($string); Tri

Re: [MP2] "here" documents and UTF-8 and output filters

2004-02-25 Thread Matthew Darwin
$r->print() instead? No difference. -- Matthew Darwin [EMAIL PROTECTED] http://www.mdarwin.ca -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

[MP2] "here" documents and UTF-8 and output filters

2004-02-25 Thread Matthew Darwin
ch.txt") || die; my $stuff = <$fh>; close ($fh); print $stuff; print < -- Matthew Darwin [EMAIL PROTECTED] http://www.mdarwin.ca -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

[mp1] RH9 / apache 1.3.29 / mod_perl 1.29 / perl 5.8.0 segfault

2004-01-26 Thread Matthew Avitable
Hi Folks, This one has me stumped. After installing with clean tarballs of apache_1.3.29 and mod_perl-1.29 on a RedHat 9 box, I'm getting a segfault upon making a request. I'm not executing any perl handler at all - in fact, none are configured in my httpd.conf. I'm just requesting a file.

Re: [mp2] build problem mod_perl-1.99_12 and "make install DESTDIR"

2004-01-12 Thread Matthew Darwin
t after it is in the correct location). I'm happy to open a apache bug. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26076 Stas Bekman wrote: Matthew Darwin wrote: If you build apache with ./configure \ --prefix=/kinnetics/component/httpd make install DESTDIR=/tmp/apache-

Re: [mp2] build problem mod_perl-1.99_12 and "make install DESTDIR"

2004-01-12 Thread Matthew Darwin
Also works under 1.99_11 BTW, my perl version is 5.8.1 and apache 2.0.48. Matthew Darwin wrote: Note that this works just fine under mod_perl 1.99_10-dev. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

[mp2] build problem mod_perl-1.99_12 and "make install DESTDIR"

2004-01-12 Thread Matthew Darwin
If you build apache with ./configure \ --prefix=/kinnetics/component/httpd make install DESTDIR=/tmp/apache-kinnetics-$USER then when you try compiling mod_perl you get: perl Makefile.PL \ MP_AP_PREFIX=/tmp/apache-kinnetics-$USER/kinnetics/component/httpd \ LIB=/tmp/ap

RE: [OT] [mod_perl] [Fun] telecommuting job

2003-12-12 Thread Shaw, Matthew
Slava: Are you an idiot? Just Joking, Matt (Sorry, couldn't resist :) > -Original Message- > From: Slava Bizyayev [mailto:[EMAIL PROTECTED] > Sent: Friday, December 12, 2003 3:31 PM > To: Haroon Rafique > Cc: 'mod_perl list' > Subject: RE: [OT] [mod_perl] [Fun] telecommuting

Re: About Authenticate Dialog

2003-12-08 Thread Matthew Darwin
ow can I get the id and password that the client inputed in that authenticate box . Would someone give any advice ? Thanx. Regards, Kai -- Matthew Darwin [EMAIL PROTECTED] http://www.mdarwin.ca -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: [mp2] OutputFilter with UTF-8 characters

2003-11-11 Thread Matthew Darwin
eturn Apache::OK; } The regex I was using in the quoted e-mail below also used $_. Now that I've changed it and my while() loop in the content handler to a "my" variable things look much better. Stas Bekman wrote: Matthew Darwin wrote: Stas Bekman wrote: I'd suggest to take

Re: mod_perl and mysql

2003-11-11 Thread Matthew Darwin
I've been using mysql+mod_perl for years. You should check that you aren't connecting to the database in the apache startup phase and then using the same connection in a handler. Ged Haywood wrote: Hi there, On Tue, 11 Nov 2003, Global Junk wrote: I'm running Linux Apache/1.3.26 (Unix) mod_p

Re: [mp2] OutputFilter with UTF-8 characters

2003-11-05 Thread Matthew Darwin
l.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com -- Matthew Darwin [EMAIL PROTECTED] http://www.mdarwin.ca -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

[mp2] OutputFilter with UTF-8 characters

2003-11-05 Thread Matthew Darwin
I'm just wondering if anyone has any input on this issue. I'm implementing an output filter, like so: SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOutputFilterHandler Apache::Kinnetics::Output and I get the following error on some web pages that have UTF-8 data: [Wed Nov 0

Re: anchor tag

2003-11-01 Thread Matthew Westcott
url? You can't, unfortunately - the anchor part of the URL is never seen by the server at all. - Matthew

Re: [mp2] Declining from response handler bypasses other handlers

2003-10-02 Thread Matthew Westcott
dir directory...\n"; return Apache::OK; } 1; invoked with PerlFixupHandler MyApache::Permissions - Matthew

[mp2] Declining from response handler bypasses other handlers

2003-10-02 Thread Matthew Westcott
/something/ returns a 404). I suspect the problem is on the Apache side; the SetHandler is overriding all other handlers. Is there any way around this? I'm using Apache/2.0.47 and mod_perl/1.99_10, on Linux. - Matthew

Strange (13)permission denied in 1.28

2003-10-01 Thread Matthew Hodgson
gratefully received; Matthew. Matthew Hodgson [EMAIL PROTECTED] Tel: +44 7968 722968 Arathorn: Co-Sysadmin, TheOneRing.net®

Re: [mp2] segfault at startup under perl 5.8.1 and mod_perl-1.99_10-dev

2003-09-30 Thread Matthew Darwin
I now have it working on RedHat 9 with the same configuration options. So unless someone wants to debug this for interest sake, I'm not bothered by it any more. Let me know if you want me to post more info. Thanks, Stas Bekman wrote: Matthew, please submit a complete bug report as expl

Re: [mp2] segfault at startup under perl 5.8.1 and mod_perl-1.99_10-dev

2003-09-30 Thread Matthew Darwin
;, stack_end=0xbabc) at ../sysdeps/generic/libc-start.c:129 Matthew Darwin wrote: When I start httpd without the LoadModule perl_module modules/mod_perl.so All is good. When I add the line above, and start "httpd -X" apache crashes before I even request the first page. Has anyone else s

[mp2] segfault at startup under perl 5.8.1 and mod_perl-1.99_10-dev

2003-09-30 Thread Matthew Darwin
When I start httpd without the LoadModule perl_module modules/mod_perl.so All is good. When I add the line above, and start "httpd -X" apache crashes before I even request the first page. Has anyone else seen this problem? #0 0x403124c3 in Perl_sv_upgrade () from /foo2/modules/mod_perl.so #