www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kim Bisgaard <...@dmi.dk>
Subject general/3421: Directory name redirects does not use "ServerName" with "UseCanonicalName=on"
Date Thu, 19 Nov 1998 09:30:55 GMT

>Number:         3421
>Category:       general
>Synopsis:       Directory name redirects does not use "ServerName" with "UseCanonicalName=on"
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Nov 19 01:40:01 PST 1998
>Last-Modified:
>Originator:     kib@dmi.dk
>Organization:
apache
>Release:        1.3.0
>Environment:
IRIX dorothea 6.3 IP32
gcc-2.7.2.2
>Description:
I am behind a firewall thus if ny server returns its own hostname
the user wil get an error.

httpd.conf:
ServerName gate.dmi.dk
UseCanonicalName on

Test request and answer to show the problem:
GET /fsweb/projects/oersted HTTP/1.0
host: fswebhost

HTTP/1.1 301 Moved Permanently
Date: Thu, 19 Nov 1998 09:11:14 GMT
Server: Apache/1.3.0 (Unix)
Location: http://dorothea/fsweb/projects/oersted/
Connection: close
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>301 Moved Permanently</TITLE>
</HEAD><BODY>
<H1>Moved Permanently</H1>
The document has moved <A HREF="http://dorothea/fsweb/projects/oersted/">here</A>.<P>
</BODY></HTML>
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@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!         ]




Mime
View raw message