Re: Question about deployment of math computing

2020-08-07 Thread Ruben Safir
On Thu, Aug 06, 2020 at 10:10:38PM -0500, Mithun Bhattacharya wrote: > Ruben this conversation had nothing to do with any specific AI use - since > we did not ask to be spammed with your ethics opinion could you please stop ***Boink*** that is wrong. If you want to discuss the destructive use of

Re: Question about deployment of math computing

2020-08-06 Thread Ruben Safir
On Thu, Aug 06, 2020 at 10:10:38PM -0500, Mithun Bhattacharya wrote: > Ruben this conversation had nothing to do with any specific AI use - since > we did not ask to be spammed with your ethics opinion could you please stop > misusing the mod_perl forum for such activities ? So you are using modpe

Re: Question about deployment of math computing

2020-08-06 Thread Mithun Bhattacharya
Ruben this conversation had nothing to do with any specific AI use - since we did not ask to be spammed with your ethics opinion could you please stop misusing the mod_perl forum for such activities ? On Thu, Aug 6, 2020 at 9:00 PM Ruben Safir wrote: > On Wed, Aug 05, 2020 at 10:47:48AM -0500, M

Re: Question about deployment of math computing

2020-08-06 Thread Ruben Safir
On Wed, Aug 05, 2020 at 10:47:48AM -0500, Mithun Bhattacharya wrote: > Assuming that is genuine curiosity can we please not deviate from the topic > ? > > On Wed, Aug 5, 2020 at 6:19 AM Ruben Safir wrote: > > > On Wed, Aug 05, 2020 at 09:46:18AM +0800, Wesley Peng wrote: > > > Hi > > > > > > Mit

Re: Question about deployment of math computing

2020-08-05 Thread Ruben Safir
On Wed, Aug 05, 2020 at 10:47:48AM -0500, Mithun Bhattacharya wrote: > Assuming that is genuine curiosity can we please not deviate from the topic > ? IBM felt that way once. I think it is important to know what kind of aps we are developing, and for what uses.. You are aware of the broad use of

Re: Question about deployment of math computing

2020-08-05 Thread Mithun Bhattacharya
Assuming that is genuine curiosity can we please not deviate from the topic ? On Wed, Aug 5, 2020 at 6:19 AM Ruben Safir wrote: > On Wed, Aug 05, 2020 at 09:46:18AM +0800, Wesley Peng wrote: > > Hi > > > > Mithun Bhattacharya wrote: > > >Do you really need a webserver which is providing a blocki

Re: Question about deployment of math computing

2020-08-05 Thread Ruben Safir
On Wed, Aug 05, 2020 at 09:46:18AM +0800, Wesley Peng wrote: > Hi > > Mithun Bhattacharya wrote: > >Do you really need a webserver which is providing a blocking service ? > > yes, this is a prediction server, which would be deployed in PROD > environment, the client application would request the

Re: Question about deployment of math computing [EXT]

2020-08-05 Thread Mark Blackman
> > > The good thing about Apache is it's dynamic rescaling - which isn't as easy > with starman - if you have a large code base the spin up time for starman can > be quite large as it appears (to make it efficient) load in every bit of code > that the application needs - even if it is one

Re: Question about deployment of math computing [EXT]

2020-08-05 Thread Wesley Peng
James, James Smith wrote: The services which use apache/mod_perl work reliably and return data for these - the dancer/starman sometimes fail/hang as there are no backends to serve the requests or those backends timeout requests to the nginx/proxy (but still continue using resources). The team

RE: Question about deployment of math computing [EXT]

2020-08-05 Thread James Smith
So yes use starman for simple apps if you need to, but for complex stuff I find mod_perl setup more reliable. James -Original Message- From: Wesley Peng Sent: 05 August 2020 04:31 To: dc...@prosentient.com.au; modperl@perl.apache.org Subject: Re: Question about deploym

Re: Question about deployment of math computing

2020-08-04 Thread Wesley Peng
to. David Cook -Original Message- From: Wesley Peng Sent: Wednesday, 5 August 2020 1:31 PM To: dc...@prosentient.com.au; modperl@perl.apache.org Subject: Re: Question about deployment of math computing Hi dc...@prosentient.com.au wrote: That's interesting. After re-reading your ear

RE: Question about deployment of math computing

2020-08-04 Thread dcook
e day, it depends on the workload that you're trying to cater to. David Cook -Original Message- From: Wesley Peng Sent: Wednesday, 5 August 2020 1:31 PM To: dc...@prosentient.com.au; modperl@perl.apache.org Subject: Re: Question about deployment of math computing Hi dc...@prosen

Re: Question about deployment of math computing

