Re: Modperl with threads

2024-12-19 Thread Ed Sabol
On Dec 19, 2024, at 5:10 PM, Mithun Bhattacharya wrote: > Has DBI itself become thread safe or is it still a great area ? AFAIK, as long as each thread instantiates it's own handle, it should work. I don't believe you can share the same DBI handle between multiple threads. Regards, Ed

Re: Modperl with threads

2024-12-19 Thread Mithun Bhattacharya
I think the bigger problem is that not all of the Perl modules are thread safe. Has DBI itself become thread safe or is it still a great area ? On Thu, Dec 19, 2024, 3:46 PM Ed Sabol wrote: > On Dec 19, 2024, at 12:47 PM, Bitfox wrote: > > Mod_perl doesn’t support threads, am I right? > > If y

Re: Modperl with threads

2024-12-19 Thread Ed Sabol
On Dec 19, 2024, at 12:47 PM, Bitfox wrote: > Mod_perl doesn’t support threads, am I right? If you mean mod_perl with ithreads and using the Apache mpm_event module, then that's incorrect, I think. Search the archives of this mailing list for posts by Joe Schaefer for some clues as to how. I h

Re: Modperl with threads

2024-12-19 Thread Ruben Safir
it has had thread for many years to my knowledge On Fri, Dec 20, 2024 at 01:47:12AM +0800, Bitfox wrote: > Mod_perl doesn’t support threads, am I right? > This may limit its capabilities from my view. > Any alternative stack? > > Thanks -- So many immigrant groups have swept through our town

Modperl with threads

2024-12-19 Thread Bitfox
Mod_perl doesn’t support threads, am I right? This may limit its capabilities from my view. Any alternative stack? Thanks

Re: reasons for modperl declines? ... pagination

2024-08-09 Thread Guido Brugnara
I apologize that we are using this mail-list dedicated to mod_perl. Normally the page to be returned to the frontend for display has a few rows (tens) and therefore perform Join with a table of keys or use IN (...) m but also key = X OR key = Y OR ... makes little difference. In my case the rec

Re: reasons for modperl declines? ... pagination

2024-08-09 Thread Mithun Bhattacharya
True - it will not return enough results if it is a sparse matrix. I might be biased because in my work it is ok to give less results if it is significantly faster. If exact numbers are required and the count is significantly higher then I would suggest keeping the select on primary keys but switc

Re: reasons for modperl declines? ... pagination

2024-08-09 Thread Mithun Bhattacharya
First one is expensive and s cond is inefficient. Instead get the max and min and split the numbers into appropriate batch. So if it is 345 to 25636 then 345 - 1345, 1346-2345 and so on and so forth. Why is the second querry inefficient because the IN clause is much slower than doing a between on t

Re: *** SPAM *** Re: reasons for modperl declines? ... pagination

2024-08-09 Thread Vincent Veyron
On Thu, 8 Aug 2024 16:21:09 +0200 Guido Brugnara wrote: > > I evaluate the query but returning only Primary Keys [*] using > OFFSET/LIMIT limiting to a multiple of rows to display but not too > large, which I save in cache. Thanks for the info. How do you do the caching? -- vv.lists

Re: reasons for modperl declines?

2024-08-08 Thread Jeff Pang
And we have video servers which have access control methods by modperl. only authenticated users have access permission to videos which are just static files. the ip white/black lists are set in apache's configuration file. even ops can update the lists. This is a special business sce

Re: reasons for modperl declines?

2024-08-08 Thread Mithun Bhattacharya
Oh I am referring to twenty years ago when if you wanted to maintain your sanity you don't let Cpanel touch your regular Apache configuration, let alone one with mod_perl configured. On Thu, Aug 8, 2024, 4:49 PM Jeff Pang wrote: > In now days configuration is not a hard job if you like to learn.

Re: reasons for modperl declines?

2024-08-08 Thread Jeff Pang
On 2024-08-08 22:51, Mithun Bhattacharya wrote: So I am a mod_perl user for about 25 years now - pretty much I started with perl and mod_perl together :) Looking at the conversation I can see it is diverging into two parts - one what to do with mod_perl and in general concerns with Perl. Yes

Re: reasons for modperl declines?

2024-08-08 Thread Mithun Bhattacharya
So I am a mod_perl user for about 25 years now - pretty much I started with perl and mod_perl together :) Looking at the conversation I can see it is diverging into two parts - one what to do with mod_perl and in general concerns with Perl. Yes we have alternatives to mod_perl and you should defi

