Re: mp2 static build on HPUX11i: tests

2004-05-19 Thread olivier . blanc

Hello,

I am comming back on the client IP address problem that I have.

On my HPux system, I could reproduce the problem with a small program that listen on a socket and try to print remote address.
Depending on compilation mode, the field that store the address length doesnt have the same type. Which cause the problem to me.
I am in the process of recompiling Apache with the type forced to int, and I will let you know how it turns.

But anyway, this would mean that this problem is definitely not a problem of mod_perl.
So, the last problem that I see is the linking problem... I'll continue to investigate on that point.

Thanks for your help during all this process.

olivier







Stas Bekman <[EMAIL PROTECTED]>
10/05/2004 09:37

        
        Pour :        [EMAIL PROTECTED]
        cc :        "Philippe M. Chiasson" <[EMAIL PROTECTED]>, mod_perl Mailing List <[EMAIL PROTECTED]>
        Objet :        Re: Réf. : Re: mp2 static build on HPUX11i: tests


[EMAIL PROTECTED] wrote:
[...]
>>Perfect. So it's not an issue with mod_perl.
> 
> 
>>>What could I check to go further ?
>>
>>I suppose it's your IPv6 setup. You probably have the localhost entry 
> 
> mapped 
> 
>>to ::1 in /etc/hosts?
>>::1 localhost
> 
> 
> Actually I donnot have this line in /etc/hosts

What do you have in there? Could it be that on your platform it resides in 
some other file?

>>I suppose we could test for '127.0.0.1' || '0.0.0.0'. Any difference if 
> 
> you 
> 
>>replace it with:
>>127.0.0.1 localhost
> 
> 
> I always have the same result, even If I test from another host... So 
> might it be a problem with Apache 2.0.49 ?

I don't know. Could you ask at the apache users list[1]? Don't mention 
mod_perl, say that you get 0.0.0.0 with mod_php or mod_cgi using 
$ENV{REMOTE_ADDR} and ask why, giving the other details (platforms, sample 
script/etc).

[1] http://httpd.apache.org/lists.html#http-users

-- 
__
Stas Bekman            JAm_pH --> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html





Re: Réf. : Re: mp2 static build on HPUX11i: tests

2004-05-10 Thread Stas Bekman
[EMAIL PROTECTED] wrote:
[...]
Perfect. So it's not an issue with mod_perl.


What could I check to go further ?
I suppose it's your IPv6 setup. You probably have the localhost entry 
mapped 

to ::1 in /etc/hosts?
::1 localhost


Actually I donnot have this line in /etc/hosts
What do you have in there? Could it be that on your platform it resides in 
some other file?

I suppose we could test for '127.0.0.1' || '0.0.0.0'. Any difference if 
you 

replace it with:
127.0.0.1 localhost


I always have the same result, even If I test from another host... So 
might it be a problem with Apache 2.0.49 ?
I don't know. Could you ask at the apache users list[1]? Don't mention 
mod_perl, say that you get 0.0.0.0 with mod_php or mod_cgi using 
$ENV{REMOTE_ADDR} and ask why, giving the other details (platforms, sample 
script/etc).

[1] http://httpd.apache.org/lists.html#http-users

--
__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Réf. : Re: mp2 static build on HPUX11i: tests

2004-05-10 Thread olivier . blanc







Stas Bekman <[EMAIL PROTECTED]>
07/05/2004 19:31

        
        Pour :        [EMAIL PROTECTED]
        cc :        "Philippe M. Chiasson" <[EMAIL PROTECTED]>, mod_perl Mailing List <[EMAIL PROTECTED]>
        Objet :        Re: mp2 static build on HPUX11i: tests


>>>2) the rest of the tests fail on $ENV{REMOTE_ADDR} and $r->remote_address 
>>>returning 0.0.0.0 instead of 127.0.0.1. Sounds like an ipv6 issue to me. but 
>>>since all those running ipv6 didn't report that problem that sounds as either 
>>>a bug in Apache on HPUX11i or some OS issues. Olivier, could you try a mod_cgi 
>>>script that prints out  $ENV{REMOTE_ADDR}, when your client is running on the 
>>>same machine and when it's running from another machine? Thanks.
>> I checked that variable through PHP. It gave me the same result : 0.0.0.0

