www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Wuebbeling <frank.wuebbel...@ESCHER.UNI-MUENSTER.DE>
Subject mod_alias/1040: Can't redirect /
Date Fri, 22 Aug 1997 12:30:02 GMT

>Number:         1040
>Category:       mod_alias
>Synopsis:       Can't redirect /
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Fri Aug 22 05:30:02 1997
>Originator:     frank.wuebbeling@math.uni-muenster.de
>Release:        1.2.3
Linux 1.2.20 (and sparc-solaris), doesn't matter.
All the documents in our server are located *under* the URL
(that is, all our documents are prefixed by math), because we are part of
a network of servers, and we own the "math"-part of the server. So, if
we get a request for the root document
we cannot serve it, rather we must redirect this request to the master http
server. Until now, we used the CERN server for this using the directive
redirect / http://www.uni-muenster.de/
This does not work with apache, because it assumes that the fake URL (the
first argument of redirect) is always the beginning of a path, so if we
use the above directive, /whatever will be redirected to
http://www.uni-muenster.de/whatever and we will never get a chance to serve
one single document. (Actually, I'd really like to redirect "Everything
but /math" to our master server).

Don't know. There should be a way of specifying that the fake path
is to be taken literally, probably by adding a $-sign to the path

View raw message