Re: reasons for modperl declines? ... pagination

2024-08-08 Thread Guido Brugnara
Il 08/08/24 15:35, Vincent Veyron ha scritto: On Thu, 8 Aug 2024 13:11:18 +0200 Guido Brugnara wrote: Hi Guido, Special feature of the project is the use of HTML::Mason also for SQL code generation templates for efficient paging of very large recordset (even millions of rows). Excuse me for

Re: *** SPAM *** Re: reasons for modperl declines?

2024-08-08 Thread Vincent Veyron
On Thu, 8 Aug 2024 13:11:18 +0200 Guido Brugnara wrote: Hi Guido, > > Special feature of the project is the use of HTML::Mason also for SQL > code generation templates for efficient paging of very large recordset > (even millions of rows). > Excuse me for hijacking this thread, but I'm curi

Re: reasons for modperl declines?

2024-08-08 Thread Guido Brugnara
uses perl/modperl)? it sounds wonderful. MasonSQL is a dated project (from 2003) still used in some Public Administration in my region. The project is published herehttps://www.leader.it/en/MasonSQL Special feature of the project is the use of HTML::Mason also for SQL code generation

Re: reasons for modperl declines?

2024-08-08 Thread Jeff Pang
On 2024-08-08 16:57, Guido Brugnara wrote: Hi! I work on a project using e framework with ~300K lines of code in Perl (and mod_perl used with HTML::Mason). 300K is so huge a system. is it ERP/CRM related system (b/c I know some other ERP system uses perl/modperl)? it sounds wonderful

Re: reasons for modperl declines?

2024-08-08 Thread Jeff Pang
On 2024-08-08 07:26, Jan Kasprzak wrote: Hi, Jeff, I work on a project with more than 1M lines of code in Perl (and mod_perl). My thoughts: Jeff Pang wrote: For me I run several apps on mod_perl, including a AI prediction app which costs heavy CPU/ram. These apps run for long time and behave

Re: reasons for modperl declines?

2024-08-08 Thread Guido Brugnara
Hi! I work on a project using e framework with ~300K lines of code in Perl (and mod_perl used with HTML::Mason). My applications run in an industrial environment where stability and security are essential, and in many years on the stack (apache, mod_perl, HTML::Mason & Perl) I have never had

Re: reasons for modperl declines?

2024-08-07 Thread Jan Kasprzak
Hi, Jeff, I work on a project with more than 1M lines of code in Perl (and mod_perl). My thoughts: Jeff Pang wrote: > For me I run several apps on mod_perl, including a AI prediction app > which costs heavy CPU/ram. These apps run for long time and behave > just fine. > > Today it sounds

reasons for modperl declines?

2024-08-07 Thread Jeff Pang
For me I run several apps on mod_perl, including a AI prediction app which costs heavy CPU/ram. These apps run for long time and behave just fine. Today it sounds very few people use mod_perl for development/deployment. I think the main reasons may include, 1. perl for web development is som

Re: is mpm_event safe for modperl handler? [EXT]

2022-08-10 Thread pengyh
thanks for letting me know this. James Smith wrote: mpm_event like all Apache mpm_s is much better at handling "issues" where nginx just goes F* and returns nothing. When we have issues we can detect them on apache mpms - but we often fail to see nginx errors as it sort of just dies!

RE: is mpm_event safe for modperl handler? [EXT]

2022-08-10 Thread James Smith
rors as it sort of just dies! -Original Message- From: pengyh Sent: 09 August 2022 13:04 To: James Smith ; modperl@perl.apache.org Subject: Re: is mpm_event safe for modperl handler? [EXT] I think running Ignix as front-end server and mod_perl for backend server is the more popular choi

Re: is mpm_event safe for modperl handler? [EXT]

2022-08-09 Thread pengyh
I think running Ignix as front-end server and mod_perl for backend server is the more popular choice. If you want the speed of mod_event for static content and the power of mod_perl for dynamic content - the best way is to run a lightweight mod_event apache in front of a mod_prefork to run

RE: is mpm_event safe for modperl handler? [EXT]

2022-08-09 Thread James Smith
f like SSL etc is handled on the mod_event instance keeping the mod_worker instance clean.. It also allows you to run two apaches on a single box - a "test" and a "live" -Original Message- From: pengyh Sent: 05 August 2022 02:21 To: modperl@perl.apache.org Subject: Re:

Re: is mpm_event safe for modperl handler?

