Re: Apache::Registry

2002-07-21 Thread Nathan Byrd
Albert, I'm not sure if this solves your problem, but I believe that Apache::RegistryNG compiles based on the filename instead of the uri (since it is derived from Apache::PerlRun, but overrides namespace_from() to be shift->{r}->filename). Thanks, Nathan Byrd On Sun, 2002-07-21 at 14:41, Alb

Hiding perl code

2002-07-21 Thread Jonathon M. Robison
Anyone know offhand a good way to hide your perl code when using mod_perl? Acme::Bleach isn't doing it - httpd is failing to start on initial test, and then on second test I find that httpd.conf suddenly got a 'use Acme::Bleach' inserted at line 1 and the whole thing is bleached. Perhaps perl2

Re: mod_proxy_add_forward.c

2002-07-21 Thread Thomas Eibner
On Mon, Jul 22, 2002 at 10:47:35AM +1000, Jie Gao wrote: > That's great. But what I am after is the difference between To me it seemed like you expected something magically to appear in your access logs, so sorry. > X-Forwarded-For The ip of the remote client > X-Forwarded-Host The Host origi

Re: mod_proxy_add_forward.c

2002-07-21 Thread Jie Gao
On Mon, 22 Jul 2002, Thomas Eibner wrote: > On Mon, Jul 22, 2002 at 08:34:08AM +1000, Jie Gao wrote: > > On Sat, 20 Jul 2002, Ask Bjoern Hansen wrote: > > > > > As you may know then the proxy module in httpd 2.0 incorporates the > > > X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Server > > >

Re: mod_proxy_add_forward.c

2002-07-21 Thread Thomas Eibner
On Mon, Jul 22, 2002 at 08:34:08AM +1000, Jie Gao wrote: > On Sat, 20 Jul 2002, Ask Bjoern Hansen wrote: > > > As you may know then the proxy module in httpd 2.0 incorporates the > > X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Server > > functionality of mod_proxy_add_forward.c. > > What ar

Re: mod_proxy_add_forward.c

2002-07-21 Thread Jie Gao
On Sat, 20 Jul 2002, Ask Bjoern Hansen wrote: > As you may know then the proxy module in httpd 2.0 incorporates the > X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Server > functionality of mod_proxy_add_forward.c. What are the differences between them? I have: ProxyPass /my-bin/ http://12

Re: Apache Hello World Benchmarks

2002-07-21 Thread Josh Chamas
Perrin Harkins wrote: > > Despite the intentionally misleading nature of Microsoft's "benchmark", > it did get me thinking about what sort of benchmarking options exist for > comparing languages and platforms. The "Hello World" and "Hello 2000" > benchmarks are pretty small (understandably so

Apache::Registry

2002-07-21 Thread Albert Micheev
Hallo modperl, I think, that there is an error in logic of the Apache::Registry. RewriteRule ^/(de|fr|es|ru|tt|en)(/(.*))?$ /cgi-bin/script.pl/$3 [E=LANGUAGE:$1] Each call of the script with different languages initiates compilation of the script, while in hash $Apache::Registry->{$package} $pa