You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Michael Weissman <wm...@trendline.co.il> on 1998/12/08 16:33:01 UTC

general/3506: can not locate an REMOTE_ADDR. If Netscape Server is running on the same comp it's working...

>Number:         3506
>Category:       general
>Synopsis:       can not locate an REMOTE_ADDR. If Netscape Server is running on the same comp it's working...
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Dec  8 07:40:00 PST 1998
>Last-Modified:
>Originator:     wmichael@trendline.co.il
>Organization:
apache
>Release:        1.3.3 ; 1.2.5
>Environment:
IRIX 6.2
IRIX 6.5
>Description:
here is a very simple script:
#!/usr/freeware/bin/perl
    print "Content-type: text/html\n\n";
    chop($date=`/bin/date`);
    print "Today is: $date<br>\n";
    print "Your Hostname: $ENV{'REMOTE_HOST'}<br>\n";
    print "Your IP Address: $ENV{'REMOTE_ADDR'}<br>\n";
exit 0;

>How-To-Repeat:
http://damsel.trendline.co.il/cgi-bin/who.cgi

>Fix:
no idea, here is a line from log file:

255.255.255.255 - - [08/Dec/1998:17:16:03 -0800] "GET /cgi-bin/who.cgi HTTP/1.0" 200 100

IP address is: 255.255.255.255 <--- problem
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]