dering in which way the $geo_ip is sharable through the threads.
we are using "server/mpm/prefork"
Thanks.
--
Fayland Lam // http://www.fayland.org/
Foorum based on Catalyst // http://www.foorumbbs.com/
memory will almost always be faster than having to hit the database
>> (especially if it's on another machine). But the biggest reason is that it
>> takes the load off the DB and puts it on the web machines which are much
>> easier to scale linearly.
>>
>> > I know a lot of true app servers (Websphere, etc..) store
>>>
>>> this data in cached memory,
>>
>> You could do the same with your session data, or even store it in a shared
>> resource like a BDB file. But unless it's available to all of your web
>> servers you're stuck with "sticky" sessions and that's a real killer for
>> performance/scalability.
>>
>> --
>> Michael Peters
>> Plus Three, LP
>
>
--
Fayland Lam // http://www.fayland.org/
to do, someone may be able to suggest an alternative.
Something linke java servlet's global variable.
sorry for the typo, something like ...
--
Fayland Lam // http://www.fayland.org/
stand from the documentation.
>
> - Perrin
>
> 2010/10/29 Jeff Pang :
>> is Apache::Session or CGI::Session better for mod_perl?
>>
>> Thanks.
>>
>
--
Fayland Lam // http://www.fayland.org/
try Dancer. which is very suitable for small application. just one file.
Thanks
On Fri, Oct 29, 2010 at 8:37 PM, Jeff Pang wrote:
> 于 2010-10-29 20:28, Fayland Lam 写道:
>>
>> try a framework. that's much more popular. :)
>>
>
> I wrote a small application with
;> /some/ temporary response to the client (*), regularly, so that this browser
>> timeout does not occur.
>> Unfortunately, that is a bit more complicated to set up, than just some
>> parameter somewhere.
>> But there must be plenty of past discussions of this issue already on the
>> www, and solution guidelines.
--
Fayland Lam // http://www.fayland.me/
黄叶 wrote:
but, if i had a project, i want put the all thing a directory. Can i do
like that? if I don't use the ModPerl::Registry or edit the
ModPerl::Registry, that is correct? or there are the other way? thanks.
it works on my side:
# for ModPerl::Registry scripts
Alias /perl/ "C:/Apache2/p
let me describe my situation. we have something like
http://o1.example.com/1.jpg
http://o2.example.com/2.gif
http://o3.example.com/4.jpg
and we have a table like:
img | site
1.jpg | o1
2.gif | o2
and now we want the people visit this by
http://o.example.com/1.jpg
http://o.example.com/2.
Frank Maas wrote:
I think i'm using the wrong handler, but is there any handler can handle
this problem?
As far as I can remember mod_rewrite kicks in after a PerlTransHandler. This
should enable you to use a TransHandler to rewrite the URI based on the
database contents, eg:
http://o.exampl
let me explain in Chinese, :)
in the org.conf
use lib qw(/var/org);
PerlModule Zorpia::RewriteOrg
PerlTransHandler Zorpia::RewriteOrg
The PerlTransHandler 能把 url 转变为另一个 url, 比如我们就是将类如
http://org.
Fayland Lam wrote:
let me explain in Chinese, :)
in the org.conf
use lib qw(/var/org);
PerlModule Zorpia::RewriteOrg
PerlTransHandler Zorpia::RewriteOrg
The PerlTransHandler 能把 url 转变为另一个 url, 比如我们就是将类如
David Dick wrote:
Fayland Lam wrote:
my $dbh = DBI->connect("DBI:mysql:zorpia:z3-1.zorpia.com",
'zorpia', 'fok8fok2',
G'day Fayland,
Please note that including credentials in a post to a public mailing
list is probably not a good idea. If you
12 matches
Mail list logo