>Perfect. So it's not an issue with mod_perl.

>> What could I check to go further ?
> I suppose it's your IPv6 setup. You probably have the localhost entry mapped 
> to ::1 in /etc/hosts?
>::1 localhost

Actually I donnot have this line in /etc/hosts

>I suppose we could test for '127.0.0.1' || '0.0.0.0'. Any difference if you 
>replace it with:
>127.0.0.1 localhost

I always have the same result, even If I test from another host... So might it be a problem with Apache 2.0.49 ?

-- 
Olivier



Re: mp2 static build on HPUX11i: tests

2004-05-07 Thread Stas Bekman
2) the rest of the tests fail on $ENV{REMOTE_ADDR} and $r->remote_address 


returning 0.0.0.0 instead of 127.0.0.1. Sounds like an ipv6 issue to me. 
but 

since all those running ipv6 didn't report that problem that sounds as 
either 

a bug in Apache on HPUX11i or some OS issues. Olivier, could you try a 
mod_cgi 

script that prints out  $ENV{REMOTE_ADDR}, when your client is running on 
the 

same machine and when it's running from another machine? Thanks.


I checked that variable through PHP. It gave me the same result : 0.0.0.0
Perfect. So it's not an issue with mod_perl.

What could I check to go further ?
I suppose it's your IPv6 setup. You probably have the localhost entry mapped 
to ::1 in /etc/hosts?

::1 localhost

I suppose we could test for '127.0.0.1' || '0.0.0.0'. Any difference if you 
replace it with:

127.0.0.1 localhost
--
__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: mp2 static build on HPUX11i: tests

2004-05-07 Thread olivier . blanc

Hey Stas,







Stas Bekman <[EMAIL PROTECTED]>
04/05/2004 19:38

        
        Pour :        [EMAIL PROTECTED], mod_perl Mailing List <[EMAIL PROTECTED]>, "Philippe M. Chiasson" <[EMAIL PROTECTED]>
        cc :        
        Objet :        Re: mp2 static build on HPUX11i: tests




>2) the rest of the tests fail on $ENV{REMOTE_ADDR} and $r->remote_address 
>returning 0.0.0.0 instead of 127.0.0.1. Sounds like an ipv6 issue to me. but 
>since all those running ipv6 didn't report that problem that sounds as either 
>a bug in Apache on HPUX11i or some OS issues. Olivier, could you try a mod_cgi 
>script that prints out  $ENV{REMOTE_ADDR}, when your client is running on the 
>same machine and when it's running from another machine? Thanks.

I checked that variable through PHP. It gave me the same result : 0.0.0.0

What could I check to go further ?

olivier



Re: mp2 static build on HPUX11i: tests

2004-05-04 Thread Stas Bekman

Here are the results you asked for :
t/TEST -clean
t/TEST -v t/api/module.t t/apr/netlib.t t/compat/conn_rec.t 
t/modperl/setupenv.t  t/preconnection/note.t
Thanks. So it all comes down to two issues.
1) Apache::Module::loaded('mod_perl.so')
t/api/module1..11
# testing : Apache::Module::loaded('mod_perl.so')
# expected: 1
# received: 0
not ok 6
It makes sense that mod_perl.so is not loaded, since it doesn't exist. 
Philippe, I wonder how this test has passed for you.

2) the rest of the tests fail on $ENV{REMOTE_ADDR} and $r->remote_address 
returning 0.0.0.0 instead of 127.0.0.1. Sounds like an ipv6 issue to me. but 
since all those running ipv6 didn't report that problem that sounds as either 
a bug in Apache on HPUX11i or some OS issues. Olivier, could you try a mod_cgi 
script that prints out  $ENV{REMOTE_ADDR}, when your client is running on the 
same machine and when it's running from another machine? Thanks.

__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html