Re: how to share data among modperl processes

2005-10-26 Thread Pratik
Instead of dealing with uninvited trouble with NFS or anything similar, using something like http://www.danga.com/memcached/ would be a better idea. Thanks, Pratik On 10/21/05, Jay Buffington <[EMAIL PROTECTED]> wrote: > Even if you are in a multiple server environment you should still

Re: enviroment Vars

2005-10-10 Thread Pratik
nvironment, for them to be available under Apache. For example, $ setenv Hello "World" $ httpd -f ~/local.conf Now if you want to use $ENV{"Hello"} under Apache, you will need to have following line in your apache configuration file ( local.conf here ) : PerlPassEnv Hello

Re: how to share data among modperl processes

2005-10-09 Thread Pratik
Unless you are running the application in multiple server environment, http://search.cpan.org/~robm/Cache-FastMmap-1.09/ would be the best choice. But probably you should read up on AJAX as well. It looks like AJAX can help you accomplish what you are trying to do here. Thanks, Pratik On 10/7/05

Re: mod_perl advocacy

2005-09-14 Thread Pratik
This was kinda funny. Security is a practice, not a feature. -Pratik On 9/13/05, JupiterHost.Net <[EMAIL PROTECTED]> wrote: > > > Octavian Rasnita wrote: > > > Hmm, sorry. I was just trying to think to something that might make perl > > more used than PHP. &g

Re: Losing ENV variables

2005-09-08 Thread Pratik
Have a look at http://perl.apache.org/docs/1.0/guide/config.html#PerlSetEnv_and_PerlPassEnv Thanks, Pratik On 9/7/05, Anthony Gardner <[EMAIL PROTECTED]> wrote: > Hola, > > We're using apache/1.3.33 and mod_perl/1.29. > > the problem is, a personal ENV variable is s

Re: [OSCon 2005] RFC

2005-02-11 Thread Pratik
cannot attend this conference, they get to see transcript or presentation ?? Thanks, Pratik -- http://pratik.syslock.org

Re: Custom Form using PerlHandler with redirection

2005-02-10 Thread Pratik
ECT); $r->send_http_header; return OK; Thanks, Pratik -- http://pratik.syslock.org

Re: Restricting maximum parallel connections

2005-02-07 Thread Pratik
king to disable HTTP Pipelining. -Pratik -- http://pratik.syslock.org

Re: Restricting maximum parallel connections

2005-02-06 Thread Pratik
ieve that Cache::FastMmap should be much faster. Any inputs ? Thanks. Pratik -- http://pratik.syslock.org

Re: Restricting maximum parallel connections

2005-02-06 Thread Pratik
o a small fixed-size chunk which makes > appends atomic without flocking. However, Cache::FastMmap is very fast, > so I'm not sure it would be worthwhile for you to change things. I'll look into it. Thanks, Pratik -- http://pratik.syslock.org

Restricting maximum parallel connections

2005-02-06 Thread Pratik
I am missing some obvious point here. This mechanism is working nicely. Are there any better alternatives available without any overhead of chache/locking etc. Thanks, Pratik -- http://pratik.syslock.org

Re: [OSCon 2005] rfc Open Source Dynamic Data Compression

2005-02-03 Thread Pratik
I haven't personaly tried it, but I'd really be interested in knowing how it works with mp2. Thanks. -Pratik -- http://pratik.syslock.org

Re: setting environment variables

2005-01-30 Thread Pratik
Why not use PerlSetEnv ? -Pratik On Sun, 30 Jan 2005 12:20:08 -0600, Frank Wiles <[EMAIL PROTECTED]> wrote: > On Sun, 30 Jan 2005 11:47:50 +0200 > "Octavian Rasnita" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I have tried to put the followin

Re: [summary] The Conflict of mp1 vs mp2 vs mp22 vs ... vs mpNN

2005-01-10 Thread Pratik
systems, that is, mp2. How difficult is it really to have two different perl installation !!?? It's a one time cost you have to pay for the principle - "if it ain't broke, don't fix it". In fact - doing it actually applies that principle in practice. -Pratik -- http://hello:[EMAIL PROTECTED]

apr-ext test failure

2005-01-10 Thread Pratik
I built fresh perl and apache. But mp2RC3 built is failing. I think it's due to some stupid point which I have failed to see. Help ! Pratik = /home/pratik/lab/perl/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \ t/TEST -

Re: Comments on the document 'Installing mod_perl 2.0'