2022-08-04 Thread pengyh
thanks. that does sound sorry. No and neither is mod_worker. The only mpm you can safely use is prefork. This is, in my opinion, mod_perl's fatal flaw which will doom it.

Re: is mpm_event safe for modperl handler?

2022-08-04 Thread John Dunlap
No and neither is mod_worker. The only mpm you can safely use is prefork. This is, in my opinion, mod_perl's fatal flaw which will doom it. On Thu, Aug 4, 2022 at 2:27 AM pengyh wrote: > Hello > > yes i know mpm_prefork is pretty good for modperl applications. > if I run mod

is mpm_event safe for modperl handler?

2022-08-03 Thread pengyh
Hello yes i know mpm_prefork is pretty good for modperl applications. if I run modperl handler (for example, PerlAccessHandler) under mpm_event, is it safe for a production environment? thanks.

Re: Prototype Mismatch in ModPerl::PerlRun

2021-05-18 Thread Daniel Ragle
rning with use JSON qw(to_json); and use Fcntl qw(:flock) generates the warning separately for each symbol imported. Prototype mismatch: sub ModPerl::ROOT::ModPerl::PerlRunPrefork::var_www_test_test5_2epl::LOCK_SH: none vs () at /var/www/test/test5.pl line 8. Prototype mismatch: sub Mod

Re: Prototype Mismatch in ModPerl::PerlRun

2021-05-18 Thread Daniel Ragle
separately for each symbol imported. Prototype mismatch: sub ModPerl::ROOT::ModPerl::PerlRunPrefork::var_www_test_test5_2epl::LOCK_SH: none vs () at /var/www/test/test5.pl line 8. Prototype mismatch: sub ModPerl::ROOT::ModPerl::PerlRunPrefork::var_www_test_test5_2epl::LOCK_NB: none vs () at /va

Re: Prototype Mismatch in ModPerl::PerlRun

2021-05-14 Thread Edward J. Sabol
r variables in your startup.pl, so I always add " ()" to my "use" statements there. You can then *usually* import specific functions with "use Whatever qw(func);" in your scripts. The problem here though is that the import is redefining the core function, and I think th

Prototype Mismatch in ModPerl::PerlRun

2021-05-14 Thread Daniel Ragle
Greetings, I'm investigating short term solutions for site performance (long term is a full rewrite of the app) and I'm working for the first time with ModPerl::PerlRun (and ModPerl::PerlRunPrefork, both seem to exhibit the same behavior) and feel like I'm missing something ob

modperl vs fastcgi

2021-02-23 Thread Wesley Peng
Do you anybody have a comparison for modperl vs fastcgi? For both the performance and convenience of development/deployment. Thank you.

RE: cache a object in modperl [EXT]

2020-09-16 Thread James Smith
6:49 To: mod_perl list Subject: Re: cache a object in modperl [EXT] Haha I can't answer that - I work with systems which are always up. We have users working across the globe so there is no non-active time. In my case I would have to throw an independent cache (my current choice is REDI

Re: cache a object in modperl

2020-09-14 Thread Patrick Mevzek
Connection: Keep-Alive Keep-Alive: timeout=2, max=358 ETag: "21060d-5af3f856f0800" Expires: Mon, 14 Sep 2020 15:22:04 GMT Cache-Control: max-age=420 Vary: Accept-Encoding All of this has nothing to do with modperl and very lightly to do with Perl at all in fact. See also the

Re: cache a object in modperl

2020-09-13 Thread Mithun Bhattacharya
Haha I can't answer that - I work with systems which are always up. We have users working across the globe so there is no non-active time. In my case I would have to throw an independent cache (my current choice is REDIS but you could chose a DB_File for all I know) and refresh it as needed - IANA

Re: cache a object in modperl

2020-09-13 Thread Wesley Peng
Mithun Bhattacharya wrote: Does IANA have an easy way of determining whether there is an update since a certain date ? I was thinking it might make sense to just run a scheduled job to monitor for update and then restart your service or refresh your local cache depending upon how you solve i

Re: cache a object in modperl

2020-09-13 Thread Mithun Bhattacharya
So how flexible are you with your service restart and how frequently do you wish to update your cache ? Does IANA have an easy way of determining whether there is an update since a certain date ? I was thinking it might make sense to just run a scheduled job to monitor for update and then restart

Re: cache a object in modperl

2020-09-13 Thread Wesley Peng
Hello Mithun Bhattacharya wrote: How frequently do you wish to refresh the cache ? if you do in startup then your cache refresh is tied to the service restart which might not be ideal or feasible. I saw recent days IANA has updated their database on date of: 2020.09.09 2020.09.13 So I assum