2020-08-04 Thread Wesley Peng
Hi dc...@prosentient.com.au wrote: That's interesting. After re-reading your earlier email, I think that I misunderstood what you were saying. Since this is a mod_perl listserv, I imagine that the advice will always be to use mod_perl rather than starman? Personally, I'd say either option wo

RE: Question about deployment of math computing

2020-08-04 Thread dcook
perl starting with RHEL 8, although EPEL 8 now has mod_perl in it. Something to think about. David Cook -Original Message- From: Wesley Peng Sent: Wednesday, 5 August 2020 1:00 PM To: dc...@prosentient.com.au; modperl@perl.apache.org Subject: Re: Question about deployment

Re: Question about deployment of math computing

2020-08-04 Thread Wesley Peng
Hi dc...@prosentient.com.au wrote: If your app isn't human-facing, then I don't see why a little delay would be a problem? Our app is not human facing. The application by other department will request the result from our app via HTTP. The company has huge big-data stack deployed, such as

RE: Question about deployment of math computing

2020-08-04 Thread dcook
ur app isn't human-facing, then I don't see why a little delay would be a problem? David Cook -Original Message- From: Wesley Peng Sent: Wednesday, 5 August 2020 11:46 AM To: modperl@perl.apache.org Subject: Re: Question about deployment of math computing Hi Mithun Bhattac

Re: Question about deployment of math computing

2020-08-04 Thread Wesley Peng
Hi Mithun Bhattacharya wrote: Do you really need a webserver which is providing a blocking service ? yes, this is a prediction server, which would be deployed in PROD environment, the client application would request the prediction server for results as scores. You can think it as online rec

Re: Question about deployment of math computing

2020-08-04 Thread Mithun Bhattacharya
Do you really need a webserver which is providing a blocking service ? Assuming you are doing some sort of map reduce you would be better of creating a job queue and placing requests into it. You would have a separate consumer of the queue which could scale up or down depending upon how long the j

Re: New release of libapreq2 (Was: Re: Question about Apache 2.4 and libapreq2 (Apache2::Request))

2019-10-24 Thread Steve Hay
On Thu, 24 Oct 2019 at 15:50, wrote: > > On Wednesday 06 September 2017 08:23:12 Steve Hay wrote: > > On 19 January 2017 at 14:25, Issac Goldstand wrote: > > > That release was canceled due to lack of votes, > > Hello Issac! Have you released this version on cpan as trial release for > testing?

New release of libapreq2 (Was: Re: Question about Apache 2.4 and libapreq2 (Apache2::Request))

