Is mod_perl for web app still active today?

2022-09-19 Thread Ken Peng
greetings, I personally use both perl and ruby for development. for web apps the more popular framework is rails. But I did know mod_perl well, I think it's a powerful tool integrated with Apache webserver. May I know if mod_perl is still active on web development today? Thank you -- Ken

access control

2017-10-19 Thread Ken Peng
Hi, for a common object on server, for example, http://a.com/b.jpg, when it can be accessed by client, I want to apply some access control on it, for example, the IP based AC rules. How will mod_perl handler deal with this? thanks.    Regards,   Ken Peng

Re: Using non threaded MPM but still compile error

2015-09-22 Thread Ken Peng
pearl with ithreads and call it a day however, would opt not to do so if this is the case still. -- B. Regards, Ken Peng - k...@cloud-china.org

Re: API Docs

2014-05-16 Thread Ken Peng
$r stands for the connection handle IMO. Most like the $dbh in a database connection. On Thu, May 15, 2014 at 7:52 AM, Worik Stanton wrote: > I am still trying to fathom the API. > > I have struck a snag with the documentation. > > > https://perl.apache.org/docs/2.0/api/Apache2/Connection.html#S

Re: About config file

2013-03-06 Thread Ken Peng
于 2013-3-7 11:15, Jie Gao 写道: You can follow this: http://perl.apache.org/docs/2.0/devel/core/coding_style.html if you are after a standard coding style. Regards, Thanks. but I don't think it's something about coding style.

Re: About config file

2013-03-06 Thread Ken Peng
于 2013-3-7 11:07, Eduardo Arino de la Rubia 写道: For relatively simple needs, check this out: http://modperlbook.org/html/4-2-11-PerlSetVar-and-PerlAddVar.html Cheers! Thanks. But my config file is a complicated data stru, it's a multi-level hash, more likely the JSON.

About config file

2013-03-06 Thread Ken Peng
Hello, How do you setup config file in modperl web development? I currently use the style like a package: package Myconfig; sub new { my $class = shift; my $option = { key1 => 'foo', key2 => 'bar', ... }; bless $option,$class; } 1; Then in the modperl program: use Myconfig; my