framework for modperl applications

2008-07-17 Thread pennyyh
I found that Catalyst is too huge to use. Other than Catalyst, do you have any other framework suggested for MP applications? thanks. --penny

Re: load large data

2007-09-25 Thread pennyyh
Thank you. I have added these directives in httpd.conf, Perl use Mymodule; our $data = Mymodule-new; /Perl Then I run bin/apachectl configtest,but got the errors, Unknown type 'Mymodule' for directive data at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Apache2/PerlSectio

Re: load large data

2007-09-25 Thread pennyyh
that error above is occurring so I'm posting this as an alternate approach).    # httpd.conf  PerlPostConfigRequire /home/pennyyh/perl/lib/startup.pl    # startup.pl  use strict;  use warnings;    use Mymodule;  Mymodule-init;    1;    ## Mymodule.pm  package Mymodule;    use strict;  use warnings

load large data

2007-09-24 Thread pennyyh
Hello, I have a module,which loads large data into memory. my $data = Mymodule-new; this will take some ms to be finished. So I think I can create this object at startup time,and share the $data acrosss all apache child processes. Is it possible?How can I do it? thank u.

add httpd.conf directive

2007-09-17 Thread pennyyh
Hello, I'm running mp1 with PerlAccessHandler handler. I want to add some config directive into httpd.conf,and let my module use them for passing auth. ie,in httpd.conf I add these lines, PassAuthIPs12.34.56.78 23.45.67.89 Then the requests from these IPs would get past. How can I do

Help me with an url rewrite

2007-08-10 Thread pennyyh
I'm not sure if I've asked the correct lists,but hope I can get some helps here.:) I need a mod_rewrite rule,rewrite this url: http://abc.site.com/index.php?q1=v1 to: http://www.site.com/index.php?q1=v1domain=abc I applicated this rule: RewriteEngine on RewriteRule ^/(.+)$

Re: Help me with an url rewrite

2007-08-10 Thread pennyyh
Thank you.it works perfectly. -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED]; modperl@perl.apache.org Sent: Fri, 10 Aug 2007 6.16PM Subject: Re: Help me with an url rewrite Hello, well this is more of a mod_rewrite question. The problem is

[OT]website structure

2007-06-25 Thread pennyyh
Hello, Do you know where has the sources for popular web structure for a high traffic site?Such as HA,load balance,cache,db pool,etc. Thank you. Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading

write apache log?

2007-06-19 Thread pennyyh
What's the standard way under modperl to write logs to apache's log files including access_log and error_log? I'm currently running my own handlers under PerlHandler directives.Thanks guys. Check Out the new free AIM(R)

Re: apache version check

2007-06-18 Thread pennyyh
Try: $ cd apache_install_dir $ bin/httpd -v This would show you version info. good luck! -Original Message- From: _spitFIRE [EMAIL PROTECTED] To: modperl@perl.apache.org Sent: Mon, 18 Jun 2007 10:51 pm Subject: apache version check How do I check what version of Apache is