Re: Raku

2021-12-22 Thread tomcat/perl
apache.org/docs/2.0/index.html) On Wed, Dec 22, 2021 at 8:45 AM André Warnier (tomcat/perl) wrote: On 22.12.2021 13:19, Wes Peng wrote: Raku has its own WSGI httpserver? Yes, as there are several similar things for Apache/perl (such as Plack/PSGI). But these frameworks only do *partiall

Re: Raku

2021-12-22 Thread tomcat/perl
On 22.12.2021 13:19, Wes Peng wrote: Raku has its own WSGI httpserver? Yes, as there are several similar things for Apache/perl (such as Plack/PSGI). But these frameworks only do *partially* what mod_perl allows one to do. An essential part of mod_perl (and something for which I believe ther

Re: [RELEASE CANDIDATE] mod_perl-2.0.12 RC2

2021-12-22 Thread tomcat/perl
Hi. "> I was thinking this project has died." I would sincerely hope not. At least for my company, mod_perl is still a vital and effective piece of our software development and infrastructure. Many thanks to Steve Hay (and many others) for keeping perl and mod_perl alive and well. Judging by t

Re: [DISCUSS] The future of mod_perl

2021-03-25 Thread tomcat/perl
Hi. I am a long-term (30+) user of Apache/mod_perl (and perl), but at the application level, not at the committer or PMC level. May I therefor respectfully contribute an "outsider's" point of view ? I believe that mod_perl (like perl itself) suffers from the fact that it is just "too good", i

Re: New Windows mod_perl2/libapreq2 build available

2021-03-09 Thread tomcat/perl
Many thanks. Nowadays, we tend to deal increasingly with Linux servers rather than Win32/64, but it is nice anyway that someone cares for this, as we still have some customers with legacy Win servers that they want to keep and update from time to time. (And it is also nice for our development/s

Re: Moving ExecCGI to mod_perl - performance and custom 'modules' [EXT]

2021-02-12 Thread tomcat/perl
at 09:52:16AM +0100, André Warnier (tomcat/perl) wrote: Isn't this discussion about connection pools and firewalls etc getting a bit far from the initial subject of the thread ? Perhaps. But this has become a pretty low volume mailing list. This "thread" has moved me to spend h

Re: Moving ExecCGI to mod_perl - performance and custom 'modules' [EXT]

2021-02-11 Thread tomcat/perl
Isn't this discussion about connection pools and firewalls etc getting a bit far from the initial subject of the thread ? On 09.02.2021 23:03, Mithun Bhattacharya wrote: I would consider mine a small setup on an internal network and I have used both Sybase and SQL Server. In our case the DBA's

Re: Moving ExecCGI to mod_perl - performance and custom'modules'[EXT]

2021-02-08 Thread tomcat/perl
On 08.02.2021 10:09, Steven Haigh wrote: On Sun, Feb 7, 2021 at 15:17, Chris wrote: Just remember to always write clean code that resets variables after doing tasks. I'm a bit curious about this - whilst I'm still testing all this on a staging environment, how can I tell if things can leak

Re: Confused about two development utils [EXT]

2020-12-25 Thread tomcat/perl
servers need a lot (and I mean a lot) more memory than the mod_perl servers to serve the same level of content (just in case memory blows up with FCGI backends) -Original Message- From: James Smith mailto:j...@sanger.ac.uk>> Sent: 23 Dece

Re: Confused about two development utils

2020-12-23 Thread tomcat/perl
On 22.12.2020 14:20, Matthias Peng wrote: Can I guess mod_perl is the upgraded version of apreq? Thanks Andre. Not really. They are really 2 different things. The essence of mod_perl, is to embed a perl interpreter in Apache httpd. This costs memory, and all the more since many perl modules a

Re: Confused about two development utils

2020-12-22 Thread tomcat/perl
On 22.12.2020 06:49, Matthias Peng wrote: Hello I am developing a simple mp2 application. I looked for the installation for mp2 utils, and found this two: libapache2-mod-perl2 libapache2-mod-apreq2 what're their relations? Should I install both, or only the first one? Hi. They are differ

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

2020-08-05 Thread tomcat/perl
On 04.08.2020 22:48, Mark Blackman wrote: [...] the web server handles all the complicated host or path rewrites and access control and the Perl app focuses on responding to the, now-sanitised, fully normalized, HTTP requests. I'll agree to that, up to a point. If you just want to write web ap

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

2020-08-04 Thread tomcat/perl
On 04.08.2020 11:31, paul trader wrote: On Tue, 4 Aug 2020 at 07:36, James Smith opined: JS:Others will disagree but the best way I still believe is using mod_perl JS:- but only if you use it's full power - and you probably need a special JS:sort of mind set to use - but that can be said for any

problem with SLES 12, Apache 2,4, mod_perl 2.0.8

2020-06-03 Thread tomcat/perl
Hi. A few days ago, I posted an issue that we experienced with apreq2 on this same platform, which we could in the end resolve but via a somewhat unconventional and complicated route. Now we find another issue with mod_perl, and we do not know how to tackle it. The problem seems to be that wit

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

2020-06-01 Thread tomcat/perl
On 31.05.2020 20:49, Vincent Veyron wrote: Hi List, I have two servers using mod_perl, both having the same modules installed and enabled; server1 got a fresh install of Debian Buster, while server2 was upgraded to Buster from Stretch. This code : my $cookie = CGI::Cookie->new(-name

problem with Apache apreq2 on SLES 12 SP1

2020-05-30 Thread tomcat/perl
Hi. Since the following is quite long, here is the question : does the following ring any bell to anyone here ? Thanks in advance. André Description: We get the following issue on a customer system on which we install an application. The system was initially installed by the customer's own IT

Re: Apache2:AuthCookie With httpd 2.4

2020-05-14 Thread tomcat/perl
Hi. Just some tips, to simplify the issue, below in the text : On 14.05.2020 06:09, Scott Alexander wrote: Hi, Thanks for your answer, but for me this is confusing. I have Apache2_4::AuthCookie is up to date. (3.30) Apache2::AuthCookie is up to date. (3.30) <--- you do not need this with

Re: Apache 2.4, AAA, Shibboleth

2020-03-06 Thread tomcat/perl
session. -- Signet - The Art of Access https://www.signet.id/ On Fri, Mar 06, 2020 at 04:26:06PM +0100, André Warnier (tomcat/perl) wrote: Hi experts. In our Apache 2.4(+mod_perl) setups, we use the following kind of thing : ... PerlAddAuthzProvider UMA-user AUTH::UMA2->authz_user

Re: Apache 2.4, AAA, Shibboleth

2020-03-06 Thread tomcat/perl
-user" in both cases. One more question : why the top-level ? On 07.03.2020 00:59, Paul B. Henson wrote: On Sat, Mar 07, 2020 at 12:22:35AM +0100, André Warnier (tomcat/perl) wrote: Does anyone have an idea how I could do the equivalent of a "pop the 'require shibboleth' but

Re: Apache 2.4, AAA, Shibboleth

2020-03-06 Thread tomcat/perl
hen it's there, and just for the current request. Russell Sent from my iPhone On Mar 6, 2020, at 08:26, André Warnier (tomcat/perl) wrote: Hi experts. In our Apache 2.4(+mod_perl) setups, we use the following kind of thing : ... PerlAddAuthzProvider UMA-user AUT

Apache 2.4, AAA, Shibboleth

2020-03-06 Thread tomcat/perl
Hi experts. In our Apache 2.4(+mod_perl) setups, we use the following kind of thing : ... PerlAddAuthzProvider UMA-user AUTH::UMA2->authz_user ... AuthName ALUtop AuthType shibboleth PerlSetVar UMA_AuthType "SAML2" ShibRequestSetting requireSession 1 ShibRe

Re: Building mod_perl2.pm

2020-02-13 Thread tomcat/perl
On 12.02.2020 23:01, Ruben Safir wrote: On Tue, Feb 11, 2020 at 07:04:56PM -0600, Steven Lembark wrote: Hello, I am trying to use Apache::DBI module. I got it installed on the SUSE Linux 11SP4 on my dev box. It has a dependency of mod_perl2. But when I try to install mod_perl2, I get Please

Re: POST large amount of data causes segmentation fault

2020-02-10 Thread tomcat/perl
On 09.02.2020 16:26, Vincent Veyron wrote: On Sun, 9 Feb 2020 10:57:04 + Scott Alexander wrote: I meant I'm posting data from a form, javascript is collecting a series of numbers from a as a string. Not really clear what happens here? I guess Javascript writes the content of the text

Re: mod_perl, compilation issues, cont

2020-02-03 Thread tomcat/perl
INDOWS\system32\WindowsPowerShell\v1.0\Modules PUBLIC=C:\Users\Public SESSIONNAME=Console SVN_SSH=C:\Program Files\TortoiseGit\bin\TortoiseGitPlink.exe SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\Users\aw\AppData\Local\Temp TMP=C:\Users\aw\AppData\Local\Temp USERDNSDOMAIN=MIRA-GLOMAS.INTERN USERDOMAIN=

Re: mod_perl, compilation issues, cont

2020-02-03 Thread tomcat/perl
/ under Permission Types; the specific right is ‘List Folder Contents’ This would account for both dl_findfile working and the ‘Can’t Load file’ error because the first utilizes the listing rights and the second needs to actually read the file. On Jan 16, 2020, at 1:34 AM, André Warnier (tomcat

mod_perl, compilation issues, cont

2020-01-16 Thread tomcat/perl
Can anyone tell me what the error below really means ? (and if possible, give me a clue as to what may be happening ?) To get possibly more details, I re-ran the compile command after setting PERL_DL_DEBUG in the environment (just something I found in Dynaloader.pm). It does give some more detai

mod_perl, compilation issues

2020-01-14 Thread tomcat/perl
Hi. OS : Windows 10 Apache httpd 2.4.41 perl (Strawberry) : perl 5, version 26, subversion 2 (v5.26.2) built for MSWin32-x64-multi-thread mod_perl : from Steve Hay's mod_perl-2.0.10-strawberryperl-5.26.1.1-64bit.zip, as per Apache log : Apache/2.4.41 (Win64) mod_perl/2.0.10 Perl/v5.26.2 configu

Re: installing mod_perl on Windows 10

2020-01-14 Thread tomcat/perl
Hi. One more time. I am trying to install Apache 2.4 (64-bit, ApacheLounge) + perl (Strawberry, 5.26.2, 64-bit) + mod_perl 2 (all versions shown below in cpanm output), on a (German) Windows 10 laptop. (*) The work directory below is leftover from a previous command "cpanm mod_perl2". Apache 2

Re: installing mod_perl on Windows 10

2020-01-08 Thread tomcat/perl
On 08.01.2020 17:19, Edward J. Sabol wrote: On Jan 8, 2020, at 10:17 AM, André Warnier (tomcat/perl) wrote: Please provide a full path to 'apxs' executable (press Enter if you don't have it installed): Configure mod_perl with C:\Apache24? [y] y It seems to me you didn’t pr

installing mod_perl on Windows 10

2020-01-08 Thread tomcat/perl
Hi. After (very) long and faithful service, I had to replace my old Windows XP development laptop by a new one, which of course came with Windows 10. And I am having problems installing Apache 2.4 + Strawberry perl + mod_perl. Apache 2.4 is from ApacheLounge (https://www.apachelounge.com/downl

Re: decrypt the posted content

2019-11-20 Thread tomcat/perl
On 20.11.2019 10:26, Tillman Peng wrote: hello My client post the data body which is encrypted with public-key. the private key is deployed in web server,powered by mp2. How can I correctly decrypt the data with private key from within modperl handler? Hi. Do you have a separate command-line

Re: Output filters, data encoding

2019-11-14 Thread tomcat/perl
On 14.11.2019 01:09, Hua, Yong wrote: Hi on 2019/11/14 2:12, André Warnier (tomcat/perl) wrote: I'm writing a new PerlOutputFilter, stream version. Can you give a more general introduction for what is "stream version"? Thank you. You shoud read the pages which I referre

Re: Output filters, data encoding

2019-11-13 Thread tomcat/perl
On 13.11.2019 19:37, Damyan Ivanov wrote: -=| André Warnier (tomcat/perl), 13.11.2019 19:12:10 +0100 |=- while (my $sz = $f->read(my $buffer, BUFF_LEN)) { .. and then I need to pass this data to another module for processing (Template::Toolkit). To make a long story short, Templ

Re: Output filters, data encoding

2019-11-13 Thread tomcat/perl
On 13.11.2019 19:53, p...@cpan.org wrote: On Wednesday 13 November 2019 19:52:25 André Warnier (tomcat/perl) wrote: On 13.11.2019 19:17, p...@cpan.org wrote: On Wednesday 13 November 2019 19:12:10 André Warnier (tomcat/perl) wrote: My question is : can I - and how -, set the filehandle that

Re: Output filters, data encoding

2019-11-13 Thread tomcat/perl
On 13.11.2019 19:17, p...@cpan.org wrote: On Wednesday 13 November 2019 19:12:10 André Warnier (tomcat/perl) wrote: My question is : can I - and how -, set the filehandle that corresponds to the $f->read(), to a UTF-8 layer ? I have tried line 155: binmode($f,'encoding:(UTF-8)'

Output filters, data encoding

2019-11-13 Thread tomcat/perl
Hi. I'm writing a new PerlOutputFilter, stream version. I have written several working ones before, so I know the general scheme. But in this latest filter, I have a problem with the data encoding, which I did not encounter previously. I did not find an answer in the on-line mod_perl documentatio