practical mod_perl

2007-08-15 Thread Luke Lu
Hi all Anyone who has the Practical Mod_perl (chm/pdf), please give me a copy. Thanks Good luck. Luke

Build static mod_perl and apachev2.2.3 fail

2007-01-06 Thread LUKE
What is difference between apache v2.0.59 and v2.2.3? I can build static mod_perl and apache v2.2.3. Have anyone build static mod_perl and apache v2.0.59 successfully? -- Makefile.PL PREFIX=/usr/local/Portal/perlmods LIB=/usr/local/Portal/perlmods \ MP_USE_STATIC=1

mod_perl-specific Compiler Options

2007-01-05 Thread LUKE
What situation we need to modify the mod_perl's IO buffer size? http://perl.apache.org/docs/2.0/user/install/install.html#_DMP_IOBUFSIZE mod_perl-specific Compiler Options Change the default mod_perl's 8K IO buffer size, e.g. to 16K: MP_CCOPTS=-DMP_IOBUFSIZE=16384

The PerlProcessConnectionHandler on mod_perl 2.0.2 + apache v2.2.3

2006-12-09 Thread LUKE
mod_perl 2.0.2 + apache v2.2.3 from http://www.devside.net/server/webdeveloper httpd.conf ThreadsPerChild 1920 I have a project must upload files to win2003 server. So i do the job by implement Protocol (Connection) Handlers in

How to get virtualhost info in mod_perl?

2006-10-26 Thread LUKE
The http://rd-program.blogspot.com and http://se-program.blogspot.com have the same ip address (72.14.207.191).How can iknow thebrowser connect to apache server(in mod_perl)via which hostname?

Re: mod_perl using IPC::ShareLite

2006-09-27 Thread LUKE
may be the linux ramdisk is another good choice. you can use memory like normal filesystem. - Original Message - From: Frank Wiles [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: modperl@perl.apache.org Sent: Wednesday, September 27, 2006 9:45 PM Subject: Re: mod_perl using IPC::ShareLite

strange problem,please help

2006-08-18 Thread LUKE
Then mod_perl stillrunthe oldprogram after i modify the code. Even restart apache or OS . I still got the old result! Why? I must run fsck ?? The problem isfilesystem Error? I often modify the code,but have no this problem before. How to trace the problem?

How to avoid memory leak?

2006-07-27 Thread LUKE
My systemhave seemmemory leak problem. The MEM_USR raise . But how to debug?? Is the Apache::Leak formod_perl v1.x module? PS:apache Apache/2.0.54 + MOD_PERL 2 no database Modules Compress::Zlib;Crypt::RC5;Digest::MD4 'md4_hex';Data::Dumper;Encode::TW;Fcntl qw(:DEFAULT

(OT) LWP question

2006-03-28 Thread Luke Vanderfluit
that can do this? Thanks. Kind regards. -- Luke

Another program about Protocol Handers!

2006-02-20 Thread LUKE
I use the code to redir smtp. And test the connection from outlook. But i find that the crlf.crlf can not recv fromsocket($socket-recv($line, 1024)) . I use WPR PRO to sniffer the packet , the outlook send out crlf.crlf . = package

Re: Tesing Protocol Handlers got strange result!

2006-02-18 Thread LUKE
I confirm the apache version. The apache v2.0.54 have this problem. But apache v2.0.55 + mod_perl v2.02(win32 or linux)have no this problem. - Original Message - From: LUKE To: modperl@perl.apache.org Sent: Saturday, February 18, 2006 2:25 PM Subject: Tesing

Tesing Protocol Handlers got strange result!

2006-02-17 Thread LUKE
Then code is from http://perl.apache.org/docs/2.0/user/handlers/protocols.htmlCommand Server. When i start to test. It will not response Welcome Message until i type enter. Why? The FTP Server or SMTP Server will response Welcome Message first. If i want to implement those protocol using

How to overide the Date header??

2006-02-14 Thread LUKE
Apache will response Date info, But server and client have different clock and the cache(Expire Header)will become invalid. If i can get local pc datetime from _javascript_. andi can modify DATE headerthen the program willsolve. But the Date header seem can not by modified. Why ?

File handle in mod_perl

2006-01-16 Thread LUKE
I have some problem about file handle in mod_perlV2.02 + apache v2.055. I got some strangeresult today.And i check the program find thatiforgot toclose(filehande). But this case to bring about some guestion! Will thecodeinfluence each other? When muti-user visit the same recourse at the

-M in modperl

2006-01-12 Thread LUKE
opendir( DIR, /path ); my @dots = grep(/recovery/,sort { -M $a = -M $b } readdir(DIR)); closedir(DIR); Can not work in mod_perl?? How to solve it??

Re: -M in modperl

2006-01-12 Thread LUKE
The result is not sort by file's mtime! But if i run the code in cgi or shell. It is sort by file's mtime. - Original Message - From: LUKE [EMAIL PROTECTED] To: modperl@perl.apache.org Sent: Friday, January 13, 2006 12:58 AM Subject: -M in modperl opendir( DIR, /path ); my @dots

Re: -M in modperl

2006-01-12 Thread LUKE
linux apache 2.55 mod_perl v2.02 The file will list,but it is not sort by file's mtime in mod_perl! - Original Message - From: LUKE [EMAIL PROTECTED] To: modperl@perl.apache.org Sent: Friday, January 13, 2006 1:06 AM Subject: Re: -M in modperl The result is not sort by file's

Need use modules in my code?

2005-12-20 Thread LUKE
===http.conf=== LoadModule perl_module modules/mod_perl.soPerlRequire "/usr/local/perlmods/startfile.pl" ===startfile.pl=== use Compress::Zlib; The two type of code will work.But what is the proper code? #!/usr/bin/perl use Compress::Zlib; . print Compress::Zlib::memGzip($htmlstr); or

what is difference with static and DSO mod_perl ?

2005-12-19 Thread LUKE
How to setup httpd.conf ? when i using static (non-DSO) mod_perl. DSO mod_perl httpd.conf === LoadModule perl_module modules/mod_perl.so PerlRequire /usr/local/perlmods/startfile.pl Will i need recomplie apache when i modify my (perl)code , when using non-DSO mod_perl?

radius authentication then basic

2005-11-15 Thread Luke Vanderfluit
this? -- Luke

Re: is apache using modperl?

2005-09-27 Thread luke
Hi. 26Sep2005 @ 09:40 Geoffrey Young thusly spake Alexander Charbonnet wrote: Rename your Perl binary and see if it still works. :-) egads, no. How can I be sure that is being run by mod_perl and not by perl?

is apache using modperl?

2005-09-25 Thread luke
'), li('peppers'), li('red'), li('green') ), hr, end_html; \___ How can I be sure that is being run by mod_perl and not by perl? Thanks. Kind regards. Luke. -- ._.. .| .| |.|/.|_ . .|__.|_|.|\.|_ . :61 421 276 282:

Re: The mod_perl protocol handler sample code have some problem!

2005-07-21 Thread LUKE
Thanks! But the problem is still exist. - Original Message - From: Randy Kobes [EMAIL PROTECTED] To: 薛共和 [EMAIL PROTECTED] Cc: modperl@perl.apache.org Sent: Thursday, July 21, 2005 12:47 PM Subject: Re: The mod_perl protocol handler sample code have some problem! On Thu, 21 Jul 2005,

Re: Internal server error

2004-11-07 Thread Luke
Thanks for your response. However at the moment what I needed was perl to work on my webserver for testing purpose only on a global level. I found a way to enable perl using an apache directive and bypassed mod_perl altogether. So for the time being everything is fine. Thanks for you

Internal server error

2004-11-06 Thread Luke
I have an intresting problem, I have a test server running windows 2k, Activestate perl and apache 2. I have loaded the perl module mod_perl.so as well as told it to use C:/Perl/bin/perlxx.dll. In the httpd.conf I have commented out the script alias and add ExecCGI to the options, then added