Re: apache 2.4.x and mod_perl 2.0

2012-03-14 Thread Brett @Google
in Apache-Test/lib/Apache/TestRun.pm line 1100, i commented out the "use warnings FATAL => 'all';" i still get : cc -I/home/govops/build-new/mod_perl-2.0-apache24/src/modules/perl -I/home/govops/build-new/mod_perl-2.0-apache24/xs -I/usr/local/directory-libs/include/apr-1 -I/usr/local/directory-li

Re: apache 2.4.x and mod_perl 2.0

2012-03-14 Thread Brett @Google
I checked it out and got : ~/build-new/mod_perl-2.0-apache24> perl Makefile.PL MP_APR_CONFIG=/usr/local/apache-libs/bin/apr-1-config MP_APXS=/usr/local/apache24/bin/apxs Reading Makefile.PL args from @ARGV MP_APR_CONFIG = /usr/local/directory-libs/bin/apr-1-config MP_APXS = /usr/local/apache

Re: acces control via cookies for webdirectories again

2012-03-14 Thread Perrin Harkins
On Wed, Mar 14, 2012 at 3:57 AM, Timon Roth wrote: > i habe tried also a second scenario with the PerlProcessConnectionHandler > and the PerlPreConnectionHandler. > > i must then first read the header from the client via the socket. thats very > cool. but how can i then route the client forward to

RE: acces control via cookies for webdirectories

2012-03-14 Thread Josh Narins
This sounds like you want a PerlAuthenHandler for that. http://perl.apache.org/docs/2.0/user/handlers/http.html#HTTP_Request_Cycle_Phases > Josh Narins Director of Application Development SeniorBridge 845 Third Ave 7th Floor New York, NY 10022 Tel: (212) 994-6194 Mobile: (917) 488-6248 Fax: (

Re: apache 2.4.x and mod_perl 2.0

2012-03-14 Thread Brett @Google
I don't want to re-invent the wheel, i was just poking around in the trunk.. but didn't know there was a 2.4 branch :) I could not see links to anything new on the download page, i'll check out the 2.4 branch now and report back.. Maybe you can list the branch under the "Development" links.. with

Re: apache 2.4.x and mod_perl 2.0

2012-03-14 Thread Torsten Förtsch
On Wednesday, 14 March 2012 19:35:40 Brett @Google wrote: > Apache 2.4.x seems to have changed... You are very welcome to work on the httpd 2.4 port. But please check out http://svn.apache.org/repos/asf/perl/modperl/branches/httpd24 as a starting point. It probably compiles and passes most tes

apache 2.4.x and mod_perl 2.0

2012-03-14 Thread Brett @Google
Hi All, Apache 2.4.x seems to have changed / deprecated things.. things i have noticed : in ./src/modules/perl/modperl_constants.c if OPT_INCNOEXEC is not present, as OPT_INCNOEXEC is now OPT_INCLUDES c->remote_ip gone, and now split into c->client_ip (tcp endpoint) and c->useragent_ip (e.g. X-F

acces control via cookies for webdirectories again

2012-03-14 Thread Timon Roth
hello list i habe tried also a second scenario with the PerlProcessConnectionHandler and the PerlPreConnectionHandler. i must then first read the header from the client via the socket. thats very cool. but how can i then route the client forward to the desired page he initially used wanted t

acces control via cookies for webdirectories

2012-03-14 Thread Timon Roth
hello list i try to figure out, how to protect webspace with mod_perl. the situation is like this: someone wants to access a certrain file on the webserver. if he have a cookie set, this one will be validatet by a remote database and, if the database allow the access, the access to the direct