Re: cache a object in modperl

2020-09-13 Thread Mithun Bhattacharya
he database loaded and be serving requests at the > same time. If you want to go this way you might want to also add a > MaxRequestsPerChild directive to your apache config to make sure that > you're children die and get refreshed on the regular, if you don't already > have one. > >

Re: cache a object in modperl

2020-09-13 Thread Adam Prime
ed and be serving requests at the same time. >> If you want to go this way you might want to also add a MaxRequestsPerChild >> directive to your apache config to make sure that you're children die and >> get refreshed on the regular, if you don't already have one. >> Ad

Re: cache a object in modperl

2020-09-13 Thread Wesley Peng
0 10:51 PM, Wesley Peng wrote: Hello I am not so familiar with modperl. For work requirement, I need to access IANA TLD database. So I wrote this perl module: https://metacpan.org/pod/Net::IANA::TLD But, for each new() in the module, the database file will be downloaded from IANA's webs

Re: cache a object in modperl

2020-09-13 Thread Adam Prime
.  If you want to go this way you might want to also add a MaxRequestsPerChild directive to your apache config to make sure that you're children die and get refreshed on the regular, if you don't already have one. Adam On 9/13/2020 10:51 PM, Wesley Peng wrote: Hello I am not

Re: cache a object in modperl

2020-09-13 Thread Mithun Bhattacharya
Your cache would have to be independent of mod_perl - I would suggest saving to a REDIS instance ? On Sun, Sep 13, 2020 at 9:51 PM Wesley Peng wrote: > Hello > > I am not so familiar with modperl. > > For work requirement, I need to access IANA TLD database. > > So I w

cache a object in modperl

2020-09-13 Thread Wesley Peng
Hello I am not so familiar with modperl. For work requirement, I need to access IANA TLD database. So I wrote this perl module: https://metacpan.org/pod/Net::IANA::TLD But, for each new() in the module, the database file will be downloaded from IANA's website. I know this is p

Re: ModPerl::RegistryLoader::finfo fails on Windows possibly due to lack of permissions.

2019-08-20 Thread Thorsten Schöning
Guten Tag Steve Hay, am Montag, 19. August 2019 um 14:37 schrieben Sie: > I will need to get a new Apache-Test released with the dot-in-INC fix > included, and then I'm back on track for getting 2.0.11 RC1 out :-) That's great news, thanks! Mit freundlichen Grüßen, Thorsten Schöning -- Thorst

Re: ModPerl::RegistryLoader::finfo fails on Windows possibly due to lack of permissions.

2019-08-19 Thread Steve Hay
onsidering changing FINFO_NORM in RegistryLoader than? I > don't see any usage of groups and stuff like that whcih might not be > available using plain stat. > Sorry for the very slow response on this. I wasn't seeing any timeout, just test failures in t\apr-ext\finfo.t and t

Re: ModPerl::RegistryLoader::finfo fails on Windows possibly due to lack of permissions.

2019-07-31 Thread Thorsten Schöning
Guten Tag Steve Hay, am Mittwoch, 31. Juli 2019 um 19:48 schrieben Sie: > I ran into this myself recently. Do you see anything like a timeout happening as well or is your test app failing fast? > https://bz.apache.org/bugzilla/show_bug.cgi?id=51560 At least in my case I'm not using any Active D

Re: ModPerl::RegistryLoader::finfo fails on Windows possibly due to lack of permissions.

2019-07-31 Thread Steve Hay
d 848] > > APR::Finfo::stat: (70008) Partial results are valid but processing is > > incomplete at C:\\Program Files\\Apache Software > > Foundation\\mod_perl\\Current\\Perl64\\site\\lib/ModPerl/RegistryLoader.pm > > line 119Compilation failed in require at (eval 2) line 1.\n &g

ModPerl::RegistryLoader::finfo fails on Windows possibly due to lack of permissions.

2019-07-31 Thread Thorsten Schöning
; Foundation\\mod_perl\\Current\\Perl64\\site\\lib/ModPerl/RegistryLoader.pm > line 119Compilation failed in require at (eval 2) line 1.\n I've debugged this further and found that the problem is the current implementation of "finfo". Replacing usage of FINFO_NORM with FINFO_MIN make

modperl env with docker

2019-01-14 Thread jeffwpeng
Hello, do you know if there is a docker image for modperl integrated development/running environment? thank you.