2019-10-24 Thread pali
On Wednesday 06 September 2017 08:23:12 Steve Hay wrote: > On 19 January 2017 at 14:25, Issac Goldstand wrote: > > That release was canceled due to lack of votes, Hello Issac! Have you released this version on cpan as trial release for testing? I have not found it on https://metacpan.org/releas

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-09-06 Thread Steve Hay
On 19 January 2017 at 14:25, Issac Goldstand wrote: > That release was canceled due to lack of votes, but regardless there was > very little effective difference between that and 2.13 - mostly around > tests, docs and build scripts. 2.13 should run just fine on 2.4 Somehow, it only came to my at

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-13 Thread William A Rowe Jr
lliam A Rowe Jr > To: httpd ; modperl@perl.apache.org > Cc: JW > Sent: Monday, March 13, 2017 4:53 PM > > Subject: Re: Question about Apache 2.4 and libapreq2 (Apache2::Request) > > This has occurred in multiple contexts, including throwing segfaults in the > modperl test

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-13 Thread JW
To: httpd ; modperl@perl.apache.org Cc: JW Sent: Monday, March 13, 2017 4:53 PM Subject: Re: Question about Apache 2.4 and libapreq2 (Apache2::Request) This has occurred in multiple contexts, including throwing segfaults in the modperl test framework (connection handler, so no req_rec.) Wondering

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-13 Thread William A Rowe Jr
13, 2017 at 6:28 PM, JW wrote: > > From: William A Rowe Jr > To: JW > Cc: "modperl@perl.apache.org" > Sent: Friday, March 10, 2017 1:44 PM > Subject: Re: Question about Apache 2.4 and libapreq2 (Apache2::Request) > > On Thu,

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-10 Thread William A Rowe Jr
On Thu, Mar 9, 2017 at 9:53 PM, JW wrote: > > It's been over a month since moving to Apache 2.4. It was fairly > straightforward and required > little code to be updated, most of it Apache config. Everything runs as it > did before the update and I've > had no problems. The one function that didn'

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-10 Thread Jie Gao
* JW wrote: > This mod_perl server is behind a proxy on the same machine. Under Apache 2.2, > $r->remote_ip() > returned 127.0.0.1 and not the user's actual IP.  So, a > PerlPostReadRequestHandler extracted the user's > IP address from the X-Forwarded-For header and set it with $r->remote_ip(

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-09 Thread Jie Gao
* JW wrote: > Date: Fri, 10 Mar 2017 03:53:27 + > From: JW > To: "modperl@perl.apache.org" > Subject: Re: Question about Apache 2.4 and libapreq2 (Apache2::Request) > > Hi, > Back in January I was planning on moving to Apache 2.4+mod_perl+libapreq2 >

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-09 Thread JW
Hi, Back in January I was planning on moving to Apache 2.4+mod_perl+libapreq2 from Apache 2.2+mod_perl+libapreq2. I'd asked if anyone had problems doing a similar move -- the answer was no. Thank you again to everyone who replied my earlier post.  It's been over a month since moving to Apache

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-01-20 Thread JW
On Wed, 18 Jan 2017 20:06:41 + (UTC) JW wrote: >  before I make a permanent switch to Apache 2.4, I was wondering if anyone >doing a similar upgrade experienced problems using libapreq2 and what >alternative(s) they chose. > You are more likely to encounter problems with Apache t

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-01-19 Thread Issac Goldstand
That release was canceled due to lack of votes, but regardless there was very little effective difference between that and 2.13 - mostly around tests, docs and build scripts. 2.13 should run just fine on 2.4 Issac On 1/19/2017 6:30 AM, Jie Gao wrote: There was a new release candidate over

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-01-19 Thread Vincent Veyron
On Wed, 18 Jan 2017 20:06:41 + (UTC) JW wrote: > before I make a permanent switch to Apache 2.4, I was wondering if anyone > doing a similar upgrade experienced problems using libapreq2 and what > alternative(s) they chose. > You are more likely to encounter problems with Apache than li

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-01-18 Thread Jie Gao
There was a new release candidate over a month ago, and it is available at https://home.apache.org/~issac/libapreq2-2.14.tar.gz . Regards, Jie * JW wrote: > Date: Wed, 18 Jan 2017 20:06:41 + > From: JW > To: "modperl@perl.apache.org" > Subject: Question about Apache 2.4 and libapreq2

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-01-18 Thread Joseph Schaefer
We've been using apreq with 2.4 for two years without issue at work. I can't imagine why anyone would have a problem with it on any version of httpd 2.x. Sent from my iPhone > On Jan 18, 2017, at 3:06 PM, JW wrote: > > > Hi, > > I currently use Apache 2.2, mod_perl and libapreq2 (for Apache

Re: question on Apache2_4::AuthCookie

2016-04-07 Thread tomcat
On 07.04.2016 21:12, Lathan Bidwell wrote: Hi. I have (a long time ago) created an AAA module based originally on Apache2::AuthCookie (a copy and rewrite, not a sub-class). Now I need to adapt this to Apache 2.4. I have read all the docs at https://metacpan.org/source/MSCHOUT/Apache-AuthCookie-3

Re: question on Apache2_4::AuthCookie

2016-04-07 Thread Lathan Bidwell
> > Hi. > I have (a long time ago) created an AAA module based originally on > Apache2::AuthCookie (a copy and rewrite, not a sub-class). Now I need to > adapt this to Apache 2.4. > I have read all the docs at > https://metacpan.org/source/MSCHOUT/Apache-AuthCookie-3.24/lib/Apache2_4/AuthCookie.pm,

Re: question on Apache2_4::AuthCookie

2016-04-07 Thread Michael Schout
On 4/6/16 11:51 AM, A. Warnier wrote: > I could of course hack the values of these constants under 2.4, and use > their values directly in my module, but that is rather "inelegant". If you insist on using the same module/source for both 2.4 and 2.2 I do not see any other option. The AUTHZ_GRANTE

RE: Question on how execution order of Mod_Persl

2013-02-14 Thread Timothy Gallagher
] Sent: Wednesday, February 06, 2013 12:42 PM To: mod_perl list Subject: Re: Question on how execution order of Mod_Persl Timothy Gallagher wrote: > Hello all, > I have a question for you that I am needed some help/guidance on. I am not > sure if this is a question for Apache, perl or mo

Re: Question on how execution order of Mod_Persl

2013-02-06 Thread André Warnier
Timothy Gallagher wrote: Hello all, I have a question for you that I am needed some help/guidance on. I am not sure if this is a question for Apache, perl or mod_perl, I believe this is the correct place to ask. I am building a reverse proxy server that authenticates a user via the client SS

Re: question on sub-requests

2012-11-14 Thread Torsten Förtsch
On 11/14/2012 03:53 PM, André Warnier wrote: > The tidbit above makes me think about a possibility to solve another > issue that happens from time to time : some users browsers that are NOT > refreshing their copies of stylesheets or javascript libraries, even > though they have been modified. > No

Re: question on sub-requests

2012-11-14 Thread André Warnier
Torsten Förtsch wrote: On 11/14/2012 02:48 PM, André Warnier wrote: I my particular case, the sendfile() solution above works fine, because I am sure in this case that no additional processing needs to take place on those static pages. What I meant in particular was the HTTP code 304 generatio

Re: question on sub-requests

2012-11-14 Thread Torsten Förtsch
On 11/14/2012 02:48 PM, André Warnier wrote: > I my particular case, the sendfile() solution above works fine, because > I am sure in this case that no additional processing needs to take place > on those static pages. What I meant in particular was the HTTP code 304 generation. With your solution

Re: question on sub-requests

2012-11-14 Thread André Warnier
Torsten Förtsch wrote: On 11/13/2012 07:17 PM, André Warnier wrote: I didn't want to take too much time of anyone before, which is why I somewhat oversimplified the issue. But considering the traffic on the lis os low, maybe you want to hear the whole story after all. The basic case is this :

Re: question on sub-requests

2012-11-14 Thread Torsten Förtsch
On 11/13/2012 07:17 PM, André Warnier wrote: > I didn't want to take too much time of anyone before, which is why I > somewhat oversimplified the issue. But considering the traffic on the > lis os low, maybe you want to hear the whole story after all. > > The basic case is this : a bit aside from

Re: question on sub-requests

2012-11-13 Thread gAzZaLi
Sure thing, anytime. You raise valid points and are in the best position to know what kind of tradeoffs to make. Simpler handler requires less processing and memory but increased number of requests. I said what I did because I'm working on a single page app. with heavy use of Javascript (Go

Re: question on sub-requests

2012-11-13 Thread André Warnier
Torsten Förtsch wrote: On 11/12/2012 06:19 PM, André Warnier wrote: In response to some request URLs, I have to compose a response structured as follows : - a html frameset document with two frames - in the 1st frame, the result of another HTTP request to the same Apache server. This URI of t

Re: question on sub-requests

2012-11-13 Thread Torsten Förtsch
On 11/12/2012 06:19 PM, André Warnier wrote: > In response to some request URLs, I have to compose a response > structured as follows : > > - a html frameset document with two frames > - in the 1st frame, the result of another HTTP request to the same > Apache server. > This URI of this HTTP req

Re: question on sub-requests

2012-11-13 Thread André Warnier
Hi. Once again, thanks. Your javascript/onLoad idea sounds good, and would fit my needs. I'll give it a spin. There is one thing that bothers me (and it is the same in my own solution outlined below) : what previously was one HTTP request and one response, now becomes 3 HTTP requests and 3 r

Re: question on sub-requests

2012-11-12 Thread André Warnier
Hi. Thank you for your response. You are not missing the point of my questions. But I do not really have control over the requests. Or rather, I do, but there are hundreds of pages containing hundreds of similar (but not equal) links, and it is in the practice not doable to edit them all.. And

Re: question on sub-requests

2012-11-12 Thread gAzZaLi
Q1: At first glance, using a mod_perl handler to serve an existing static html file seems like overkill. Couldn't Apache respond (RedirectMatch?) with a common frameset html file with some Javascript, which then fills the first frame with the response to mangle.pl and the second frame with t

Re: Question about caching

2012-03-13 Thread Dave Hodgkinson
On 13 Mar 2012, at 21:32, Perrin Harkins wrote: > > Turn on the template caching. It's basically free and will speed > things up. Caching at the page level is the ultimate in terms of > speed, but it will only be possible for pages that are not dynamic on > a per-user basis. Template caching

Re: Question about caching

2012-03-13 Thread Perrin Harkins
On Tue, Mar 13, 2012 at 3:51 PM, Dan Axtell wrote: > I understand the value of having one light-weight server for static content, > and a reverse proxy back to a heavy-weight Apache with mod_perl, and I > understand I can use something like Varnish or mod_cache to add a caching > layer,  but I'm w

Re: Question about caching

2012-03-13 Thread Michael Peters
On 03/13/2012 03:51 PM, Dan Axtell wrote: The apps are mostly dynamic forms based on HTML::Template. H::T has some caching options but they seem more aimed at CGI users. I could convert to Template::Toolkit, which as I understand converts to compiled Perl code (which would presumably mean that

Re: Question about caching

2012-03-13 Thread C. Jon Larsen
Getting static assets (js, css, gfx) off your apache children is far more important than anything else for scaling up to lots of concurrent users IMHO. We use a pound load balancer to direct static reqs to nginx "cdn" and all dynamic requests to apache backends. Once you have that in place t

Re: [QUESTION mp2]creating own handler for mod_perl

2011-10-04 Thread Carla von Reitzenstein
André, thanks a lot for that great and detailed answer! It's like everyone says the support from this mailing list is perfect. >> - I do not understand the link between API and APR functions/methods >> (I am working on a Debian Server and really don't care for Windows) > > Can you clarify that q

Re: [QUESTION mp2]creating own handler for mod_perl

2011-10-03 Thread André Warnier
Carla von Reitzenstein wrote: Hi, for my diploma thesis I need to implement some of the WebDAV requests into my apache, to make a TWiki installation (an open-source wiki) WebDAV compatible. I know that there is a WebDAV module for the apache but when looking at the needed connection between the

Re: [QUESTION] Some tests fail on Debian

2011-01-28 Thread Alexander Aparzev
On 28.01.2011 12:07, Torsten Förtsch wrote: On Friday, January 28, 2011 11:42:46 Alexander Aparzev wrote: # now check the log and see if it contains 12 lines of 'pnotes are ...' ((12==$(grep 'pnotes are destroyed after cleanup passed' t/logs/error_log | wc -l)))&& echo ok Thank you Torsten.

Re: [QUESTION] Some tests fail on Debian

2011-01-28 Thread Torsten Förtsch
On Friday, January 28, 2011 11:42:46 Alexander Aparzev wrote: > > # now check the log and see if it contains 12 lines of 'pnotes are ...' > > ((12==$(grep 'pnotes are destroyed after cleanup passed' t/logs/error_log > > | wc -l)))&& echo ok > > Thank you Torsten. No, it doesn't. Don't know what

Re: [QUESTION] Some tests fail on Debian

2011-01-28 Thread Alexander Aparzev
On 28.01.2011 09:46, Torsten Förtsch wrote: # run the test t/TEST -verbose t/modperl/pnotes2.t # now check the log and see if it contains 12 lines of 'pnotes are ...' ((12==$(grep 'pnotes are destroyed after cleanup passed' t/logs/error_log | wc -l)))&& echo ok Thank you Torsten. No, it doe

Re: [QUESTION] Some tests fail on Debian

2011-01-28 Thread Torsten Förtsch
On Thursday, January 27, 2011 20:44:57 Alexander Aparzev wrote: > using Apache/2.2.9 (itk MPM) Just a guess, has anyone ever tested itk-MPM? However, perhaps it's only a matter of bad timing. pnotes2.t is one of mine, I think. It looks as follows: for my $i (1..12) { t_client_log_warn_is_exp

Re: [QUESTION] Some tests fail on Debian

2011-01-27 Thread Fred Moyer
My guess is that your 64 bit setup with ithreads is causing this error. Does anyone else here have 64 bit they can test with an ithreads enabled perl? On Thu, Jan 27, 2011 at 12:18 PM, Alexander Aparzev wrote: > On 27.01.2011 20:55, Fred Moyer wrote: >> >> On Thu, Jan 27, 2011 at 11:44 AM, Alexa

Re: [QUESTION] Some tests fail on Debian

2011-01-27 Thread Alexander Aparzev
On 27.01.2011 20:55, Fred Moyer wrote: On Thu, Jan 27, 2011 at 11:44 AM, Alexander Aparzev wrote: On 27.01.2011 20:19, Fred Moyer wrote: Can you run the failing tests with verbose mode and post the results here? ./t/TEST -verbose t/modperl/pnotes2.t Sure. Did it: [warning] setting ulim

Re: [QUESTION] Some tests fail on Debian

2011-01-27 Thread Fred Moyer
On Thu, Jan 27, 2011 at 11:44 AM, Alexander Aparzev wrote: > On 27.01.2011 20:19, Fred Moyer wrote: >> >> Can you run the failing tests with verbose mode and post the results here? >> >>  ./t/TEST -verbose t/modperl/pnotes2.t > > Sure. Did it: > > [warning] setting ulimit to allow core files > uli

Re: [QUESTION] Some tests fail on Debian

2011-01-27 Thread Alexander Aparzev
On 27.01.2011 20:19, Fred Moyer wrote: Can you run the failing tests with verbose mode and post the results here? ./t/TEST -verbose t/modperl/pnotes2.t Sure. Did it: [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /home/justme/sources/mod_perl-2.0.5-rc1/t/TE

Re: [QUESTION] Some tests fail on Debian

2011-01-27 Thread Fred Moyer
On Thu, Jan 27, 2011 at 11:25 AM, Alexander Aparzev wrote: > On 27.01.2011 18:08, Fred Moyer wrote: >>> I have a problem installing mod_perl. Some tests fail. > > Thank you for the hint, Fred. Gave it a try. Regrettably, the same result. > There is nothing unusual in t/logs/error_log either. Can

Re: [QUESTION] Some tests fail on Debian

2011-01-27 Thread Alexander Aparzev
On 27.01.2011 18:08, Fred Moyer wrote: Can you try the unofficial release candidate here? http://people.apache.org/~phred/mod_perl-2.0.5-rc1.tar.gz On Thu, Jan 27, 2011 at 6:39 AM, Alexander Aparzev wrote: Hi. I have a problem installing mod_perl. Some tests fail. Thank you for the hint,

Re: [QUESTION] Some tests fail on Debian

2011-01-27 Thread Fred Moyer
Can you try the unofficial release candidate here? http://people.apache.org/~phred/mod_perl-2.0.5-rc1.tar.gz On Thu, Jan 27, 2011 at 6:39 AM, Alexander Aparzev wrote: > Hi. > > I have a problem installing mod_perl. Some tests fail. > > Configuration: > > - mod_perl 2.0.4 > - Linux version 2.6.26

Re: question on installing perl modules

2011-01-25 Thread André Warnier
marco.mase...@softeco.it wrote: Hi André , use local::lib: http://search.cpan.org/~apeiron/local-lib-1.008001/ it nicely handles your issue. By the way, I tried to use local::lib "out of the box", and could not install it. I think it is because the Makefile relies on a GNU make, and the HPU

Re: question on installing perl modules

2011-01-23 Thread André Warnier
Octavian Rasnita wrote: Another solution might be to install Perl in your home directory where you have privileges, then to install any module for it. --Octavian - Original Message - From: "Adam Flott" To: Cc: "mod_perl list" Sent: Sunday, January 23, 2011

Re: question on installing perl modules

2011-01-23 Thread Octavian Rasnita
Another solution might be to install Perl in your home directory where you have privileges, then to install any module for it. --Octavian - Original Message - From: "Adam Flott" To: Cc: "mod_perl list" Sent: Sunday, January 23, 2011 11:00 PM Subject: Re: qu

Re: question on installing perl modules

2011-01-23 Thread Adam Flott
On Sun, 23 Jan 2011, André Warnier wrote: Adam Flott wrote: On Sun, 23 Jan 2011, André Warnier wrote: My problem : I am trying to install a CPAN module, from CPAN, into a "custom" location rather than the system perl locations. This is a hpux system where I have no root access, and in this

Re: question on installing perl modules

2011-01-23 Thread André Warnier
Adam Flott wrote: On Sun, 23 Jan 2011, André Warnier wrote: My problem : I am trying to install a CPAN module, from CPAN, into a "custom" location rather than the system perl locations. This is a hpux system where I have no root access, and in this case the specific module is XML::SAX. I don

Re: question on installing perl modules

2011-01-23 Thread Adam Flott
On Sun, 23 Jan 2011, André Warnier wrote: My problem : I am trying to install a CPAN module, from CPAN, into a "custom" location rather than the system perl locations. This is a hpux system where I have no root access, and in this case the specific module is XML::SAX. I don't know how to fix

Re: Question about Apache2::ServerUtil and PerlCleanupHandler

2008-12-05 Thread Kostas Chatzikokolakis
Thanks for the quick and prompt reply guys. > $s->push_handlers as well as $s->add_config modify the server > configuration object while $r->... modify the runtime request > configuration. The server methods are intended to be used only at > startup time (up to PerlPostConfig, perhaps PerlChild

Re: Question about Apache2::ServerUtil and PerlCleanupHandler

2008-12-05 Thread Torsten Foertsch
On Fri 05 Dec 2008, Kostas Chatzikokolakis wrote: > I'd like to ask what is the intended behaviour of >  Apache2::ServerUtil->server->push_handlers(PerlCleanupHandler => > ...) compared to >  Apache2::RequestUtil->request->push_handlers(PerlCleanupHandler => > ...) > > On my Ubuntu 8.10 (mod_perl 2

Re: Question about Apache2::ServerUtil and PerlCleanupHandler

2008-12-05 Thread André Warnier
Hi. Without being an expert, this is my 2 cent : Kostas Chatzikokolakis wrote: Hello, I'd like to ask what is the intended behaviour of Apache2::ServerUtil->server->push_handlers(PerlCleanupHandler => ...) compared to Apache2::RequestUtil->request->push_handlers(PerlCleanupHandler => ...) O

Re: Question about Modperl::Util::exit

2008-11-24 Thread Perrin Harkins
On Mon, Nov 24, 2008 at 2:52 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Can you do a "return" from a "require"-d file, and what does it do exactly ? Doing an exit from a file during a require() is not normally a problem. Try it. It's kind of a bad programming practice, but Perl will tolerate

Re: Question about Modperl::Util::exit

2008-11-24 Thread André Warnier
Perrin Harkins wrote: On Thu, Nov 20, 2008 at 4:50 PM, Bruce Johnson <[EMAIL PROTECTED]> wrote: This happens when the exit is triggered in the nested require file. which is code like this: # Check to see if the person was logged in, and if not go to login page and # pass the url and parameters

Re: Question about Modperl::Util::exit

2008-11-24 Thread Perrin Harkins
On Thu, Nov 20, 2008 at 4:50 PM, Bruce Johnson <[EMAIL PROTECTED]> wrote: > This happens when the exit is triggered in the nested require file. which is > code like this: > > # Check to see if the person was logged in, and if not go to login page and > # pass the url and parameters > if (!defined($

Re: Question about Modperl::Util::exit

2008-11-21 Thread André Warnier
Bruce Johnson wrote: We just moved some cgi scripts over from an ancient system to our new server running modperl. We have require files (that themselves have require files) that check cookies and login status for these scripts. If someone is not logged in, this triggers an exit our of one o

Re: question on downloading CGI

2008-09-08 Thread practicalperl
Thank you all so much. I have resolved the problems. On Sat, Sep 6, 2008 at 3:51 AM, <[EMAIL PROTECTED]> wrote: > Quoting [EMAIL PROTECTED]: > >> Hello, >> >> I want to generate a data file which should be downloaded by clients. >> Rather than generate this file and put it in a web dir and tell >

Re: question on downloading CGI

2008-09-05 Thread adam . prime
Quoting [EMAIL PROTECTED]: Hello, I want to generate a data file which should be downloaded by clients. Rather than generate this file and put it in a web dir and tell clients to download it, is there any way to generate the content dynamicly and put it to cients? I mean I don't want to generat

Re: question on downloading CGI

2008-09-05 Thread Torsten Foertsch
On Fri 05 Sep 2008, [EMAIL PROTECTED] wrote: > I want to generate a data file which should be downloaded by clients. > Rather than generate this file and put it in a web dir and tell > clients to download it, is there any way to generate the content > dynamicly and put it to cients? I mean I don't

Re: question on downloading CGI

2008-09-05 Thread Sean Davis
On Fri, Sep 5, 2008 at 12:09 PM, <[EMAIL PROTECTED]> wrote: > Hello, > > I want to generate a data file which should be downloaded by clients. > Rather than generate this file and put it in a web dir and tell > clients to download it, is there any way to generate the content > dynamicly and put it

Re: Question about open()

2008-02-11 Thread Perrin Harkins
On Feb 10, 2008 12:37 PM, Mag Gam <[EMAIL PROTECTED]> wrote: > I am trying to change DocumentRoot because, currently I am using open() to > load templates for my website. I have header, menu, footer in 3 seperate > files, and I generate content like that. It works fine now, just not too > dynamic

Re: Question about open()

2008-02-10 Thread Foo JH
I do keep my templates in other directories also. 1. If your directories are relative to the document root, and you can take advantage of this fact by rendering a variable to remember the template path. 2. If your template directories have nothing in common with the document root, then you can

Re: Question about open()

2008-02-10 Thread Mag Gam
Thanks for the quick response Perrin. I am trying to change DocumentRoot because, currently I am using open() to load templates for my website. I have header, menu, footer in 3 seperate files, and I generate content like that. It works fine now, just not too dynamic when I want to move the stuff

Re: Question about open()

2008-02-10 Thread Perrin Harkins
On Feb 10, 2008 12:24 PM, Mag Gam <[EMAIL PROTECTED]> wrote: > my $docroot = $r->document_root('/var/www/html/perl'); Why are you trying to change the DocumentRoot? - Perrin

Re: Question about open()

2008-02-10 Thread Mag Gam
I am taking the Apache2::Request method, and will integrate the DB solution as Chandra mentioned. #!/usr/bin/perl -w use strict; use CGI; use Apache2::Request; use Data::Dumper; print "Content-type: text/html\n\n"; my Apache2::Request $r = shift; my $docroot = $r->document_root('/var/www/html/p

Re: Question about open()

2008-02-07 Thread Chandrakumar Muthaiah
Perrin Harkins wrote: On Feb 6, 2008 10:06 PM, Mag Gam <[EMAIL PROTECTED]> wrote: Currently, when I open a file I have to use the absolute path (/var/www/appname/top.inc). Is it possible for me to use just 'top.inc'? You can either use DocumentRoot (http://perl.apache.org/docs/2.0/ap

Re: Question about open()

2008-02-07 Thread Perrin Harkins
On Feb 6, 2008 10:06 PM, Mag Gam <[EMAIL PROTECTED]> wrote: > Currently, when I open a file I have to use the > absolute path (/var/www/appname/top.inc). Is it possible for me to use just > 'top.inc'? You can either use DocumentRoot (http://perl.apache.org/docs/2.0/api/Apache2/RequestUtil.html#C_

Re: Question about open()

2008-02-07 Thread brett lee
Another option: my $HEADER= "$ENV{DOCUMENT_ROOT}/header.shtml"; - Original Message From: Roberto C. Sánchez <[EMAIL PROTECTED]> To: modperl@perl.apache.org Sent: Wednesday, February 6, 2008 8:10:08 PM Subject: Re: Question about open() On Wed, Feb 06, 2008

Re: Question about open()

2008-02-06 Thread Roberto C . Sánchez
On Wed, Feb 06, 2008 at 10:47:08PM -0500, Mag Gam wrote: > What is global.asa? > > Sorry, I am somewhat new at this... > My mistake. I am using Apache::ASP (which is built on mod_perl) for my pages. Sorry for the confusion. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/

Re: Question about open()

2008-02-06 Thread Mag Gam
What is global.asa? Sorry, I am somewhat new at this... On Feb 6, 2008 10:10 PM, Roberto C. Sánchez <[EMAIL PROTECTED]> wrote: > On Wed, Feb 06, 2008 at 10:06:05PM -0500, Mag Gam wrote: > > Hi All, > > > > I have been using mod_perl, and I have several perl-cgi files that use > the > > open().

Re: Question about open()

2008-02-06 Thread Roberto C . Sánchez
On Wed, Feb 06, 2008 at 10:06:05PM -0500, Mag Gam wrote: > Hi All, > > I have been using mod_perl, and I have several perl-cgi files that use the > open(). I use this function to open/include my header, footer, basically a > poor man template system. Currently, when I open a file I have to use the

Re: question on startup.pl overriding perl search path

2008-01-19 Thread c chan
-Original Message- >From: Adam Prime <[EMAIL PROTECTED]> >Sent: Jan 18, 2008 6:22 AM >To: c chan <[EMAIL PROTECTED]> >Cc: modperl@perl.apache.org >Subject: Re: question on startup.pl overriding perl search path > >c chan wrote: >> I use "PerlC

Re: question on startup.pl overriding perl search path

2008-01-18 Thread Adam Prime
c chan wrote: I use "PerlConfigRequire /var/www/html/mypath/startup.pl" in httpd.conf to recompile all the CGIs. Inside startup.pl, I added the line: use lib qw(. mylib); To me amazement, after all the CGI is precompiled, they start to look into the "." and "mylib" path for loading Perl Modu

Re: [Question] mod_perl2 W3C HTML Tidy handler location

2007-11-16 Thread Joseph Crotty
On Nov 16, 2007, at 7:27 PM, Jonathan Vanasco wrote: On Nov 16, 2007, at 6:13 PM, Fred Moyer wrote: I'm pretty sure you can use Apache::Clean as an output filter to do this. http://search.cpan.org/~geoff/Apache-Clean-2.00_7/ I believe the OP wanted the exact opposite I *hope* this is f

Re: [Question] mod_perl2 W3C HTML Tidy handler location

2007-11-16 Thread Joseph Crotty
On Nov 16, 2007, at 4:13 PM, Fred Moyer wrote: Joseph Crotty wrote: Want to set up tidy to automatically pretty print and indent HTML (i.e., post PHP processing) and show errors via a mod_perl handler, but not sure where to best do that? Output Filter? I'm pretty sure you can use Apache:

Re: [Question] mod_perl2 W3C HTML Tidy handler location

2007-11-16 Thread Jonathan Vanasco
On Nov 16, 2007, at 6:13 PM, Fred Moyer wrote: I'm pretty sure you can use Apache::Clean as an output filter to do this. http://search.cpan.org/~geoff/Apache-Clean-2.00_7/ I believe the OP wanted the exact opposite I *hope* this is for a dev-only use - as it would be really silly to tid

Re: [Question] mod_perl2 W3C HTML Tidy handler location

2007-11-16 Thread Fred Moyer
Joseph Crotty wrote: Want to set up tidy to automatically pretty print and indent HTML (i.e., post PHP processing) and show errors via a mod_perl handler, but not sure where to best do that? Output Filter? I'm pretty sure you can use Apache::Clean as an output filter to do this. http://searc

  1   2   3   >