Re: Httpd support for internal redirects.

2017-10-21 Thread Ori Bernstein
On Sat, 21 Oct 2017 22:18:17 +0200, Anders Andersson wrote: > Maybe I don't fully understand the problem, but is it not better to > fix your broken website generator than to add more code to httpd? > It seemed like other people wanted the feature as well, and based on the

Re: Httpd support for internal redirects.

2017-10-21 Thread Anders Andersson
On Wed, Oct 11, 2017 at 6:31 AM, Ori Bernstein wrote: > My website generator is a little stupid at times. It generates > files with .html suffixes, but urls without them. > > I worked around this with some redirects, but it never felt > quite right doing an extra round trip.

Re: Httpd support for internal redirects.

2017-10-19 Thread Gregory Edigarov
as a, well, co-author of some earlier attempt on this, the developers just do not interested in this. so we are left on our own to maintain this. as a side note my diff is more functional then your's as it provides a way to test  the existence of the filesystem object before rewrite happen.

Re: Httpd support for internal redirects.

2017-10-18 Thread Ori Bernstein
Pinging this patch. On Tue, 10 Oct 2017 21:31:20 -0700 Ori Bernstein wrote: > My website generator is a little stupid at times. It generates > files with .html suffixes, but urls without them. > > I worked around this with some redirects, but it never felt > quite right

Httpd support for internal redirects.

2017-10-10 Thread Ori Bernstein
My website generator is a little stupid at times. It generates files with .html suffixes, but urls without them. I worked around this with some redirects, but it never felt quite right doing an extra round trip. Therefore, I added internal redirects, processing the rewrite before responding to an