Re: missing modules

2007-01-09 Thread Jonathan Vanasco
The stuff below should work , or at least give you an idea. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Network

No output to browser with no errors!?

2007-01-09 Thread Sean P Quinlan
OK, this is probably just a dumb programmer error on my part, but it is now almost 1am for me and I can't find anything in the docs. I have a mod_perl (Apache & mod_perl 2 on SuSE 10.1) module destined to handle a requests for a set of possible URLs under a location. SetHandler modperl

missing modules

2007-01-09 Thread Tracy12
Hi, I have the following piece of code within my perl module, intention is to update the REMOTE_USER variable. I am using apache 2.2 with mod_perl 2.0 on Fedora core 5. $r->connection->user($user2); but at run time it gives the following error. Can't locate object method "connection" via p

Re: [mp2] Perl Auth Handlers and mod_proxy : losing querystring on remote server (BUG?)

2007-01-09 Thread Geoffrey Young
Sylvain Perrot wrote: > Hi, > > This is working !!! > Good point... But how to handle the authentication as I wanted (no http > authentication but my own authentication module ...) you can always use your own authentication module, but you need to be sure to follow the proper steps. what those a

RE: [mp2] Perl Auth Handlers and mod_proxy : losing querystring on remote server (BUG?)

2007-01-09 Thread Sylvain Perrot
Hi, This is working !!! Good point... But how to handle the authentication as I wanted (no http authentication but my own authentication module ...) Sylvain -Original Message- From: Geoffrey Young [mailto:[EMAIL PROTECTED] Sent: mercredi, 10. janvier 2007 01:47 To: Sylvain Perrot Cc: M

Re: [mp2] Perl Auth Handlers and mod_proxy : losing querystring on remote server (BUG?)

2007-01-09 Thread Geoffrey Young
Geoffrey Young wrote: >> >> AuthType Basic >> AuthName "Test Authentication" >> AuthUserFile /www/xperience.ch/conf/.htpasswd >> require valid-user >> > > > next test - I won't be able to do any more work tonight, so if this doesn't work here's what I'd suggest... are you running any

Re: [mp2] Perl Auth Handlers and mod_proxy : losing querystring on remote server (BUG?)

2007-01-09 Thread Geoffrey Young
> >AuthType Basic >AuthName "Test Authentication" >AuthUserFile /www/xperience.ch/conf/.htpasswd >require valid-user > next test - keep all that the same but substitute PerlAuthenHandler My::Authen for AuthUserFile /www/xperience.ch/conf/.htpasswd and use this handler:

RE: [mp2] Perl Auth Handlers and mod_proxy : losing querystring onremote server (BUG?)

2007-01-09 Thread Sylvain Perrot
Hi, It was a nice try ... I setup the VirtualHost with a ProxyMatch directive : httpd.conf : -- ServerAdmin [EMAIL PROTECTED] ServerName www.domain.tld ProxyPreserveHost On ProxyPass / http://10.0.0.100/ ProxyPass

RE: [mp2] Perl Auth Handlers and mod_proxy : losing querystring on remote server (BUG?)

2007-01-09 Thread Sylvain Perrot
Hi, I tried the following in httpd.conf : -- ServerAdmin [EMAIL PROTECTED] ServerName www.domain.tld ProxyPreserveHost On ProxyPass / http://10.0.0.100/ ProxyPassReverse / http://10.0.0.100/ CustomLog /www/doma.tl

Re: [mp2] Perl Auth Handlers and mod_proxy : losing querystring on remote server (BUG?)

2007-01-09 Thread Geoffrey Young
Perrin Harkins wrote: > Does it help any if you use ProxyMatch instead of LocationMatch? also, try substituting your PerlAuthenHandler for normal .htpasswd-style authentication at the same place - mod_perl doesn't do much to interact with the request record, which is where the query string is stor

Perl handlers/PerlAuthenHandler

2007-01-09 Thread Tracy12
Is it always necessary to declare the perl module as PerlAuthenHandler in order to update the REMOTE_USER variable. Cant we just define as PerlHandler and inside the module update the REMOTE_USER. Currently I am using the following to update the remote user $r->connection->user($user); e.g

Re: [mp2] Perl Auth Handlers and mod_proxy : losing querystring on remote server (BUG?)

2007-01-09 Thread Perrin Harkins
Does it help any if you use ProxyMatch instead of LocationMatch? - Perrin >

[mp2] Perl Auth Handlers and mod_proxy : losing querystring on remote server (BUG?)

2007-01-09 Thread Sylvain Perrot
Hi, After 2 days trying to resolve my problem, I am close to think about a bug in mod_perl used with mod_proxy. let summarize my problem in case someone could help me : CLIENT --> Reverse-Proxy ---> Application Servers Reverse-Proxy is : Linux, Apache 2.0.59, mod_perl 2.0.3 Applicat

Re: The server encountered an internal error

2007-01-09 Thread Perrin Harkins
On Mon, 2007-01-08 at 16:54 -0800, Tracy12 wrote: > within my perl module (inside test_Method2) I have simple re direct as > follows > > sub test_Method2 { > my $urlNew = "www.mail.yahoo.com"; > printf "Location: $urlNew\n\n"; Just use print here, not printf. > It hits the test_Method2 method b

Re: The server encountered an internal error

2007-01-09 Thread Michael Peters
Tracy12 wrote: [snip] > More information about this error may be available > in the server error log. > > Apache/2.2.0 (Fedora) Server at localhost Port 80 > > > > What I am I missing? The line above says to check the error logs on the server. "tail -f" is your friend. -- Michael Peters

RE: PerlAuthenHandler, PerlAuthzHandler, Reverse Proxy and Web Services Problem

2007-01-09 Thread Sylvain Perrot
Hi Everybody, I moved forward on my problem ... My problem is very simple : If I call a page served by the PerlModule, the QueryString is not passed to the proxied server - http://ip:port/protected/page.aspx?test=true -> QueryString is present ! - http://rp-name/protected/page.aspx?test=true

Re: PerlAuthenHandler, PerlAuthzHandler, Reverse Proxy and Web Services Problem

2007-01-09 Thread Issac Goldstand
Frank Wiles wrote: > > The best way to think about it is like this: > > PerlAccessHandler > is this IP allowed? > PerlAuthenHandler > is this username allowed? > PerlAuthzHandler> is this group allowed? > Small correction: PerlAccessHandler