You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1996/03/27 02:09:50 UTC
Re: cvs commit: apache/src http_protocol.c
BTW - Have you had a look in the httpd/incoming directory at a
submission called mod_rewrite?
> On Mon, 25 Mar 1996, Alexei Kosut wrote:
> > Add routine to internally parse full-URI requests that are directed to the
> > server (e.g. "GET http://www.apache.org/ HTTP/1.0"), regardless of whether
> > or not a proxy module is installed. If the server and port do not match where
> > the server is currently listening, the request is passed on untouched.
>
> This doesn't appear to check for requests matching virtual hosts.
>
> Also, when we finally have the host in the request in one form or another,
> I'd like to be able to redirect requests for anything but the canonical
> hostname. I.e. a request for
>
> http://apache.org/
>
> is redirected to
>
> http://www.apache.org/
>
> and
>
> http://204.152.144.28/
>
> is redirected to
>
> http://www.apache.org/
>
> Hell, I want
>
> http://www.apache.org:80/
>
> redirected to
>
> http://www.apache.org/
>
> Brian
>
> --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
> brian@organic.com | We're hiring! http://www.organic.com/Home/Info/Jobs/