Re: Suggestion on Redirect parsing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux