From nobody@hyperreal.com Thu Feb 27 11:02:23 1997 Received: by taz.hyperreal.com (8.8.4/V2.0) id LAA08611; Thu, 27 Feb 1997 11:02:23 -0800 (PST) Message-Id: <199702271902.LAA08611@taz.hyperreal.com> Date: Thu, 27 Feb 1997 11:02:23 -0800 (PST) From: Mark Bentley Reply-To: bentlema@cs.umn.edu To: apbugs@hyperreal.com Subject: SERVER_NAME not being resolved X-Send-Pr-Version: 3.2 >Number: 207 >Category: os-irix >Synopsis: SERVER_NAME not being resolved >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Feb 27 11:10:01 1997 >Last-Modified: Sat Mar 22 15:09:59 PST 1997 >Originator: bentlema@cs.umn.edu >Organization: >Release: 1.2b7 >Environment: IRIX 6.2, gcc >Description: The SERVER_NAME environment variable isn't being fully expanded to the complete host.domain name format. I.e. if I connect to http://ftp/cgi-bin/ident.cgi the SERVER_NAME variable gets set to only "ftp", when it should be resolved to "ftp.cs.umn.edu" This problem doesn't occur on our IRIX 5.3 apache server. >How-To-Repeat: To demonstrate this problem, DNS needs to be configured locally such that ftp and ftp.cs resolve to ftp.cs.umn.edu. For example, our client /etc/resolv.conf looks like this: domain cs.umn.edu nameserver 128.101.248.7 nameserver 128.101.248.58 nameserver 128.101.101.101 search cs.umn.edu umn.edu >Fix: Explicitly do a DNS resolution, and set SERVER_NAME to it? (Should be quick as long as /etc/hosts has entries too.%2 >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: dgaudet State-Changed-When: Sat Mar 22 15:09:59 PST 1997 State-Changed-Why: User error, part of the whole virtual host confusion situation. >Unformatted: