help, problems on migrating to mod_perl

2003-12-04 Thread SRef
Env: Perl5.8 Apache2.0 mod_perl2.0(1.99xx?) PS: I did try to find the solution through mod_perl and apache documents, but in vain. Please help me, thanks. For example, I have a script file named "index.cgi" for my website entrance, and there are some template files in the same directory with it. i

Re: help, $apr->param hangs

2003-12-04 Thread Stas Bekman
Aleksandr Guidrevitch wrote: Stas Bekman wrote: yep, that closes the connection after $timeout_secs and looks to me like the right solution. However, If I try to stop apache it exits with 'Segmentation fault' (in case a timeout occured), seems due to the fact that the perl code haven't had a cha

dynamic paths?

2003-12-04 Thread Dt
is there some easy setup that i can do to allow for a dynamic path in a uri? for example, id like to have the ability to have some configuration file, say uri_path.txt and list multiple paths in the form of: # my.paths /path1 /path2/target /path3/target1 ... and be able to change this or add

Re: help, $apr->param hangs

2003-12-04 Thread Aleksandr Guidrevitch
Stas Bekman wrote: yep, that closes the connection after $timeout_secs and looks to me like the right solution. However, If I try to stop apache it exits with 'Segmentation fault' (in case a timeout occured), seems due to the fact that the perl code haven't had a chance to clean up. Can I trap

Re: [mp2] 3rd-party module porting status

2003-12-04 Thread Stas Bekman
[EMAIL PROTECTED] wrote: FYI, Apache::PAR has been ported and tested to work under both mp1 and mp2. It has also (as of 0.30) been updated to use Apache::Test. If you have any questions, please let me know. Thanks Nathan, I've updated the list. __

Re: [mp2] 3rd-party module porting status

2003-12-04 Thread Stas Bekman
speeves wrote: I noted some difference between my report and the site list. Why? 1) Apache::AuthExpire is in perl.apache.org list but not here. But CPAN (1.7601) says: cpan> m Apache::AuthExpire Module id = Apache::AuthExpire DESCRIPTION PerlAuthenHandler to implement time lim

Re: help, $apr->param hangs

2003-12-04 Thread Stas Bekman
Aleksandr Guidrevitch wrote: Hi Stas Stas Bekman wrote: yep, that closes the connection after $timeout_secs and looks to me like the right solution. However, If I try to stop apache it exits with 'Segmentation fault' (in case a timeout occured), seems due to the fact that the perl code haven't

apache-perl for bricolage

2003-12-04 Thread mark
Ok, folks: I'm a Linux/Unix person, but a Debian newby, on a (not mine) Debian/Knoppix system, and I'm trying to install bricolage. Right. Sorry if this has been asked before (I'' wager it has) It wants apache-perl 1.3.27 - apache with perl *statically* compiled in (why he can't work with m

Re: [mp2] 3rd-party module porting status

2003-12-04 Thread nathan
FYI, Apache::PAR has been ported and tested to work under both mp1 and mp2. It has also (as of 0.30) been updated to use Apache::Test. If you have any questions, please let me know. Thanks, Nathan On Thu, 04 Dec 2003 12:40:25 -0800, Stas Bekman wrote: [snip] > > Apache-Sybase-CTlib-2.

Re: help, $apr->param hangs

2003-12-04 Thread Aleksandr Guidrevitch
Hi Stas Stas Bekman wrote: yep, that closes the connection after $timeout_secs and looks to me like the right solution. However, If I try to stop apache it exits with 'Segmentation fault' (in case a timeout occured), seems due to the fact that the perl code haven't had a chance to clean up. Ca

Re: [mp2] 3rd-party module porting status

2003-12-04 Thread speeves
I noted some difference between my report and the site list. Why? 1) Apache::AuthExpire is in perl.apache.org list but not here. But CPAN (1.7601) says: cpan> m Apache::AuthExpire Module id = Apache::AuthExpire DESCRIPTION PerlAuthenHandler to implement time limits CPA

Re: [mp2] 3rd-party module porting status

2003-12-04 Thread Stas Bekman
Geoffrey Young wrote: Stas Bekman wrote: [moving this discussion to the users list where it'll get the most attention] We are discussing how to bring the list of the ported to mp2 modules up to date: http://perl.apache.org/products/apache-modules.html#Porting_CPAN_modules_to_mod_perl_2_0_Status

Re: [mp2] 3rd-party module porting status

2003-12-04 Thread Geoffrey Young
Stas Bekman wrote: > [moving this discussion to the users list where it'll get the most > attention] > > We are discussing how to bring the list of the ported to mp2 modules up > to date: > http://perl.apache.org/products/apache-modules.html#Porting_CPAN_modules_to_mod_perl_2_0_Status should we

Re: [mp2] 3rd-party module porting status

2003-12-04 Thread Stas Bekman
[moving this discussion to the users list where it'll get the most attention] We are discussing how to bring the list of the ported to mp2 modules up to date: http://perl.apache.org/products/apache-modules.html#Porting_CPAN_modules_to_mod_perl_2_0_Status Enrico Sorcinelli wrote: On Wed, 03 Dec 200

Re: Comments on Struts-like mod_perl module

2003-12-04 Thread Stas Bekman
Chris Winters wrote: Stas Bekman wrote: Apache::Straps sounds unique enough to me, though recently quite a few people have voiced their pain in having core API and applications all living in the Apache:: namespace. So you may want to consider putting it under Apache::App::Straps, or Apache::MVC

Re: Comments on Struts-like mod_perl module

2003-12-04 Thread Chris Winters
Stas Bekman wrote: Apache::Straps sounds unique enough to me, though recently quite a few people have voiced their pain in having core API and applications all living in the Apache:: namespace. So you may want to consider putting it under Apache::App::Straps, or Apache::MVC::Straps, or something

Re: help, $apr->param hangs

2003-12-04 Thread Stas Bekman
Aleksandr Guidrevitch wrote: Hello, Stas Stas Bekman wrote: alarm(300) is an Apache alarm. Can you see the perl's alarm calls earlier in the trace? since you tried alarm 1, grep for alarm(1). [EMAIL PROTECTED] tauction]$ grep -P 'alarm' seems it is here Thanks. So you can see that Apache overri

Re: make test errors (modperl 1.99_11 and perl 5.8.2)

2003-12-04 Thread Stas Bekman
THELLA,RITA (HP-Cupertino,ex3) wrote: After installing HP-c patches, make test is working fine. Great. What're HP-c patches? But, I had to disable mod_ssl otherwise Apache is not starting and in error_log, I see the following message: [Thu Dec 04 09:53:41 2003] [info] Init: Initializing OpenSSL l

Re: Comments on Struts-like mod_perl module

2003-12-04 Thread Stas Bekman
Stuart Moffatt wrote: [...] In the last two weeks, I've converted the "servlet" cgi to mod_perl, and made it look like a real struts servlet. I have not ported the application yet, but I have a new project that is also perl so I will build this app on top of the mod_perl version of Straps, which I

Re: Objects

2003-12-04 Thread Stas Bekman
Patricio Muñoz wrote: Hi, I have the script <% $mypath = "D:\Apache\Apache2\asp\aplicacion\videos"; $fso = $Server->CreateObject("Scripting.FileSystemObject"); $fls = $fso->GetFolder($Server->MapPath($mypath)); %> when execute in the browser, appear the next error: [Thu Dec 04 13:14:40 2003] [

RE: make test errors (modperl 1.99_11 and perl 5.8.2)

2003-12-04 Thread THELLA,RITA (HP-Cupertino,ex3)
After installing HP-c patches, make test is working fine. But, I had to disable mod_ssl otherwise Apache is not starting and in error_log, I see the following message: [Thu Dec 04 09:53:41 2003] [info] Init: Init

RE: Comments on Struts-like mod_perl module

2003-12-04 Thread Stuart Moffatt
>Ken said: >Sounds very interesting! The best place to take up CPAN >naming issues is on "[EMAIL PROTECTED]" More info: > >http://lists.perl.org/showlist.cgi?name=module-authors > >Try posting your ideas there to clear the namespace. > >ky > Thanks for the tip - I've looked there before fo

Re: Comments on Struts-like mod_perl module

2003-12-04 Thread Ken Y. Clark
On Thu, Dec 04, 2003 at 12:11:25PM -0500, Stuart Moffatt wrote: [...] > Anyway, I thought the Right Thing To Do was get the idea out on this list > before any upload to CPAN, etc. I suppose at some point I'd have to talk to > the Struts people to find out if they mind as the framework and config fi

Comments on Struts-like mod_perl module

2003-12-04 Thread Stuart Moffatt
All, About a month ago, I was put on a project that was perl-based, but with no framework. As our GUI team develops mostly in java, and now mostly with struts, I came to love the MVC architecture. Simple to estimate, design, and maintain. I loved struts mvc so much that I implemented a struts-like

Objects

2003-12-04 Thread Patricio Muñoz
Hi, I have the script <% $mypath = "D:\Apache\Apache2\asp\aplicacion\videos"; $fso = $Server->CreateObject("Scripting.FileSystemObject"); $fls = $fso->GetFolder($Server->MapPath($mypath)); %> when execute in the browser, appear the next error: [Thu Dec 04 13:14:40 2003] [error] [asp] [-98744

Re: help, $apr->param hangs

2003-12-04 Thread Aleksandr Guidrevitch
Hello, Stas Stas Bekman wrote: alarm(300) is an Apache alarm. Can you see the perl's alarm calls earlier in the trace? since you tried alarm 1, grep for alarm(1). [EMAIL PROTECTED] tauction]$ grep -P 'alarm' seems it is here I think what happens is that perl sets the alarm, but then Apache rese

Re: help, $apr->param hangs

2003-12-04 Thread Aleksandr Guidrevitch
Hi Frank [EMAIL PROTECTED] tauction]$ grep -P '.*= 3' ... accept(16, {sa_family=AF_INET, sin_port=htons(38587), sin_addr=inet_addr("127.0.0.1")}, [16]) = 3 alarm(300) = 300 alarm(0)= 300 read(4, "package Test::Handler;\n\nuse "..., 409

Re: help, $apr->param hangs

2003-12-04 Thread Frank Maas
Hi Aleksandr, You say the process hangs here: > read(3, 0x8293b7c, 4096)= ? ERESTARTSYS (To be restarted) > --- SIGWINCH (Window changed) @ 0 (0) --- > read(3, 0x8293b7c, 4096)= ? ERESTARTSYS (To be restarted) > --- SIGWINCH (Window changed) @ 0 (0) --- > read(3, 0