Re: Trouble compiling modperl with FreeBSD11

2017-08-31 Thread John D Groenveld
In message , jbiskofski writes: >Thanks John, unfortunately same result. $ ln -s /usr/local/bin/gmake /tmp/bin/make $ env PATH=/tmp/bin:/usr/local/perl-5.26.0/bin:/usr/local/apache/bin:${PATH} \ make test But it looks like you can avoid that fugliness: $ env PATH=/usr/local/perl-5.26.0/bin:/usr/

Re: Trouble compiling modperl with FreeBSD11

2017-08-31 Thread jbiskofski
Thanks John, unfortunately same result. Even though I really want the newest Perl, I tried with 5.24 and 5.22 , but still I always got the same result on 5.22, 5.24 and 5.26 gmake[1]: Leaving directory '/usr/local/src/mod_perl-2.0.10/ModPerl-Registry' gmake[1]: Entering directory &

Re: Trouble compiling modperl with FreeBSD11

2017-08-31 Thread John D Groenveld
In message , jbiskofski writes: >*Inspecting the FreeBSD port file I see that it needs gmake instead of >make, so I tried this :* > >perl Makefile.PL MP_APXS=/usr/local/apache/bin/apxs MAKE=gmake >MP_NO_THREADS=1 >gmake > >*That also did not work, but the error was different :* The quick fugly ha

Re: Trouble compiling modperl with FreeBSD11

2017-08-30 Thread jbiskofski
*Inspecting the FreeBSD port file I see that it needs gmake instead of > make, so I tried this :* > > perl Makefile.PL MP_APXS=/usr/local/apache/bin/apxs MAKE=gmake > MP_NO_THREADS=1 > gmake > > *That also did not work, but the error was different :* > > cp lib/ModPerl/PerlR

Re: Trouble compiling modperl with FreeBSD11

2017-08-30 Thread jbiskofski
t the error was different :* cp lib/ModPerl/PerlRunPrefork.pm ../blib/lib/ModPerl/PerlRunPrefork.pm gmake[1]: Leaving directory '/usr/local/src/mod_perl-2.0.10/ModPerl-Registry' gmake[1]: Entering directory '/usr/local/src/mod_perl-2.0.10/WrapXS' make[2]: don't know how to ma

Re: Trouble compiling modperl with FreeBSD11

2017-08-30 Thread John D Groenveld
In message , jbiskofski writes: >FreeBSD servers. Its been a few years since I've been able to compile >mod-perl in FreeBSD. Everytime I need a new webserver I need to install >FreeBSD9 and Perl 5.22. This has gradually been causing me more and more >problems with server maintenance. Im hoping som

Re: Trouble compiling modperl with FreeBSD11

2017-08-30 Thread Randolf Richardson
one, > I work at a company where we do all our development under ModPerl and > FreeBSD servers. Its been a few years since I've been able to compile > mod-perl in FreeBSD. Everytime I need a new webserver I need to install > FreeBSD9 and Perl 5.22. This has gradually been causing

Trouble compiling modperl with FreeBSD11

2017-08-30 Thread jbiskofski
Hey everyone, I work at a company where we do all our development under ModPerl and FreeBSD servers. Its been a few years since I've been able to compile mod-perl in FreeBSD. Everytime I need a new webserver I need to install FreeBSD9 and Perl 5.22. This has gradually been causing me more and

Re: modperl for httpd 2.4? Yes...

2017-06-23 Thread Peng Yonghua
Thanks for kind info, Randolf. On 2017/6/23 星期五 23:56, Randolf Richardson wrote: Yes, both ModPerl 2.0 and Apache HTTPd v2.4 are in active development. Please note that there are many different Apache HTTPd modules that have their own version numbers that are not in lockstep

Re: modperl for httpd 2.4?

2017-06-23 Thread Steve Hay
On 23 June 2017 at 10:05, Peng Yonghua wrote: > Hi, > > Apache httpd has get upgraded to 2.4.26. > But modperl is still in 2.0 branch. > Is it still in active development? thanks. > Support for httpd-2.4 was added in modperl-2.0.9, released in June 2015.

Re: modperl for httpd 2.4? Yes...

2017-06-23 Thread Randolf Richardson
Yes, both ModPerl 2.0 and Apache HTTPd v2.4 are in active development. Please note that there are many different Apache HTTPd modules that have their own version numbers that are not in lockstep with Apache's HTTPd server version numbers. Also, it's important to

modperl for httpd 2.4?

