Re: Help me with an url rewrite

2007-08-10 Thread Nils Kaiser
Hello, well this is more of a mod_rewrite question. The problem is that you have to use the QUERY_STRING variable in order to access parameters, these are not part of the normal scope of the RewriteCond / RewriteRule stuff. Refer to the mod_rewrite guide for that. We use this to append a use

Re: berkeleyDB tie once and forever with mod_perl

2007-07-19 Thread Nils Kaiser
Hello, I was able to change our code to have the handlers called by the Apache server (PerlResponseHandler, PerlChildInitHandler, PerlChildExitHandler). What I don't understand, is in which scope/object I store the reference to the BerkeleyDB in the init handler? And of course, how I access t

berkeleyDB tie once and forever with mod_perl

2007-07-12 Thread Nils Kaiser
Hello, in a former post, I was investigating the use of berkeleyDB and mod_perl to cache calls to a web service. We now have a running prototype. To achieve full performance, I read that it better to tie the berkeleyDB once and reuse the handle for each request, i.e. having the tie command o

BerkeleyDB cache for webservice

2007-04-05 Thread Nils Kaiser
Hello, we are using a webservice to check if a user agent is a mobile or full browser. We have to integrate this on the root path of a site to redirect mobile browsers to a mobile page. After investigating, we decided to go for a mod_perl / berkeleydb solution. The berkeleydb caches the data