Re: What happened with Apache2::Reload in mod_perl-2.0.4?

2008-04-23 Thread Radoslaw Zielinski
Philippe M. Chiasson <[EMAIL PROTECTED]> [21-04-2008 09:16]: > Fred Moyer wrote: >> Geoffrey Young wrote: [...] >>> so I guess this means a mp2 release should (going forward) include _and_ >>> imply a new release of >>> o mp2 >>> o Apache-Test >>> o Apache-Reload > o Apache-SizeLimit >

Re: using subrequest to different server

2006-12-12 Thread Radoslaw Zielinski
Adam Prime x443 <[EMAIL PROTECTED]> [08-12-2006 20:40]: > If there is actually somethign like an Apache2::Proxy out there, i'd > like to hear about it. It's called mod_perl+mod_proxy... :-) You can configure mod_proxy from mod_perl using $r->proxyreq(2). See perldoc Apache2::RequestRec and my re

Re: MODPERL and Reverse Proxy [patch]

2006-12-12 Thread Radoslaw Zielinski
Jonathan Vanasco <[EMAIL PROTECTED]> [08-12-2006 21:50]: > On Dec 7, 2006, at 3:37 PM, Sumit Shah wrote: >> I want the request to come to My::RequestHandler FIRST and then go >> to the ProxyPass Directive. It does not do this. It BYPASSES my I've been working on something like this recently...

Re: Obtaining URI supplied by the client from a subrequest

2006-11-24 Thread Radoslaw Zielinski
Torsten Foertsch <[EMAIL PROTECTED]> [24-11-2006 12:41]: > On Friday 24 November 2006 12:09, Radoslaw Zielinski wrote: [...] >> Is there any smarter way than this hack? >> my $request_uri = (split /\s/, $r->the_request)[1]; > ErrorDocuments are served by internal

Obtaining URI supplied by the client from a subrequest

2006-11-24 Thread Radoslaw Zielinski
Hello, I'm redirecting to a mod_perl handler with ErrorDocument: Order allow,deny ErrorDocument 403 /login Order deny,allow SetHandler modperl PerlResponseHandler My::Handler On an unauthorized request, Apache makes a subrequest served by My::Handler::handler(). So far, so

Re: [RELEASE CANDIDATE]: Apache-Test-1.29-RC1

2006-09-13 Thread Radoslaw Zielinski
Philip M. Gollucci <[EMAIL PROTECTED]> [13-09-2006 21:50]: > Radoslaw Zielinski wrote: >> Philip M. Gollucci <[EMAIL PROTECTED]> [07-09-2006 20:07]: >>> A release candidate for Apache-Test 1.29-RC1 is now available. >> $ make test >> [...] >> t/cooki

Re: [RELEASE CANDIDATE]: mod_perl-2.0.3 RC1

2006-09-08 Thread Radoslaw Zielinski
-8<-- Start Bug Report 8<-- 1. Problem Description: t/directive/perldo.t fails. make test TEST_VERBOSE=1 output: [...] # testing : $PerlConfig # expected: 1 # received: not ok 18 # testing : $PerlConfig # expected: 1 # received: not ok 19 # testing : $P

Re: [RELEASE CANDIDATE]: Apache-Test-1.29-RC1

2006-09-08 Thread Radoslaw Zielinski
Philip M. Gollucci <[EMAIL PROTECTED]> [07-09-2006 20:07]: > A release candidate for Apache-Test 1.29-RC1 is now available. $ make test [...] t/cookiesskipped all skipped: cannot find one of cgi or cgid t/next_available_portskipped all skipped: cannot find one o

Re: [RELEASE CANDIDATE]: libapreq2 2.09-RC1

2006-09-08 Thread Radoslaw Zielinski
Philip M. Gollucci <[EMAIL PROTECTED]> [07-09-2006 20:08]: > Please download, test, and report back on the following $ make test [...] t/apreq/upload...request has failed (the response code was: 404) see t/logs/error_log for more details t/apreq/upload...dubious

Re: [RELEASE CANDIDATE] libapreq2 2.08-RC4

2006-08-23 Thread Radoslaw Zielinski
Philip M. Gollucci <[EMAIL PROTECTED]> [20-07-2006 07:17]: > autotools set 3: ac - 2.60, am: 1.9.6, lt: 1.5.22 (latest stable releases) > (autconf 2.60 does not work: gcc Apache2.c breaks ?) glue/perl/Makefile.PL messes with autoconf internals, reading config.status and trying to read PACKAG

Re: Authentication

2006-08-05 Thread Radoslaw Zielinski
Jonathan Vanasco <[EMAIL PROTECTED]> [04-08-2006 18:07]: [ ... context: storing client's IP in the session and checking if it's the same ] > internally, my ip doesn't change- and lengty connections are fine. > but every new request goes through a different transparent proxy ( > dialup109.aol.com

Re: X-Forwarded-For

2006-08-04 Thread Radoslaw Zielinski
Jonathan Vanasco <[EMAIL PROTECTED]> [04-08-2006 04:04]: > thanks for the info. i just said screwit and i wrote a new module. [...] > would people be so kind as to look it up and give me some feedback? It lacks IPv6 support. -- Radosław Zieliński <[EMAIL PROTECTED]> pgpdywpVT7EAx.pgp Descrip

