httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Gingras <thu...@apache.org>
Subject Re: [users@httpd] Suggestion on Redirect parsing
Date Sun, 25 Feb 2018 00:16:08 GMT
No, it would produce http://www.example.comindex.html

The directive allows for optional trailing slashes for flexibility, i.e.
Redirect /foo http://www.example.com/bar

On Sat, Feb 24, 2018 at 5:29 PM, @lbutlr <kremels@kreme.com> wrote:

> The syntax for redirect treats
>
> Redirect / http://www.example.com
>
> as a request to redirect, for example, index.html as "
> http://www.example.com.index.html"
>
> Since I can't think of any reason that this could possibly be desired, it
> seems the parser should understand that when only a FQDN is specified with
> a URL scheme, the final '/' is assumed.
>
> this would still allow for http://www.example.com/new formats, etc, and
> would only apply to the specific format xxxx://FQDN
>
> (Although I think even this syntax should assume a final / and that if the
> "append . and location" behavior is wanted the format should be
>
> http://www.example.com/new.
>
> But that would possibly break existing configs for no real gain.
>
>
> --
> Lisa Bonet ate no Basil
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message