ANNOUNCE: Apache::SMTP

2004-02-23 Thread mock
code ;) code can be found here: http://search.cpan.org/~mock/ mock -- 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: ANNOUNCE: Apache::SMTP

2004-02-23 Thread mock
modules on CPAN which now > include a test suite. > > You want to keep TestTieBucketBrigade.pm out of project/lib and put it > under t instead. See the modperl-2.0 test suite. > I'm having a little difficulty figuring out how to create request which isn't HTTP. I&#

Re: ANNOUNCE: Apache::SMTP

2004-02-24 Thread mock
> name, since it's an APR feature and not Apache's one. > > But if it's already implemented, nothing stops us from putting it into the > core as it is (in perl) and then port it to C when we get time. Or may be > 'mock' will want to do that ;) > I was

Re: ANNOUNCE: Apache::SMTP

2004-02-24 Thread mock
ot right. How about Apache::App::SMTP? Can everyone else live with that? Alternatively, Apache::App::SMTPd. > > Meanwhile, I've linked to your module from: > http://perl.apache.org/docs/2.0/user/handlers/protocols.html#CPAN_Modules > as the first mp2 protocol implementation on

Re: ANNOUNCE: Apache::SMTP

2004-02-24 Thread mock
namespace, so there is no > > collision. I suppose once the core supports it, you can just nuke it > > from CPAN if you are happy with it. > > mock is much farther along with it than I am - I was creating it as a > tutorial for people who get a $bb and don't know what to d

Re: APR::Base64 uses

2004-08-10 Thread mock
ng you aren't an idiot and leave the private key somewhere internet accessible, this should be as proof against hackers as any other credit card processing. enjoy mock Business-OnlinePayment-StoredTransaction-0.01.tar.gz Description: application/tar-gz -- 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: APR::Base64 uses

2004-08-11 Thread mock
On Wed, Aug 11, 2004 at 01:01:23AM -0700, Bart Simpson wrote: > > --- mock <[EMAIL PROTECTED]> wrote: > > > This is about to go out to CPAN, but since it seems > > there is some question > > as to how to do this, I'll send it out a little > >

Re: APR::Base64 uses

2004-08-11 Thread mock
will be talking about a bunch of new tricks for credit card processing at YAPC::Europe this year, as well as, (just to bring the topic back to mod_perl) the experience I had building an MTA using Apache and mod_perl. mock -- Report problems: http://perl.apache.org/bugs/ Mail list info: http:/

Re: APR::Base64 uses

2004-08-11 Thread mock
On Wed, Aug 11, 2004 at 09:36:42AM -0400, Perrin Harkins wrote: > mock wrote: > >This is about to go out to CPAN, but since it seems there is some question > >as to how to do this, I'll send it out a little early. Attached is a > >module > >for safely encryptin

Re: How to tell if there's data waiting on a NON-blocking Apache connection?

