'never mind. It's a HP-UX specific stuff. The problem shows up because of
the following reason :

On HP-UX, accept has the following syntax (by default)
        int accept(int s, void *addr, int *addrlen);

AND, socklen_t is also available. Thus, apache assumes the accept to be
something like :
        int accept(int s, struct sockaddr *addr, socklen_t *addrlen);

the problem should go away if I define _XOPEN_SOURCE_EXTENDED..
Question : can I safely assume that apache is Unix98 / X-Open sockets
compatible ??.

-Madhu

-----Original Message-----
From: MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 3:32 PM
To: '[EMAIL PROTECTED]'
Subject: problem with client address/port in access_log


Hi,
        I'm trying to get apache 2.0.32 working on Itanium/HP-UX, and I'm
running into the following problem :

0.0.0.0 - - [26/Mar/2002:15:27:48 -0800] "GET / HTTP/1.1" 200 1456
0.0.0.0 - - [26/Mar/2002:15:27:51 -0800] "GET /apache_pb.gif HTTP/1.1" 200
2326

I don't understand why we get 0.0.0.0.. Any ideas as to what might be
happening ?..

-Madhu

Reply via email to