the MP gets good performance

2013-01-03 Thread Feng He
Hi, I am running an application with MP2, it's running with two webservers (with DNS round-robin) and a DB server (mysql). The OS is ubuntu Linux, Apache's server version: Apache/2.2.14. Apache handles the requests directly, there is no proxy in front. Last day one of the server got unique access

Re: alias command in modperl environment

2012-12-19 Thread Feng He
Thanks a lot. 于 2012-12-19 23:02, Andy Colson 写道: On 12/19/2012 2:40 AM, Feng He wrote: Hello, ServerAdmin x...@yyy.com ServerName example.com PerlModule Apache::DBI PerlPostConfigRequire /path/to/startup.pl SetHandler modperl

Re: alias command in modperl environment

2012-12-19 Thread Feng He
于 2012-12-19 16:47, Jie Gao 写道: What's the error message in your errlog.log? it simply said access reject.

alias command in modperl environment

2012-12-19 Thread Feng He
Hello, ServerAdmin x...@yyy.com ServerName example.com PerlModule Apache::DBI PerlPostConfigRequire /path/to/startup.pl SetHandler modperl PerlResponseHandler Handler1 SetHandler modperl

A question for security

2012-12-14 Thread Feng He
Hi, Though this is nothing about modperl but a security question about the development environment. I use bitbucket.org's private git hosting for my project development. I just git clone the repo dir from the remote orginal. And I will use directly this dir as app directory ( my handlers, registr

Re: A question about the dumplicated named global variables

2012-11-09 Thread Feng He
> > BTW, to avoid confusion I'd prevent the import() function from being > called in startup.pl by either > >   use Config1 (); >   use Config2 (); > > or > >   BEGIN { > require Config1; > require Config2; >   } > > Torsten Thanks Torsten. So if I don't use them in the startup.pl, then n

Re: A question about the dumplicated named global variables

2012-11-08 Thread Feng He
Hello, Nobody knows this item? thanks. 07.11.2012, 12:01, "Feng He" : > Hello, > > Sorry I now have a queston about this case. > > I have two PM for config options: > > package Config1; > use strict; > require Exporter; > > our @ISA = qw(Export

A question about the dumplicated named global variables

2012-11-06 Thread Feng He
Hello, Sorry I now have a queston about this case. I have two PM for config options: package Config1; use strict; require Exporter; our @ISA = qw(Exporter); our $example_var; our @EXPORT = qw($example_var); $example_var =1; 1; package Config2; use strict; require Exporter; our @ISA = qw(E

Re: Apache::DBI

2011-08-02 Thread Feng He
Hi, Thank you all for the info. I have finished writting the handler this morning, and have enabled Apache::DBI in httpd.conf. My handler is for this url: http://bizstatus.game.yy.com/upload/ It accept client's uploaded data and write the data to database. The strange stuff is, when I run more t

Apache::DBI

2011-08-02 Thread Feng He
Hi, I just want to develop a modperl application. It's a handler, the database is Mysql. Shall I use Apache::DBI, or DBI is just fine ? Thank u. Regards.

Re: unsuscribe

2011-07-14 Thread Feng He
for the users who want to unsubscribe from this list please send an empty email to modperl-unsubscr...@perl.apache.org instead of sending to the list itself. 2011/7/15 RGKärcher > > unsuscribe