You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ol...@dgi.finances.gouv.fr on 2004/05/12 12:38:14 UTC
[users@httpd] REMOTE_ADDR always returns 0.0.0.0
Bonjour,
when trying to get the value of REMOTE_ADDR environment variable with
mod_php ot mod_cgi, I always got the same result : 0.0.0.0
Is it a known problem on Apache 2.0.49 or did I do something wrong while
recompiling Apache ? Might it be a problem with IPV6/IPV4 ?
Here is my environment :
[root@w44h]:/opt/hpws/apache2/bin> uname -a
HP-UX w44h B.11.11 U 9000/800 1753907651 unlimited-user license
*** /opt/hpws/apache2/bin/httpd -V
Server version: Apache/2.0.49
Server built: Apr 28 2004 10:02:11
Server's Module Magic Number: 20020903:7
Architecture: 64-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/opt/hpws/apache2"
-D SUEXEC_BIN="/opt/hpws/apache2/bin/suexec"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Thanks for your help
Olivier
----------------
Olivier Blanc
Bureau SI6 / DFPRO / ET
Ministère des Finances
Tel.: +33(0)240 128 909
mailto:olivier.blanc@dgi.finances.gouv.fr
Re: [users@httpd] REMOTE_ADDR always returns 0.0.0.0
Posted by Joe Orton <jo...@redhat.com>.
On Wed, May 12, 2004 at 12:38:14PM +0200, olivier.blanc@dgi.finances.gouv.fr wrote:
> Bonjour,
>
> when trying to get the value of REMOTE_ADDR environment variable with
> mod_php ot mod_cgi, I always got the same result : 0.0.0.0
> Is it a known problem on Apache 2.0.49 or did I do something wrong while
> recompiling Apache ? Might it be a problem with IPV6/IPV4 ?
This is a known 2.0 bug, I think it got fixed for the 2.0.50 release
just recently... the report includes a patch:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16317
Regards,
joe
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org