Re: SSL - mod_gzip - mod_perl = mod_proxy error

2002-10-19 Thread Igor Sysoev
On Fri, 18 Oct 2002, Nigel Hamilton wrote:

Even better ...  is there a way to do SSL compression in mod_perl
with only one server?

mod_deflate. http://sysoev.ru/mod_deflate/mod_deflate-1.0.15.tar.gz
Documentation is in Russian only but feel free to ask me directly.
There is also Babelfish translation at:
http://pflanze.mine.nu/~chris/mod_deflate/mod_deflate_readme_EN.html

mod_deflate compresses any module output (except pre-1.3.24 mod_proxy,
however I did not test it with 1.3.24+ mod_proxy).
It works with mod_ssl correctly.

ProxyRequests On

This directive is not needed for reverse proxying.
It makes yet another public proxy.


Igor Sysoev
http://sysoev.ru




Re: [OT] Perl vs. PHP..... but where is mod_perl?

2002-10-19 Thread Chris Winters
On Fri, 2002-10-18 at 17:46, Tobyn Baugher wrote:
 As someone fairly new to mod_perl could you make a suggestion of a good
 alternative to Apache::Cookie? I was using it just because, like
 Apache::Request, it was *there*.

The pure-perl CGI::Cookie works fine.

Chris

-- 
Chris Winters ([EMAIL PROTECTED])
Building enterprise-capable snack solutions since 1988.




mp2.0 Apache::Cookie

2002-10-19 Thread Rafael Amer Ramon

Hi.

I'm trying to upgrade my apache+mod_perl server form versions 1.3.27 
(Apache) and 1.27 (mod_perl) to versions 2.0.43 and 2.0 but I have
a problem with cookies.

With mod_perl 1.27 I use Apache::Cookie from libapreq-1.0 and I cannot
fount a similar module for mod_perl 2.0.

Does anybody knows how I can handle cookies, send and get values,
in a mod_perl 2.0 handler?

Thanks.


--
 _/_/  _/_/_/_/  _/_/_/  Rafael Amer Ramon
_/_/  _/_/  _/   Departament de Matemàtica Aplicada II
   _/_/  _/_/_/_/  _/E.T.S.E.I.T.
  _/_/  _/_/ Universitat Politècnica de Catalunya
 _/_/_/_/  _/_/_/_/_/e-mail: [EMAIL PROTECTED]
--




Re: [OT] Perl vs. PHP..... but where is mod_perl?

2002-10-19 Thread Perrin Harkins
[EMAIL PROTECTED] wrote:


Btw when I mean escalate, i mean that the odds of any browser getting 
a segfaulting page were increased, not that they are random - a 
particular request - URI,User-Agent,Accept,Cookie, etc combo - 
consistently segfaults, at least for a few days.


Then it's probably fixable, but the people who could fix it are mostly 
off working on mod_perl 2.

While trying to debug this we replaced Apache::Cookie (i'm not certain 
if every instance of which, but I think we did) with regexes against 
$r-header_in(Cookie), to no avail.

At this point we are using Apache::Cookie and not overriding 
Apache::Subrequest::run(), and this is working without the segfaults.
But, we just recently tried to add an additional call to 
Apache::Cookie for our ad system and they all came right back.


Then, again, I would stop using Apache::Cookie.  You don't need it, and 
using it seems to cause problems..

- Perrin



Re: [OT] Perl vs. PHP..... but where is mod_perl?

2002-10-19 Thread Perrin Harkins
Chris Winters wrote:


On Fri, 2002-10-18 at 17:46, Tobyn Baugher wrote:
 

As someone fairly new to mod_perl could you make a suggestion of a good
alternative to Apache::Cookie? I was using it just because, like
Apache::Request, it was *there*.
   


The pure-perl CGI::Cookie works fine.



That's a good one, and so is CGI::Simple::Cookie.

- Perrin