2004-08-18 Thread mock
ucketBrigade we do the following sub FILENO { #returns magic fileno which select and fdopen will do something special with shift; return MAGIC_FILENO; } Provided you don't need fd 7 anywhere else, this should work. Ideally we should get the real fd and use it instead. So all we need to make IO::Select, select and everything else work, is the ability to poll for data on the socket, which we'll just stick in the overridden select at the appropriate point above. mock -- 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: ANNOUNCE: Apache::Qpsmtpd

2004-09-22 Thread mock
Perl's readline. > > Matt. > I think there is the potential for an even better speed increase with a little reworking of how QPSMTPD works. Some of the stuff you're doing (the timeout bits you showed me) might be better left to Apache to handle. Also, you might want to try it

Re: Fwd: XSS evasion

2006-10-08 Thread mock
On Fri, Oct 06, 2006 at 07:25:06PM +0200, Clinton Gormley wrote: > On Fri, 2006-10-06 at 18:48 +0200, Hendrik Van Belleghem wrote: > > "mock" talked about XSS at this years YAPC::Europe in Birmingham a few > > weeks ago. He had quite a few examples. His slides are at >

Catchall ScriptAlias and error handling

2008-12-01 Thread Andreas Mock
Hi all, I searched the internet for a wile now and couldn't find an answer to my question. We have the following situation: a) In a virtual host configuration we have several Alias entries pointing to several directories and files b) At the end of the config we have a ScriptAliasMatch entry of

ModPerl::Registry and custom error documents

2009-09-17 Thread Andreas Mock
is doesn't work. It seams that apache jumps right into the error handling stuff as soon as a status code >= 400 is seen. How can we dynamically create own error documents without using the lower level mod_perl/apache api? Is there a simple way? How can we achieve that? Best regards Andreas Mock

ModPerl::Registry and custom error documents

2009-09-18 Thread Andreas Mock
is doesn't work. It seams that apache jumps right into the error handling stuff as soon as a status code >= 400 is seen. How can we dynamically create own error documents without using the lower level mod_perl/apache api? Is there a simple way? Best regards Andreas Mock

ModPerl::Registry and Error Documents

2009-09-28 Thread Andreas Mock
Hi all, after searching for a while without finding an answer to my question I hope you can help me, We're using mod_perl with ModPerl::Registry to have only a thin layer between apache and our perl scripts. So far so good. Now we want to produce error documents dynamically and thought this could

Re: ModPerl::Registry and Error Documents

2009-10-05 Thread Andreas Mock
> -Ursprüngliche Nachricht- > Von: "Torsten Foertsch" > Gesendet: 29.09.09 10:01:26 > An: modperl@perl.apache.org > Betreff: Re: ModPerl::Registry and Error Documents > > You have asked this question already 2 times before, on 17.09.09 12:13 > and 17.09.09 11:15. The first time I have a

Re: ModPerl::Registry and custom error documents

2009-10-05 Thread Andreas Mock
> -Ursprüngliche Nachricht- > Von: "Torsten Foertsch" > Gesendet: 17.09.09 13:14:16 > An: modperl@perl.apache.org > CC: Andreas Mock > Betreff: Re: ModPerl::Registry and custom error documents > On Thu 17 Sep 2009, Andreas Mock wrote: > > Ho

RE: Setting Content-Type in a custom response (mp2)

2010-03-12 Thread Andreas Mock
en! Best regards Andreas Mock -Ursprüngliche Nachricht- Von: Steve Hay Gesendet: 12.03.2010 10:58:15 An: "Torsten Förtsch" ,modperl@perl.apache.org Betreff: RE: Setting Content-Type in a custom response (mp2) >Torsten Förtsch wrote on 2010-03-11: >> On Thursday 11 March

Re: Need help with abort connection

2010-07-22 Thread Andreas Mock
Hi Tobias, your whole scenario depends on the possibility to reliably cancel a running query on the database. If your database and client (software) is able to do so, which has to be tested, the cancel button could send another ajax request with an identifier of the initial query which then would

RE: Mod Perl - Custom Error Pages

2011-10-25 Thread Andreas Mock
;A error has occurred'. Or you can feed informations for certain cornercases or debugging. Hope I could help. Greetings to Torsten. Best regards Andreas Mock > -Original Message- > From: David Hofmann [mailto:elmic11...@gmail.com] > Sent: Tuesday, October 25, 2011 5:20 PM &

AW: Coupling Plack/PSGI with mod_perl, or an alternate architecture?

2012-10-14 Thread Andreas Mock
Hi Tatsuhiko, which proxy do you use in front? Best regards McA -Ursprüngliche Nachricht- Von: Tatsuhiko Miyagawa [mailto:miyag...@gmail.com] Gesendet: Sonntag, 14. Oktober 2012 20:57 An: modperl@perl.apache.org Betreff: Re: Coupling Plack/PSGI with mod_perl, or an alternate architectu

AW: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread Andreas Mock
Hi all, please, please don't forget to restrict yourself to the 8.3 naming convention. Anything else is troublesome... ... the executable perl.exe is not named by accident but follows deep wisdom. ;-) McA -Ursprüngliche Nachricht- Von: demerphq [mailto:demer...@gmail.com] Gesendet: Do

AW: Custom response problem

2014-03-18 Thread Andreas Mock
Have you loaded Apache2::RequestRec? Best regards Andreas Mock Von: John Dunlap [mailto:j...@lariat.co] Gesendet: Dienstag, 18. März 2014 16:59 An: mod_perl list Betreff: Custom response problem I recently upgraded my workstation from Debian 6 to Debian 7 and I'm now encount

AW: Custom response problem

2014-03-18 Thread Andreas Mock
What does this give to you? perl -MApache2::RequestRec -e'print Apache2::RequestRec->VERSION' Regards Andreas Von: John Dunlap [mailto:j...@lariat.co] Gesendet: Dienstag, 18. März 2014 17:16 An: Andreas Mock Cc: mod_perl list Betreff: Re: Custom response problem

AW: Custom response problem

2014-03-18 Thread Andreas Mock
he same in both cases. If I attempt to install it from CPAN, it says that it is already installed. On Tue, Mar 18, 2014 at 12:13 PM, Andreas Mock wrote: Have you loaded Apache2::RequestRec? Best regards Andreas Mock Von: John Dunlap [mailto:j...@lariat.co] Gesendet: Dienstag, 18

Apache2, mod_perl, getting the raw request ody

2014-03-21 Thread Andreas Mock
ns. Is there a easy way to get (and dump) the raw request body? I digged around the Apache2::-modules but didn't find something appropriate. Best regards Andreas Mock

AW: Weird issues using DBI + mod_perl

2019-08-16 Thread Andreas Mock
Hi Bruce, I'm just guessing, but this sounds much like reusing or double using of Oracle db handles, context handles or statement handles. You have to have a look at the bookkeeping of the handles per request. Also forking of the childs may byte you. You must ensure that db handles are ONLY ope

AW: Weird issues using DBI + mod_perl

2019-09-03 Thread Andreas Mock
Hi Bruce, thank you for the feedback. Have you posted it under "#use" ? :- Best regards Andreas Von: Bruce Johnson Gesendet: Dienstag, 3. September 2019 18:36 An: Andreas Mock Cc: dbi users ; mod_perl list Betreff: Re: Weird issues using DBI + mod_perl Jus

AW: STDOUT Problem migrating a site to mod_perl

2019-09-23 Thread Andreas Mock
Hi Thomas, why not implementing the follwoing steps. 1) create tmp file. 2) convert to tmp file 3) if everything worked fine reading file, setting appropriate headers and print content and afterwards delete tmp file. 4) if something went wrong you can send an error page with appropriate headers

