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
Hi all, I searched for that solution for hours not finding any until Torsten posted this one. IMHO it's worth it to put Torsten's snippet to the documentation pages of mod_perl. Even the book 'mod_perl 2 user's guide' leaves a big hole in that area. Thank you Torst

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