Re: Authentication

2006-08-04 Thread Radoslaw Zielinski
Jonathan Vanasco <[EMAIL PROTECTED]> [03-08-2006 21:24]: > On Aug 3, 2006, at 12:31 PM, Radoslaw Zielinski wrote: >> Valid: exists, hasn't expired, client's IP matches (ID might have been >> stolen somehow), etc. > I find IP matching to be utterly useless.

Re: Authentication

2006-08-03 Thread Radoslaw Zielinski
Vladimir S. Tikhonjuk <[EMAIL PROTECTED]> [03-08-2006 13:51]: > The second method: simple handler, for example > http://localhost/login, which checks login and password, If everything > is O.K. make session, send cookie with session id. And another handler > which checks every reqest for Cookie

Broken connection filters (was: Transforming request to HTTP/1.1)

2006-08-01 Thread Radoslaw Zielinski
Radoslaw Zielinski <[EMAIL PROTECTED]> [31-07-2006 18:20]: [...] > But... this doesn't quite work. $r->protocol for these requests > contains "HTTP/0.9". The difference is: HTTP headers are neither [...] > I know I could get it done using filters, but writing t

Transforming request to HTTP/1.1

2006-07-31 Thread Radoslaw Zielinski
Hello, I'm trying to transform a not-really-HTTP request (first line containing method differs) to HTTP using PerlTransHandler, like this: sub Trans::handler { my ($r) = @_; my $method = $r->method; if ($r->method eq 'FOO') { $r->server->method_register($method); $r->met

Apache2::RequestRec->new outside Apache

2006-07-28 Thread Radoslaw Zielinski
Hello, man Apache2::RequestUtil says (in context of using $r): ,,It's possible to write your own full or partial HTTP implementation without needing a running Apache server.'' How do I do that? How to create, for example, new Apache2::Connection? $ perl -MApache2::RequestRec -MApache2::Re

log_config_module with PerlProcessConnectionHandler

2006-07-23 Thread Radoslaw Zielinski
Hello, Can I use the log_config_module (mod_log_config.so) with PerlProcessConnectionHandler somehow? Or do I have to use my own implementation? After running the attached config, I expected to see some content both in test_log and test_log2... -- Radosław Zieliński <[EMAIL PROTECTED]> LoadMod

Re: ap_get_remote_logname in PerlProcessConnectionHandler

2006-07-21 Thread Radoslaw Zielinski
Philip M. Gollucci <[EMAIL PROTECTED]> [20-07-2006 23:28]: >> writing my own implementation... But, luckily, APR seems to have the >> ap_get_remote_logname() function, interfaced to mod_perl and enabled >> by Apache2::Access ($r->get_remote_logname()). Correcting, if someone follows: it's not APR

ap_get_remote_logname in PerlProcessConnectionHandler

2006-07-20 Thread Radoslaw Zielinski
Hello, I'm developing a mp2 module implementing functionality of the spamd daemon from the SpamAssassin project. It has its own (HTTP-like) protocol, so I'm using PerlProcessConnectionHandler. I need to check user's ident (RFC 1413) and compare it with the User header. Net::Ident proved to be u

Re: new version Re: GTop-0.12 compile and installation problems

2004-04-27 Thread Radoslaw Zielinski
Stas Bekman <[EMAIL PROTECTED]> [27-04-2004 07:59]: > Radoslaw Zielinski wrote: [...] >> t/threadsok 5/6Attempt to free unreferenced scalar: SV 0x822f660 >> during global destruction. >> t/threadsok

Re: new version Re: GTop-0.12 compile and installation problems

2004-04-27 Thread Radoslaw Zielinski
Stas Bekman <[EMAIL PROTECTED]> [27-04-2004 06:30]: > Radoslaw Zielinski wrote: >> Stas Bekman <[EMAIL PROTECTED]> [27-04-2004 02:04]: >>> Ok, please try this candidate: [...] >>> I have tested it only with 2.6.0. I hope it is still working with earlie

Re: new version Re: GTop-0.12 compile and installation problems

2004-04-27 Thread Radoslaw Zielinski
Stas Bekman <[EMAIL PROTECTED]> [27-04-2004 02:04]: > Ok, please try this candidate: > http://apache.org/~stas/GTop-0.13.tar.gz > I have tested it only with 2.6.0. I hope it is still working with earlier > ones. Doesn't work with 2.6.0 (unless you have the xmalloc.h from some old installation).

Re: GTop-0.12 compile and installation problems

2004-04-27 Thread Radoslaw Zielinski
Stas Bekman <[EMAIL PROTECTED]> [27-04-2004 01:00]: > Radoslaw Zielinski wrote: >> Stas Bekman <[EMAIL PROTECTED]> [27-04-2004 00:15]: [...] > >>http://apache.org/~stas/GTop-0.13.tar.gz (which is not quite working, > >>because of the missing glibtop_fr

Re: GTop-0.12 compile and installation problems

2004-04-27 Thread Radoslaw Zielinski
Stas Bekman <[EMAIL PROTECTED]> [27-04-2004 00:15]: > Cool, so we have Radoslaw, who understands in glib/gnome and forwarded a [...] Uh, not really... :-) I just poked around in the *.h files / libgtop's documentation / changelogs and hacked it until it built. > Radoslaw, do you know how can we