Re: Raku

2021-12-22 Thread tomcat/perl
quest processing." Like this? https://httpd.apache.org/docs/trunk/mod/mod_lua.html Ok, I stand corrected. So, perl or lua (or C of course; I should have limited my statement to "interpreted languages"). I don't know lua, but it sounds worth investigating. Now, the second-leve

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

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 wel

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

Re: New Windows mod_perl2/libapreq2 build available

2021-03-09 Thread tomcat/perl
/support workstations). We have quite a few real-world applications based on perl and mod_perl, which in themselves have been running reliably for years without any needed changes due to perl itself. But we do get in trouble from time to time because customers insist on changing the platform on

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
eak-in". (and replace use vars ($authenticated); by our $authenticated; ) ("use vars" is deprecated, see https://perldoc.perl.org/vars) The point is : - imagine an Apache Prefork starting 5 children - each child, when it starts, contains its own fresh copy of the perl interpreter - req

Re: Confused about two development utils [EXT]

2020-12-25 Thread tomcat/perl
Hello James. Bravo and many thanks for this excellent overview of your activities. Of course the setup (in your previous message) and the activities are very impressive by themselves. But in addition, even though your message is not in itself a perl advocacy message, I feel that it would have

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

Re: Confused about two development utils

2020-12-22 Thread tomcat/perl
summary : - to deal with 99% of what has to do with controlling what happens within Apache httpd in terms of processing HTTP requests (or just to run your perl scripts faster), use the mod_perl package. So install /libapache2-mod-perl2/ first, and start coding. - if you finds out later that you

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 writ

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

2020-08-04 Thread tomcat/perl
plications" (in the sense of user interface etc), then there are probably nowadays easier and "more modern" tools than mod_perl; and indeed it is a problem to find young programmers who already know perl. (It is not difficult however for a good young programmer, to learn perl. And

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
NIED is : 0 [Sun May 31 06:25:08.054173 2020] [:error] [pid 5519] mp2-startup: AUTHZ_DENIED_NO_USER is : 4 [Sun May 31 06:25:08.054184 2020] [:error] [pid 5519] mp2-startup: @INC is now : /home/EFS/lib / /etc/perl / /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 / /usr/local/share/perl/5.20.2

problem with Apache apreq2 on SLES 12 SP1

2020-05-30 Thread tomcat/perl
com/> Information for package libapr-util1-devel: --- Repository: SLE-SDK12-SP1-Pool Name: libapr-util1-devel Version: 1.5.3-1.77 Arch: x86_64 Vendor: SUSE LLC <https://www.suse.com/> Installing Apache2::Cookie still failed with: /root/.cpanm/work/159084195

Re: Apache2:AuthCookie With httpd 2.4

2020-05-14 Thread tomcat/perl
ian.org%2Funstable%2Flibapache2-authcookie-perl%2FApache2_4%3A%3AAuthCookie.3pm.en.html&data=02%7C01%7C%7Cfdafa4a140a44a1c47ed08d7f5f66767%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637248310956933568&sdata=XwSR%2FO7jCwZrZLuYRSWWhp%2Fwz7tCtWkCzjs0fTRTIDk%3D&reserved=0 as an example

Re: Apache 2.4, AAA, Shibboleth