2005-01-09 Thread Pratik
#x27;to/apxs') signify? (This is probably a very dumb > question!) '\' means that the same command continues on the next line of shell as well. -Pratik -- http://pratik.syslock.org

Re: clearing a parameter using Apache::Request

2005-01-06 Thread Pratik
Yeah ! Just do : my $cgi = CGI->new(); -Pratik On Thu, 6 Jan 2005 06:07:52 -0800 (PST), [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi Sean ! > > > > You can use "my $cgi = CGI->new($r);" in your request handler to get > > the CGI object. >

Re: clearing a parameter using Apache::Request

2005-01-06 Thread Pratik
Hi Sean ! You can use "my $cgi = CGI->new($r);" in your request handler to get the CGI object. Thanks, Pratik On Thu, 6 Jan 2005 07:42:12 -0500, Sean Davis <[EMAIL PROTECTED]> wrote: > I have a script that can submit back to itself. If the script is being > entered

Invalid link to mod_perl 2.0 CVS Web Interface

2005-01-01 Thread Pratik
The link at http://perl.apache.org/download/source.html#mod_perl_2_0_CVS_Web_Interface is http://cvs.apache.org/viewcvs.cgi/modperl-2.0/ and that is dead. Looks like it got replaced with http://cvs.apache.org/viewcvs.cgi/modperl/ Thanks, Pratik -- http://pratik.syslock.org -- Report problems

Re: multiple developers on one Sever

2004-12-21 Thread Pratik
Please provide information about the versions of mod_perl and apache that you are using. If you provide your fully working configuration file, it will be easy to identify the issue. - Pratik -- http://pratik.syslock.org -- Report problems: http://perl.apache.org/bugs/ Mail list info: http

Re: $0 problem with mp1

2004-12-01 Thread Pratik
> before? > Actually, it was discussed at http://gossamer-threads.com/lists/modperl/modperl/35091 Thanks, Pratik. -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

$0 problem with mp1

2004-11-27 Thread Pratik
= "MyApache::Parent"; Now if I do 'ps', I don't see the new name of the process. Also, I get segmentation fault if I try to use $0 instead of *0. Regards, Pratik -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modper

Re: $0 ?

2004-10-29 Thread Pratik
I don't know about mp2. But in mp1, I tried to assign some value to $0 in PerlChildInitHandler, and it gave segmentation fault. I haven't looked into it in details. I'd like to know if this is a known issue or not. -Pratik On Fri, 29 Oct 2004 16:13:19 -0400, Stas Bekman &l

Re: mp2 static build problems

2004-09-18 Thread Pratik
wrote: > > > Pratik wrote: > >>Finally it breaks with: > >> > >>LD_RUN_PATH="/usr/lib:/lib" cc -shared -L/usr/local/lib APR.o > >>modperl_error.o modperl_bucket.o modperl_common_util.o > >>modperl_common_log.o -L/usr/local/l

Re: mp2 static build problems

2004-09-18 Thread Pratik
e building mp2 statically. I found out that lapr-0 was already built inside srclib/apr/.lib of httpd. I just copied that file to /usr/local/lib and it worked like a charm. Probably, LD_LIBRARY_PATH should be set properly. Regards, Pratik -- Report problems: http://perl.apache.org/bugs/ Mail list i

Wrong error message while building mp2

2004-09-06 Thread Pratik
I was trying to build mp2 statically using httpd-2.0.50 and I got the following error message. $ perl Makefile.PL PREFIX=/home/pratik/src/mp2 MP_AP_BUILD=1 MP_AP_PREFIX=/home/pratik/src/mp2/httpd-2.0.50 Reading Makefile.PL args from @ARGV MP_AP_BUILD = 1 MP_AP_PREFIX = /home/pratik/src/mp2

Wrong error message

2004-09-06 Thread Pratik
I was trying to build mp2 statically using httpd-2.0.50 and I got the following error message. $ perl Makefile.PL PREFIX=/home/pratik/src/mp2 MP_AP_BUILD=1 MP_AP_PREFIX=/home/pratik/src/mp2/httpd-2.0.50 Reading Makefile.PL args from @ARGV MP_AP_BUILD = 1 MP_AP_PREFIX = /home/pratik/src/mp2

getppid() in mod_perl 1.29 returns cached value

2004-08-19 Thread Pratik
I know that this has been problem with all the applications that embedd perl in it. The patch is available for mp2. Any pointers on how to solve this for mp1 ? -Pratik -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette