Submitted by Locutus on Fri, 03/07/2014 - 06:51
I was just trying to use the "Server Configuration -> Website Redirects" function to create an http->https redirect. I found that that function adds the redirects to both the SSL and non-SSL virtual host.
Suggestion: Allow the user to choose whether a redirect created with that function goes to the non-SSL and/or SSL virtual host.
(I know I can create the redirects directly in Webmin's Apache module, but well, you know... Virtualmin is about comfort. ;) )
Status:
Closed (fixed)
Comments
Submitted by andreychek on Fri, 03/07/2014 - 09:35 Comment #1
Jamie, this is a pretty good idea if it's feasible within the Website Redirects screen.
Setting up a redirect from a non-SSL site to the SSL one is a common reason folks would add a redirect, but it sounds like the current method would cause a redirect loop when doing that.
Submitted by Locutus on Fri, 03/07/2014 - 09:40 Comment #2
Yep, Eric is exactly right. :) At this time, since the redirect is added to both the non-SSL and the SSL site, it'll result in an endless loop. Firefox nicely informs me about that when I try to load the page.
Submitted by JamieCameron on Fri, 03/07/2014 - 11:40 Comment #3
That's a nice idea - I'll look into this.
Submitted by JamieCameron on Sun, 03/09/2014 - 01:22 Comment #4
This has been implemented, for inclusion in the next Virtualmin release.
Submitted by Locutus on Sun, 03/09/2014 - 05:16 Comment #5
Jamie the coding machine did it again. ;)
Submitted by Issues on Sun, 03/23/2014 - 05:21 Comment #6
Automatically closed -- issue fixed for 2 weeks with no activity.