Re: set environment variables in tomcat

2011-06-01 Thread Kim Goldov
Thanks everyone. Here is what I ended up with. In my PerlHeaderParserHandler: $r->subprocess_env(AA_MYVAR => 'myvalue'); $r->subprocess_env(); In jk.conf: JkEnvVar AA_MYVAR In Tomcat: out.println("AA_MYVAR is: " + request.getAttribute("AA_MYVAR") ); -- Kim

set environment variables in tomcat

2011-05-26 Thread Kim Goldov
I'm connecting to a tomcat server from our web server using mod_jk. I'm setting environment variables with each request in the PerlAuthenHandler and PerlHeaderParserHandler. I'm able to read the variables in PHP, perl fcgi, and wsgi, however they are not being passed to tomcat. Is there a way to pa

Re: [ANNOUNCE] Apache2::AuthAny

2011-04-27 Thread Kim Goldov
k to the source! A good place to post > development versions before uploading an 'official' release to CPAN is > GitHub - http://github.com > > On Wed, Mar 23, 2011 at 1:52 PM, Kim Goldov wrote: > > I’ve created a module we are calling Apache2::AuthAny. The module >

Re: [ANNOUNCE] Apache2::AuthAny

2011-03-25 Thread Kim Goldov
to maintain its own permanent cookie in its database for control over recognition or authentication states. Kim On Fri, Mar 25, 2011 at 5:39 AM, Perrin Harkins wrote: > On Wed, Mar 23, 2011 at 4:52 PM, Kim Goldov wrote: > > We would like to release Apache2::AuthAny on CPAN. > &g

[ANNOUNCE] Apache2::AuthAny

2011-03-23 Thread Kim Goldov
I’ve created a module we are calling Apache2::AuthAny. The module utilizes other authentication modules or internal code, and provides a single “GATE” page where the end user can choose between authentication mechanisms. AuthAny currently provides login to the “Distribute System”, which is used to

Re: Release Apache module

2011-01-14 Thread Kim Goldov
Thanks Perrin. Would it be appropriate to name and package our application as "Apache::AuthAny" or "Apache2::AuthAny". I have not tested under Apache 1.3, and have no intent to do so. Kim On Fri, Jan 14, 2011 at 8:33 AM, Perrin Harkins wrote: > Hi Kim, > > > Are there > > published guidelines o

Release Apache module

2011-01-13 Thread Kim Goldov
I've written a mod_perl application, "mod_auth_any", that allows users to be authenticated by any authentication mechanism or provider. It currently supports Shibboleth, OpenID (Google), LDAP, and basic auth. Are there published guidelines on how to package modules that are based on mod_perl? The m

PerlFixupHandler doesn't run after authz phase returns HTTP_UNAUTHORIZED

2010-09-23 Thread Kim Goldov
I've written a module, "auth_any" that allows a user to be authenticated by any mechanism including OpenID (Google), Basic auth, LDAP, or Shibboleth (Protect Network). My PerlAuthenticationHandler checks for a cookie, and if not found, redirects to a page containing a list of links for each auth me

Re: Multiple Aliases in Perl Section name virtual hosts

2004-08-09 Thread Kim Goldov
Philippe M. Chiasson wrote: >> Does the following patch solve the problem for you ? > > ? make.log > Index: lib/Apache/PerlSections.pm > === > RCS file: /home/cvs/modperl-2.0/lib/Apache/PerlSections.pm,v > retrieving revision 1.5 > di

Multiple Aliases in Perl Section name virtual hosts

2004-08-05 Thread Kim Goldov
I'm using a section to configure name virtual hosts. I would like to have multiple aliases defined in each virtual host, however I was only able to define a single alias in the virtual host. This works ... $VirtualHost{"_default_"} = [ {