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
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
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
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
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
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
>
>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:
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
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
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
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
Does it help any if you use ProxyMatch instead of LocationMatch?
- Perrin
>
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
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
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
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
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
17 matches
Mail list logo