2017-06-23 Thread Peng Yonghua
Hi, Apache httpd has get upgraded to 2.4.26. But modperl is still in 2.0 branch. Is it still in active development? thanks. -- We are hiring: http://ml.dnsbed.com/

Re: Undefined subroutine &UNIVERSAL::ref::_hook called at /ModPerl/RegistryCooker.pm line 288

2017-06-17 Thread Vincent Veyron
On Fri, 16 Jun 2017 11:59:14 -0700 t...@ketro.com wrote: > Hey there, I'm getting random but sequential internal server errors, > which Apache logs showing: > > Undefined subroutine &UNIVERSAL::ref::_hook called at > /usr/local/lib/perl5/site_perl/5.24.1/x86_64-li

Undefined subroutine &UNIVERSAL::ref::_hook called at /ModPerl/RegistryCooker.pm line 288

2017-06-16 Thread to
Hey there, I'm getting random but sequential internal server errors, which Apache logs showing: Undefined subroutine &UNIVERSAL::ref::_hook called at /usr/local/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm line 288 After refreshing the browser, the e

Fwd: modperl Digest 16 Jun 2017 08:02:57 -0000 Issue 3266

2017-06-16 Thread Cris Shupp
perl module seems to not even run in that case. Thanks, Cris On Fri, Jun 16, 2017 at 4:02 AM, wrote: > > modperl Digest 16 Jun 2017 08:02:57 - Issue 3266 > > Topics (messages 64692 through 64693) > &g

Re: Modperl as backend for mobile apps

2016-10-31 Thread John Dunlap
We're doing that but, for whatever reason, the only way we were able to get apache to return JSON instead of HTML was in assbackwards mode On Mon, Oct 31, 2016 at 10:46 AM, Adam Prime wrote: > On 16-10-31 10:34 AM, John Dunlap wrote: > >> We do this by processing all requests in an eval block an

Re: Modperl as backend for mobile apps

2016-10-31 Thread Adam Prime
On 16-10-31 10:34 AM, John Dunlap wrote: We do this by processing all requests in an eval block and putting Apache into assbackwards mode so that we can send a 500 response with a JSON response body You can also do it with $r->custom_response[1] from within your mod_perl code itself. https:/

Re: Modperl as backend for mobile apps

2016-10-31 Thread John Dunlap
t; >> We are using Apache2-ModPerl for the backend of a mobile app and would >> like to switch off >> the standard ErrorDocuments in Apache2. Is this possible? >> >> > Have a look here : > http://httpd.apache.org/docs/2.4/mod/core.html#errordocument > > I

Re: Modperl as backend for mobile apps

2016-10-31 Thread A. Warnier
On 31.10.2016 10:26, Michel Jansen wrote: Goodmorning, We are using Apache2-ModPerl for the backend of a mobile app and would like to switch off the standard ErrorDocuments in Apache2. Is this possible? Have a look here : http://httpd.apache.org/docs/2.4/mod/core.html#errordocument I

Modperl as backend for mobile apps

2016-10-31 Thread Michel Jansen
Goodmorning, We are using Apache2-ModPerl for the backend of a mobile app and would like to switch off the standard ErrorDocuments in Apache2. Is this possible? Thanks in advance, Michel

Re: WELCOME to modperl@perl.apache.org

2016-10-03 Thread André Warnier
e. See here : https://perl.apache.org/maillist/modperl.html#Searchable_Archives But with a subject like "Welcome to modperl", there is not a big chance that anyone would find this message, or the future responses to it. The other reason is : people subscribed to this list, receive these messag

Re: WELCOME to modperl@perl.apache.org

2016-10-03 Thread SUZUKI Arthur
, nor with networking constraints, we think it is due to the cache refresh mechanism. The problem occurs at random times, with a probability of around 1/50 queries (empirical data). Is there any configuration option which could help? Our current httpd.conf contains the following: PerlModu

[request] Mogilefs modperl handler

2016-08-31 Thread Jaxson Peng
Nginx version higher than 1.0.0. The original author seems have no interest updating it. As an alternative, can anyone write a modperl handler for this purpose? That would be great for mogilefs community. Thanks.

Re: which framework is best suitable for modperl?

2016-07-25 Thread James Smith
On 7/20/2016 4:04 PM, Steven Lembark wrote: On Wed, 20 Jul 2016 11:55:24 +0800 yhp...@orange.fr wrote: Though I have written several handlers using mp2, but for further web development under modperl, what framework do you suggest to go with? Q: What do you mean by "framework"?

