mod_alias' Redirect with dynamic host

2014-01-22 Thread Thomas Eckert
Some time ago I put up HTTP to HTTPS redirects in place which now needed an update so they would not only work for constant host names but use the 'Host' header information as target host. So a simple Redirect permanent / https://example.org/ wasn't enough. I wanted to avoid using mod_rewrite

Re: mod_alias' Redirect with dynamic host

2014-01-22 Thread Graham Leggett
On 22 Jan 2014, at 5:36 PM, Thomas Eckert thomas.r.w.eck...@gmail.com wrote: Some time ago I put up HTTP to HTTPS redirects in place which now needed an update so they would not only work for constant host names but use the 'Host' header information as target host. So a simple Redirect

Re: mod_alias' Redirect with dynamic host

2014-01-22 Thread Thomas Eckert
I remember a discussion about general support for this kind of expression parsing after I asked for it via IRC/list but cannot remember what became of it. It would definitely be neat to have that kind of thing in there - much less copy-n-paste like config sections ! Glad to hear there's progress

Re: mod_alias' Redirect with dynamic host

2014-01-22 Thread Marian Marinov
On 01/22/2014 05:42 PM, Graham Leggett wrote: On 22 Jan 2014, at 5:36 PM, Thomas Eckert thomas.r.w.eck...@gmail.com mailto:thomas.r.w.eck...@gmail.com wrote: Some time ago I put up HTTP to HTTPS redirects in place which now needed an update so they would not only work for constant host names