Re: [mod_perl] Re: Content compression FAQ

2003-07-11 Thread Jonathan M. Hollin
At 04/07/2003 17:29, Slava Bizyayev wrote: I've just updated the content at http://devl4.outlook.net/devdoc/FAQ/compression.html . It's very good Slava. Concise, informative and thorough. There is a small mistake in the section, "Q: How hard is it to implement content compression on an existing

Undocumented behaviour in Apache->print()?

2003-07-11 Thread Steve Hay
Hi, I've just spent quite a while tracking down a problem with a web page generated by a mod_perl program in which 8-bit ISO-8859-1 characters were not being shown properly. The software runs via Apache::Registry, and works fine under mod_cgi. It turns out that the problem is due to a differe

Re: ProxyPass not getting type of dynamic images?

2003-07-11 Thread HLiu
It is tricky. Try this: my $format = $graph->export_format; $r->content_type("image/$format"); binmode STDOUT; print STDOUT $graph->plot([EMAIL PROTECTED])->$format(); return Apache::OK; It works for me. Willy

Re: untainting PATH in mod_perl

2003-07-11 Thread Dominique Quatravaux
> Sorry, getting out of good ideas.. Surprise, surprise: I found out that my code does not work under mod_perl 1.23 either! And I found the real solution: one has to add PerlSetupEnv Off to the Apache configuration file. Now the untainting mumbo-jumbo in section works. Warning: this h

mod_perl 2.0 and cookies

2003-07-11 Thread Jamie Krasnoo
So I’ve decided to dive headlong into 2.0. So far I like it but find the documentation lacking and there seems to be a lot missing. I tried Apache::Cookie with it, no dice. It gave an error to the effect that it didn’t know what “bootstrap” was (I think that was it). Apache::Cookie made ins

Re: mod_perl 2.0 and cookies

2003-07-11 Thread Dennis Stout
> So I've decided to dive headlong into 2.0. So far I like it but find the > documentation lacking and there seems to be a lot missing. I tried > Apache::Cookie with it, no dice. It gave an error to the effect that it > didn't know what "bootstrap" was (I think that was it). Apache::Cookie > made i

Re: mod_perl 2.0 and cookies

2003-07-11 Thread Randy Kobes
On Fri, 11 Jul 2003, Jamie Krasnoo wrote: > So I've decided to dive headlong into 2.0. So far I like it but > find the documentation lacking and there seems to be a lot > missing. I tried Apache::Cookie with it, no dice. It gave an > error to the effect that it didn't know what "bootstrap" was (I

RE: mod_perl 2.0 and cookies

2003-07-11 Thread Randy Kobes
On Fri, 11 Jul 2003, Ross Matt-QMR000 wrote: > I would really like to be removed from this list but the > un-scribe does not work for me. the problem is the mail address > that I used way back when has been aliases to different > address. Try sending a message to [EMAIL PROTECTED] for some sugges

Dynamically banning hosts

2003-07-11 Thread Mustafa Tan
Is it possible to dynamically ban IP addresses using mod_perl. Like even the first connection from the specified ip will be rejected. I know that you can do this using httpd.conf but I am wondering how to do the same dynamically while Apache is running. Also how can I cope with denial of service a

RE: Dynamically banning hosts

2003-07-11 Thread Jesse Erlbaum
Hi Mustafa -- > Is it possible to dynamically ban IP addresses using > mod_perl. Like even the first connection from the > specified ip will be rejected. I know that you can do > this using httpd.conf but I am wondering how to do the > same dynamically while Apache is running. Yes, it is possible