Re: write handlers with C or modperl?

2016-07-22 Thread Hendrik Schumacher
rnier (tomcat): On 22.07.2016 11:00, yhp...@orange.fr wrote: Hello, We have some handlers which were written by modperl for API endpoints. yes developing a apache handler with modperl is so easy and quick. but for better performance we also consider the C handler. (one of the APIs has got 1,50

Re: write handlers with C or modperl?

2016-07-22 Thread yhpeng
yes I totally agree with you, modperl is also perl, it has the big advantage of using CPAN. for example, we have used these modules in the project, Data::Validate::Domain Data::Validate::Email Data::Validate::IP I don't think they are easy to port into C language. So perl is great, modpe

Re: write handlers with C or modperl?

2016-07-22 Thread tomcat
On 22.07.2016 11:00, yhp...@orange.fr wrote: Hello, We have some handlers which were written by modperl for API endpoints. yes developing a apache handler with modperl is so easy and quick. but for better performance we also consider the C handler. (one of the APIs has got 1,500,000 accesses by

write handlers with C or modperl?

2016-07-22 Thread yhpeng
Hello, We have some handlers which were written by modperl for API endpoints. yes developing a apache handler with modperl is so easy and quick. but for better performance we also consider the C handler. (one of the APIs has got 1,500,000 accesses by unique clients) Do you think if it's val

Re: which framework is best suitable for modperl?

2016-07-20 Thread Steven Lembark
On Wed, 20 Jul 2016 11:55:24 +0800 yhp...@orange.fr wrote: > Though I have written several handlers using mp2, but for further web > development under modperl, what framework do you suggest to go with? Q: What do you mean by "framework"? > (I have few experience on Dancer,

Re: which framework is best suitable for modperl?

2016-07-20 Thread Adam Prime
On 16-07-19 11:55 PM, yhp...@orange.fr wrote: Though I have written several handlers using mp2, but for further web development under modperl, what framework do you suggest to go with? (I have few experience on Dancer, which I don't think work together with MP). thanks. Anything built o

which framework is best suitable for modperl?

2016-07-19 Thread yhpeng
Though I have written several handlers using mp2, but for further web development under modperl, what framework do you suggest to go with? (I have few experience on Dancer, which I don't think work together with MP). thanks.

FYI: ModPerl and APR with Apache HTTPd v2.4 on "pkgin" in the NetBSD 7 environment

2015-12-23 Thread Randolf Richardson
For anyone who wants to use ModPerl and APR with Apache HTTPd v2.4 on NetBSD 7 (installed via "pkgin"), this Problem Report that I submitted to the NetBSD web site will probably be of interest to you: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?nu

Re: File Corrupt when download with ModPerl scripts

2015-02-05 Thread André Warnier
nd then download them with a modperl script using File::Read or File::Slurp. The images are not really broken but they get blurred and dont look like before they are uploaded. When i download them directly from the webserver directory where they are stored they are ok. I have also tried the s

Re: File Corrupt when download with ModPerl scripts

2015-02-05 Thread Vincent Veyron
On Wed, 04 Feb 2015 20:22:52 +0100 Michel Jansen wrote: > Hi There, > > Somehow images get corrupted when i read and then download them with a > modperl script using File::Read or File::Slurp. The images are not > really broken but they get blurred and dont look like

File Corrupt when download with ModPerl scripts

2015-02-04 Thread Michel Jansen
Hi There, Somehow images get corrupted when i read and then download them with a modperl script using File::Read or File::Slurp. The images are not really broken but they get blurred and dont look like before they are uploaded. When i download them directly from the webserver directory where

Re: alias command in modperl environment

2012-12-19 Thread Feng He
Thanks a lot. 于 2012-12-19 23:02, Andy Colson 写道: On 12/19/2012 2:40 AM, Feng He wrote: Hello, ServerAdmin x...@yyy.com ServerName example.com PerlModule Apache::DBI PerlPostConfigRequire /path/to/startup.pl SetHandler modperl

Re: alias command in modperl environment

2012-12-19 Thread Andy Colson
On 12/19/2012 2:40 AM, Feng He wrote: Hello, ServerAdmin x...@yyy.com ServerName example.com PerlModule Apache::DBI PerlPostConfigRequire /path/to/startup.pl SetHandler modperl PerlResponseHandler Handler1

Re: alias command in modperl environment

2012-12-19 Thread André Warnier
Feng He wrote: Hello, ServerAdmin x...@yyy.com ServerName example.com PerlModule Apache::DBI PerlPostConfigRequire /path/to/startup.pl SetHandler modperl PerlResponseHandler Handler1 SetHandler

Re: alias command in modperl environment

2012-12-19 Thread Jie Gao
Raise loglevel to debug and see what you get in the log then. -Jie * Feng He wrote: > Date: Wed, 19 Dec 2012 17:05:20 +0800 > From: Feng He > To: Jie Gao > CC: modperl@perl.apache.org > Subject: Re: alias command in modperl environment > User-Agent: Mozilla/5.0 (Windows NT 5

Re: alias command in modperl environment

2012-12-19 Thread Feng He
于 2012-12-19 16:47, Jie Gao 写道: What's the error message in your errlog.log? it simply said access reject.

Re: alias command in modperl environment

2012-12-19 Thread Jie Gao
What's the error message in your errlog.log? -Jie Please think of our environment and only print this e-mail if necessary. * Feng He wrote: > Date: Wed, 19 Dec 2012 16:40:13 +0800 > From: Feng He > To: modperl@perl.apache.org > Subject: alias command in modperl environ

alias command in modperl environment

2012-12-19 Thread Feng He
Hello, ServerAdmin x...@yyy.com ServerName example.com PerlModule Apache::DBI PerlPostConfigRequire /path/to/startup.pl SetHandler modperl PerlResponseHandler Handler1 SetHandler modperl

Re: Soulution maybe? for Re: Connection aborted was ModPerl::Util::exit: (120000) at Carp.pm line 590

2012-11-29 Thread André Warnier
Dave Morgan wrote: Hi All, Short summary, original problem ModPerl::Util::exit: (12) exit was called at /usr/share/perl5/CGI/Carp.pm line 590 after hacking out Carp "Software caused connection abort." at 3 different places in our code The code in question is e

Soulution maybe? for Re: Connection aborted was ModPerl::Util::exit: (120000) at Carp.pm line 590

2012-11-29 Thread Dave Morgan
Hi All, Short summary, original problem ModPerl::Util::exit: (12) exit was called at /usr/share/perl5/CGI/Carp.pm line 590 after hacking out Carp "Software caused connection abort." at 3 different places in our code The code in question is essentially

Re: Connection aborted was ModPerl::Util::exit: (120000) exit was called at /usr/share/perl5/CGI/Carp.pm line 590

2012-11-14 Thread André Warnier
Dave Morgan wrote: Original Message Thank you Andre, On 31/10/12 01:58 PM, André Warnier wrote: > Dave Morgan wrote: >> How do I find out where the following call(s) are made from? > > See http://search.cpan.org/~dom/perl-5.14.3/lib/Carp.pm > or by including the string -M

Connection aborted was ModPerl::Util::exit: (120000) exit was called at /usr/share/perl5/CGI/Carp.pm line 590

2012-11-14 Thread Dave Morgan
Original Message Thank you Andre, On 31/10/12 01:58 PM, André Warnier wrote: > Dave Morgan wrote: >> How do I find out where the following call(s) are made from? > > See http://search.cpan.org/~dom/perl-5.14.3/lib/Carp.pm > or by including the string -MCarp=verbose in the PERL5

Re: ModPerl::Util::exit: (120000) exit was called at /usr/share/perl5/CGI/Carp.pm line 590

2012-10-31 Thread Dave Morgan
Thank you Andre, On 31/10/12 01:58 PM, André Warnier wrote: Dave Morgan wrote: How do I find out where the following call(s) are made from? See http://search.cpan.org/~dom/perl-5.14.3/lib/Carp.pm or by including the string -MCarp=verbose in the PERL5OPT environment variable. Exactly what I

Re: ModPerl::Util::exit: (120000) exit was called at /usr/share/perl5/CGI/Carp.pm line 590

2012-10-31 Thread André Warnier
Dave Morgan wrote: Hi All. We moved our software stack to mod-perl2 six months ago and have been steadily cleaning up warnings and such. We have had problems with warning messages from regex's showing up without time information. The following issue appears similar. How do I find out where t

Re: ModPerl::Util::exit: (120000) exit was called at /usr/share/perl5/CGI/Carp.pm line 590

2012-10-31 Thread Andy Colson
/html/8153.html I don't think this is a mod_perl message. I'd bet its an apache message. Do you use something like FireBug's net panel to watch all the different requests? I'll bet one of the requests if for 8153.html, and I'll bet it's getting a 404 not found

  1   2   3   4   5   6   7   8   9   10   >