2020-03-06 Thread tomcat/perl
t simply impossible, given the current mod_perl API ? (Note: It doesn't have to be a guaranteed thing. Whatever idea there is, I'll try it, and if it causes a segfault or other nasty things, I'll drop it. The only requirement for me is that it has to be perl code..) On 06.03.20

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
between Corelist and Embed is not matching. But the same is installed on our test servers and I am not sure what is different. Probably it has Apache::DBI for Apache 1.x installed? How do I check? and any help to resolve the above error? You will probably find that maintaining your own copy of Perl is

Re: POST large amount of data causes segmentation fault

2020-02-10 Thread tomcat/perl
text input? Javascript seperates each number with a '/' then I use split within Perl to get the list of numbers into an array. I have a with list of users and GSM numbers. If that list is about 600 users it has worked fine. I was testing with about 4000 users when I came acros

Re: mod_perl, compilation issues, cont

2020-02-03 Thread tomcat/perl
Additional info : I checked the permissions of all below c:/strawberry/perl, and one thing I can say is that all directories and files below that point have at least permissions read/write/execute for all "authenticated users". On the other hand, I also ran the following (why did I

Re: mod_perl, compilation issues, cont

2020-02-03 Thread tomcat/perl
Thank you very much for your reply below. I was getting desperate of getting any at all. I will check the permissions issue and post back to the list. Maybe in the mneantime an additional question to the list : has *anyone at all* succeeded in installing (and using) Apache 2.4 / perl 5.20

mod_perl, compilation issues, cont

2020-01-16 Thread tomcat/perl
detail, but I am still stumped.. Full config described below. D:\develop\06_SVN\AP2lib\trunk\modlib\AUTH\UMA2.pm is my module, which compiles just fine on Linux servers with similar software installed (Apache, mod_perl, perl). C:\>perl -cw D:\develop\06_SVN\AP2lib\trunk\modlib\AUTH\UMA2

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

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&quo

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

Re: decrypt the posted content

2019-11-20 Thread tomcat/perl
-line program on the server which can decrypt that content ? If yes : if you do not find an appropriate perl module to do this decryption, your mod_perl handler can always execute that external program using the system() function. (See : https://perldoc.perl.org/5.30.0/functions/system.html) General

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

CPAN will shutdown

2018-05-22 Thread Practical Perl
*search.cpan.org <http://search.cpan.org> is shutting down* For details read Perl NOC <https://log.perl.org/2018/05/goodbye-search-dot-cpan-dot-org.html>. After June 25th this page will redirect to MetaCPAN.org <http://search.mcpan.org/> So does as well as Perl?

Re: test

2018-05-22 Thread Practical Perl
welcome. On Tue, May 22, 2018 at 5:34 AM, Jie Gao wrote: > test > >

Re: decline and fall of modperl?

2009-03-23 Thread Perl Junkie
Alexandr Ciornii wrote: Hi. It possible to encrypt perl sources with same safety as with PHP - with possibility of source decryption. But Perl developers are in general more advanced than PHP developers so they know how to decrypt it, in contrast to PHP developers that do not know that

Re: decline and fall of modperl?

2009-03-23 Thread Perl Junkie
Byrne Reese wrote: The problem is that there are no very many big sites that use perl either. I knew that Amazon used Perl, than tried to use Java, than... I don't know what they use now. Google uses Python, Yahoo uses PHP, Microsoft probably uses DotNet and Sun probably uses Java. I

rewrite urls to modperl handler

2008-11-02 Thread perl
Hi all, I am new to mod_perl and am having a difficult time with rewrites. Either I am doing it the most wrong way, or it's so easy that I'm over looking it. I have searched and found nothing that seems to relate to what I want. I am working on a perl based wiki, to help me learn more

Re: [Newbie] MP2.0: PerlSendHeader versus PerlOptions (and Apache::Registry grrr...)

2008-04-24 Thread Perl Junkie
Perrin Harkins wrote: On Fri, Apr 25, 2008 at 12:18 AM, Perl Junkie <[EMAIL PROTECTED]> wrote: PerlOptions ParseHeaders I think that should be +ParseHeaders. See http://perl.apache.org/docs/2.0/user/porting/compat.html#C_PerlSendHeader_ I did finally see that in a

[Newbie] MP2.0: PerlSendHeader versus PerlOptions (and Apache::Registry grrr...)

2008-04-24 Thread Perl Junkie
rlSendHeader|, but more robust. This option is usually needs to be enabled for registry scripts which send the HTTP header with: print "Content-type: text/html\n\n"; Doesn't work for me... When I run registry scripts using in httpd.conf: Alias /mp "/var/www/mp

mod_perl and CGI::Application.. Strange Behaviour

2007-10-26 Thread Perl Modulator
: Alias /perl /docroot/cgi-perl PerlModule Apache::Registry SetHandler perl-script PerlHandlerApache::Registry PerlSendHeader On Options+ExecCGI Problem I am trying to create mod_perl based appln using CGI::Application and I am just printing a message. Here is the Perl

booking should be captured only on the last page

2007-09-21 Thread Perl
I have two different pages having different form. All the forms are having the same Action(input.htm). I need to modify the code such that that the details can be recorded in the database only after parsing the second page .That means for the first page it should go to the loop (Declined)and for

Re: how to use Apache::DBI

2007-08-01 Thread Ken Perl
ues an automatic rollback at the end of every > request, so that if your code dies while it has a transaction going, > that will be freed before the next request. (This is only if you open > your handles with AutoCommit off though.) > > Hmm, maybe this should be in the Apache::DBI documentation. > > - Perrin > -- perl -e 'print unpack(u,"62V5N\"FME;G\!E

Re: how to use Apache::DBI

2007-08-01 Thread Ken Perl
it is really good gotchas and should be included to the ModPerl::Registry document. thanks a lot. On 7/31/07, Clinton Gormley <[EMAIL PROTECTED]> wrote: > On Tue, 2007-07-31 at 10:09 +0800, Ken Perl wrote: > > I didn't run it under ModPerl::Registry, is there any risk to use t

Re: how to use Apache::DBI

2007-07-30 Thread Ken Perl
OK, got it. Is it possible to use the same db connections in one request? if yes, could you please show me how to implement this if a cgi script calls many times other perl modules which requests db connections to work. On 7/31/07, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On 7/30/07,

Re: how to use Apache::DBI

2007-07-30 Thread Ken Perl
ll other modules which may make new db connections with same db password and attributes)? In my testing, I saw some different database handlers returned instead of the same hash reference address. On 7/30/07, Clinton Gormley <[EMAIL PROTECTED]> wrote: > On Mon, 2007-07-30 at 18:21 +0800, Ken Per

how to use Apache::DBI

2007-07-30 Thread Ken Perl
I can not find any persistent connections for my CGI script. any usage error here? -- perl -e 'print unpack(u,"62V5N\"FME;G\!E

Buffer flushing issue

2006-11-25 Thread Cafe Perl Account
Hi all. I'm trying to use $r->rlfush to flush the output on my CGI scripts, but some times i get the folowing error: "$r->rflush can't be called before the response phase at /html/perl/test.pl line 10" And worst: when this error happens, the script gets uploaded t

Re: clusters

2006-05-09 Thread Ken Perl
Do you mean that the pound work great with apache 2.0 and apache 1.3 both? On 5/9/06, Harmen <[EMAIL PROTECTED]> wrote: On Tue, May 09, 2006 at 04:47:14PM +0800, Ken Perl wrote: > Is it possible to make a modperl application to run in cluster? if > yes, how to do that? any doc?

clusters

2006-05-09 Thread Ken Perl
Is it possible to make a modperl application to run in cluster? if yes, how to do that? any doc? -- perl -e 'print unpack(u,"62V5N\"FME;G\!E

due core cpu

2006-02-22 Thread Ken Perl
Will a modperl2 program run faster on a cue core cpu machine than a single cpu machine if we assume their speeds are same? In other words, should I buy a new due core cpu machine? -- perl -e 'print unpack(u,"62V5N\"FME;G\!E

Re: detecting server start, stop, graceful in startup.pl

2006-02-19 Thread Ken Perl
Though it will write to the log and it is wrong as the console. On 2/18/06, Philippe M. Chiasson <[EMAIL PROTECTED]> wrote: > Ken Perl wrote: > > Better than before, but only 'start' works. > > > > debian:~/WebGUI# apache2ctl -k start > > [Fri Feb

Re: detecting server start, stop, graceful in startup.pl

2006-02-17 Thread Ken Perl
ebGUI/sbin/preload.perl line 33. On 2/17/06, Philippe M. Chiasson <[EMAIL PROTECTED]> wrote: > Ken Perl wrote: > > I add your code to my startup.pl, but it doesn't work. > > Change 'print' to warn and you should see the expected behaviour. > > The only exception i

Re: debugger command always return IO::Handle::DESTROY

2006-02-13 Thread Ken Perl
2006-02-13 at 14:27 +0800, Ken Perl wrote: > > Normaly, ctrl +c works for a simple modperl program, I am trying to > > debug a more complex modperl program. > > I don't see how that would a make difference. You're just trying to > send a signal to the httpd process by

Re: debugger command always return IO::Handle::DESTROY

2006-02-12 Thread Ken Perl
the debugging mode off, home page can be displayed smoothly. In my httpd.conf, I enabled Apache2::Reload and Apache2::Status. Anything I missed or anything you want to know, please let me know. On 2/13/06, Perrin Harkins <[EMAIL PROTECTED]> wrote: > Ken Perl wrote: > > I tried

Re: debugger command always return IO::Handle::DESTROY

2006-02-12 Thread Ken Perl
I tried to stop apache by issuing apache2ctl -k stop in another terminal, the command exit without any output, but the debugger is still hung there. I have to send signal KILL to the process. On 2/12/06, Frank Wiles <[EMAIL PROTECTED]> wrote: > On Sun, 12 Feb 2006 18:55:13 +0800 &

Re: detecting server start, stop, graceful in startup.pl

2006-02-12 Thread Ken Perl
I add your code to my startup.pl, but it doesn't work. # apache2ctl -k start Program is starting Stopping... #apache2ctl -k graceful # apache2ctl -k stop On 2/13/06, Frank Wiles <[EMAIL PROTECTED]> wrote: > On Mon, 13 Feb 2006 09:17:57 +0800 > Ken Perl <[EMAIL PROTECTED]

Re: detecting server start, stop, graceful in startup.pl

2006-02-12 Thread Ken Perl
, any ideas? On 2/12/06, Frank Wiles <[EMAIL PROTECTED]> wrote: > On Sun, 12 Feb 2006 15:02:38 +0800 > Ken Perl <[EMAIL PROTECTED]> wrote: > > > >From the Apache2::ServerUtil API doc, to do something only when > > >server > > restarts (httpd -k start or h

Re: debugger command always return IO::Handle::DESTROY

2006-02-12 Thread Ken Perl
And I also can't quit Apache::DB by entering many 'q' commands, DB<5> q IO::Handle::DESTROY(/usr/lib/perl/5.8/IO/Handle.pm:75): 75: sub DESTROY {} DB<5> q IO::Handle::DESTROY(/usr/lib/perl/5.8/IO/Handle.pm:75): 75: sub DESTROY {} DB<5> q IO::Han

detecting server start, stop, graceful in startup.pl

2006-02-11 Thread Ken Perl
1 cnt: 2 % apache2ctl -k graceful cnt: 1 cnt: 3 % apache2ctl -k graceful cnt: 1 cnt: 4 % apache2ctl -k stop cnt: 1 But, I can't detecting start, stop, graceful in startup.pl coding just like in the API doc, Could you give me some comments? thanks. -- perl -e 'print u

debugger command always return IO::Handle::DESTROY

2006-02-09 Thread Ken Perl
;1> r void context return from IO::Handle::DESTROY IO::Handle::DESTROY(/usr/lib/perl/5.8/IO/Handle.pm:75): 75: sub DESTROY {} DB<1> r void context return from IO::Handle::DESTROY Apache2::SizeLimit::handler(/usr/lib/perl5/Apache2/SizeLimit.pm:248): 248:my $r = shift; Anybody kn

Apache2::SizeLimit with non-threaded MPMs

2006-02-08 Thread Ken Perl
Ms at /usr/share/perl/5.8/CGI/Carp.pm line 314.\nBEGIN failed--compilation aborted at /usr/lib/perl5/Apache2/SizeLimit.pm line 97.\nCompilation failed in require at (eval 913) line 3.\n -- perl -e 'print unpack(u,"62V5N\"FME;G\!E

Re: the modperl book link is broken

2006-02-08 Thread Ken Perl
I still can't connect the site, : -( I prefer e-book and appreciate that if anyone who have those two books could send me the e-book copy. On 2/8/06, Perrin Harkins <[EMAIL PROTECTED]> wrote: > Ken Perl wrote: > > The page > > http://perl.apache.o

the modperl book link is broken

2006-02-08 Thread Ken Perl
Hi, The page http://perl.apache.org/docs/offsite/books.html#The_mod_perl_Developer_s_Cookbook introduces two books, their links http://modperlbook.org/ and http://www.modperlcookbook.org/ are both broken now, Does anyone have these two ebooks? -- perl -e 'print unpack(u,"62V5N\"FME;G\!E

Re: module bug?

2006-02-08 Thread Ken Perl
And I found just now, I got the info message before the root / page is returned. On 2/8/06, Ken Perl <[EMAIL PROTECTED]> wrote: > Sounds reasonable. > Based on your anaIysis, I added > > warn "reach last line of WebGUI.pm"; > > into the handler bef

Re: timestamp of Apache::DB

2006-02-08 Thread Ken Perl
That helps already, but need to add the statement into the directory and works fine! On 2/8/06, John Doe <[EMAIL PROTECTED]> wrote: > Perrin Harkins am Dienstag, 7. Februar 2006 18.45: > > On Tue, 2006-02-07 at 08:56 +0100, John Doe wrote: > > > Ken Perl am Diensta

Re: module bug?

2006-02-08 Thread Ken Perl
ansHander. True? On 2/8/06, Torsten Foertsch <[EMAIL PROTECTED]> wrote: > On Wednesday 08 February 2006 07:13, Ken Perl wrote: > > I see a info in the error.log when I access the uri / and works fine, > > [Wed Feb 08 13:22:35 2006] [info] [client 10.0.0.1] Module bug? > &

module bug?

2006-02-07 Thread Ken Perl
I see a info in the error.log when I access the uri / and works fine, [Wed Feb 08 13:22:35 2006] [info] [client 10.0.0.1] Module bug? Request filename is missing for URI / Is the info reported by modperl2? anything wrong? -- perl -e 'print unpack(u,"62V5N\"FME;G\!E

Re: [MP2] set breakpoint

2006-02-07 Thread Ken Perl
06-02-07 at 16:10 +0800, Ken Perl wrote: > > hi, > > I'd like to set a breakpoint at the first line in the module's handler, > > sub handler { > > my $r = shift; <-- here > > ... ... > >$r->set_handlers(P

Re: reload or restart httpd

2006-02-07 Thread Ken Perl
I also turned the debug on, but didn't see any debug message in the error.log, anyone knows why? PerlSetVar ReloadDebug On On 2/7/06, Ken Perl <[EMAIL PROTECTED]> wrote: > tried adding the two lines to the conf file, didn't work. > > On 2/6/06, Sean Davis

Re: reload or restart httpd

2006-02-07 Thread Ken Perl
tried adding the two lines to the conf file, didn't work. On 2/6/06, Sean Davis <[EMAIL PROTECTED]> wrote: > > > > On 2/6/06 9:06 AM, "Ken Perl" <[EMAIL PROTECTED]> wrote: > > > Yes, I am using Apache2, the doc is very useful. > > in httpd

Re: timestamp of Apache::DB

2006-02-07 Thread Ken Perl
Cool, I guess you mean add these lines into the conf file, use CGI::Carp; Thanks, It works. On 2/7/06, John Doe <[EMAIL PROTECTED]> wrote: > Ken Perl am Dienstag, 7. Februar 2006 07.44: > > when Apache::DB is initialized it will write a line of log into > > error.log, bu

Re: [MP2] set breakpoint

2006-02-07 Thread Ken Perl
platform are you using? > > Personally for debugging handlers I find it easier to just stick a line > like: warn "got here, r=$r\n" > > then just tail -f the error_log. Proper old school. Then again I > develop with vi on an 80x24 terminal, am I missing out on s

[MP2] set breakpoint

2006-02-07 Thread Ken Perl
r respectively in below Location directive, but all didn't stop at the point I wanted, instead, It always stopped at the line of '&contentHandler', PerlInitHandler +Apache::DB what I did wrong? -- perl -e 'print unpack(u,"62V5N\"FME;G\!E

timestamp of Apache::DB

2006-02-06 Thread Ken Perl
when Apache::DB is initialized it will write a line of log into error.log, but without a timestamp, [notice] Apache::DB initialized in child 1957 May I add one? -- perl -e 'print unpack(u,"62V5N\"FME;G\!E

interactive debuging modperl2 using Apache::DB

2006-02-06 Thread Ken Perl
available. Enter h or `h h' for help, or `man perldebug' for more help. But I don't know to interactive with modperl to debug my program, I can only see DB<1> prompt symbol in the log file. -- perl -e 'print unpack(u,"62V5N\"FME;G\!E

Re: reload or restart httpd

2006-02-06 Thread Ken Perl
Sean Davis <[EMAIL PROTECTED]> wrote: > > On 2/6/06 7:10 AM, "Ken Perl" <[EMAIL PROTECTED]> wrote: > > > When code is updated during developing period, httpd progress must be > > reload or restart so that to see the change. If is it possible to see > >

reload or restart httpd

2006-02-06 Thread Ken Perl
When code is updated during developing period, httpd progress must be reload or restart so that to see the change. If is it possible to see the change without reload httpd? -- perl -e 'print unpack(u,"62V5N\"FME;G\!E

MP2 dir_config

2006-02-05 Thread Ken Perl
sub handler { my $r = shift; my $s = Apache2::ServerUtil->server; $s->dir_config('WRoot'); $r->dir_config('WConfig'); } which module api doc that I could find description about the two dir_config? I want to know more info about them

debug modperl program

2006-02-04 Thread Ken Perl
hi, Debuging a perl program at command line is using -d option, but this can't be used in a modperl program, any doc or examples on this topic about how to debug a modperl program? -- perl -e 'print unpack(u,"62V5N\"FME;G\!E

Re: hardware prerequisite

2006-02-02 Thread Ken Perl
> that machine for a doorstop, dude, and upgrade to something manufactured in > the last 3 years. > > mark > > >>> Ken Perl <[EMAIL PROTECTED]> 02-Feb-06 04:15 AM >>> > > My machine which cpu is celeron 266Mhz is running Debian 3.1, and > apche2 mo

hardware prerequisite

2006-02-02 Thread Ken Perl
modperl2 and apache2 ? -- perl -e 'print unpack(u,"62V5N\"FME;G\!E

libapreq2-2.06-dev apreq_xs_postperl.h

2006-01-17 Thread Ken Perl
perl Makefile.PL --with-apache2-apxs=/usr/local/apache2/bin/apxs is succes. but make failed, cc -c -I/root/.cpan/build/libapreq2-2.06-dev/glue/perl/xs -I/root/.cpan/build/libapreq2-2.06-dev/include -I/root/.cpan/build/libapreq2-2.06-dev/glue/perl/xsbuilder -I/usr/include/apache2 -I/usr/include

memory usage

2004-05-10 Thread perl mod
Hi, On my test server running Red Hat Linux 7.1 Linux version 2.4.2-2 shared memory is 18.71 MB On my production server Red Hat Linux 7.3 Linux version 2.4.20-20.7 shared memory is 4.32 MB use GTop; my $gtop = GTop->new; my $share = $gtop->proc_mem($$)->share; I've also noticed the same di

Re: Installation / Configuration Questions

2004-03-17 Thread David (Sniper) Rigaudiere -- Les mongueurs de Perl
> 5) my script works in the mod_perl directory > !/usr/bin/perl > print("content-type: text/html\n\n"); > print("Hello World\n"); Hello, the # is missing on the shebang line, is this a copy/paste error ? David "Sniper" Rigaudiere GPG KeyID

Re: Getting new id with every calls with Apache::Session

2003-10-21 Thread perl
as in the doc? If so, isn;t there a package that already wraps this up for me? thanks > Hello. > Have you read `perldoc Apache::Session`? There is two examples. > > [EMAIL PROTECTED] wrote: > >>I'm getting a new id with every refresh click; so, how am I suppo

Getting new id with every calls with Apache::Session

2003-10-20 Thread perl
I'm getting a new id with every refresh click; so, how am I suppose to know it is the same session? Here's my code: #!/usr/bin/perl use Apache::Session::File; use strict; use warnings; my %session; my $sessId; #I'm suppose to put the session id at the undef #but how am i suppos

Re: Apache::Session vs CGI:Session?

2003-10-20 Thread perl
Well, I think I understand what you are saying but if I can clarify my understanding. My thought is that openining multiple browser (new process) will be a new and separate session. Is this correct? thanks > On Mon, 20 Oct 2003 [EMAIL PROTECTED] wrote: > >> > ... If you >> > actually start anoth

Re: Apache::Session vs CGI:Session?

2003-10-20 Thread perl
> ... If you > actually start another copy of IE, that does NOT have the same > non-persistant cookies, and its a different session. Is this behavior the same for both Apache::Session and CGI::Session? -thanks > On Mon, 20 Oct 2003 [EMAIL PROTECTED] wrote: > >> Can someone comment on some advant

Apache::Session vs CGI:Session?

2003-10-20 Thread perl
Can someone comment on some advantages/disadvantages? Does opening a new browser causes a new session in either of the two? thanks - eMail solutions by http://www.swanmail.com

Where is the source for APache::Session

2003-10-20 Thread perl
I'm looking for the download of Apache::Session. There is a lot of docs on it but where is the download? thanks - eMail solutions by http://www.swanmail.com

What session avail for mod_perl

2003-10-18 Thread perl
Can someone point the way to using session with mod_perl and apache 2? thanks, - eMail solutions by http://www.swanmail.com

File Security of the pm files?

2003-10-17 Thread perl
Can people on the web accessing the modperl see the content of the pm files? thanks rkl - eMail solutions by http://www.swanmail.com

Installing/Updgrade mod_perl on Redhat 9

2003-10-05 Thread perl
Simple install: % perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs % make && make test % make install If Apache was built but not installed yet or if apxs is not available and Apache was installed under a single tree (e.g., /usr/local/apache2), you should use the MP_AP_PREFIX option

Re: Simple mod_perl Session and Persistent Script

2003-10-04 Thread perl
than the one loaded with redhat, Is >> there a session variable and how can I hold a persistence object? > > No, there is no concept of a session built into mod_perl. That's > because mod_perl is an API for building apache modules in Perl, and > doesn't make assumptions a

Re: Simple mod_perl Session and Persistent Script

2003-10-04 Thread perl
e object? > > No, there is no concept of a session built into mod_perl. That's > because mod_perl is an API for building apache modules in Perl, and > doesn't make assumptions about how you want your application to work. > There are easy-to-use session options available o

Simple mod_perl Session and Persistent Script

2003-10-04 Thread perl
I have redhat 9 with mod_perl-1.99_07-5. I'm just beginning into mod_perl. Without loading any other library than the one loaded with redhat, Is there a session variable and how can I hold a persistence object? I'm looking for a simple example: #!/usr/bin/perl use strict; use war

  1   2   >