AW: Setting a MIME type on $r->custom_response

2019-09-24 Thread Andreas Mock
Hi Andrew, have a look at $r->err_headers_out->add('Content-Type' => 'bla bla'); Best regards Andreas Von: Andrew Green Gesendet: Dienstag, 24. September 2019 18:39 An: modperl@perl.apache.org Betreff: Setting a MIME type on $r->custom_response Hi all, Is it possible to

AW: Question on a rewrite rule

2020-01-08 Thread Andreas Mock
You have to see in which virtualhost section this rule was put into. I'm pretty sure it's only in the http section. -Ursprüngliche Nachricht- Von: Wesley Peng Gesendet: Donnerstag, 9. Januar 2020 03:44 An: modperl@perl.apache.org Betreff: Question on a rewrite rule Hello After installa

AW: Can't locate object method "new" via package "CGI::Cookie"

2020-05-31 Thread Andreas Mock
Hi Vincent, I don't have Debian. Therefor just a view hints. 1) CGI::Cookie loading is done sometimes dynamically via require. E.g. in CGI.pm itself. 2) mod_perl 1/2 with the helper modules Apache2::RequestUtil interact dynamically. 3) It can be possible that you have a version clash (alone or in

AW: suggestions for perl as web development language [EXT]

2020-08-04 Thread Andreas Mock
Hi all, we also have a big code base whose starting point is more than two decades ago. If you have developers who know their stuff and all the internal developed modules and helpers you're good to go. BUT: We do have problems to get young, fresh perl developers. Why? This language is simply unat

Re: Apache server returns early before process is complete

2025-04-23 Thread Andreas Mock
Hi Joseph, your description is very vague, so can only answer on some assumptions: It sounds like a timeout is fired somewhere. Best advice in these situations: Log as many steps as you can. Keep your eyes open on TCP/IP and higher level timeouts. Declare only ONE instance responsible for a

Re: Apache server returns early before process is complete

2025-05-13 Thread Andreas Mock
t out. Joe On Tue, May 13, 2025 at 10:07 AM Andreas Mock wrote: Hi Joe, when you send a request via LWP::UserAgent to the Server which does the long lasting SFTP calls, then I'm pretty sure that you get a timout in the LWP::UserAgent code. I'm pretty sure the client

Re: Apache server returns early before process is complete

2025-05-13 Thread Andreas Mock
tely and then provide correct status in the message body. Once a response code/header has been sent timeout won't trigger and you could potentially hold the connection for hours without a problem.