Re: [webmin-l] Backup and Restore on SSL Sites

John Hinton <[email protected]>
Newsgroups gmane.comp.web.webmin.general
Message-ID <[email protected]>

On 2/3/2017 8:29 PM, Jamie Cameron wrote:
> On 02/Feb/2017 09:01 John Hinton <[email protected]> wrote ..
>> Hi Jamie,
>>
>> Do you ever feel like telling us all to go jump in a lake? Maybe even
>> filled with alligators?
> Never! I love bug reports :-)
You are officially warped! Thank God. I'm not alone!
>
>> I ran a backup of a SSL site to another server. Then a restore on the
>> other server. It didn't pick up the apache directives. It seems to be
>> looking for the port 80 VirtualHost container and not seeing the port
>> 443 container.
>>
>> The browsers don't want mixed content, so we're rolling through
>> converted sites replacing all internal links and any external links that
>> have a https option. Once done, we're doing a permanent redirect from
>> http to https. From what I read, this is how it should be done... and we
>> know everything you read on the net it true. ;)
> Hmmm .. was this backup and restore done using Virtualmin? If so, it should
> have brought both the port 80 and 443 virtualhosts across.
>   
>
Yes, this was using Virtualmin.

Here's what I'm doing:
1. Create a SSL site on an existing  non-SSL Virtual Server.
2. I don't see a method for killing the non-SSL version, so I manually 
convert the port 80 entry to a permanent redirect to the port 443 site 
manually in my apache vhost.conf file.
3. Backup the Virtual Server to another system with Virtualmin.
4. Restore that backup.

I'll get around to running another one of these pretty soon and let you 
know more about what happens.

Or, maybe I'm doing something using a wrong method within Virtualmin? 
Maybe Virtualmin could have a "Convert Site to SSL Only" function, which 
would convert the port 80 side to a permanent redirect to the https 
site? Or maybe that ability is there and I'm just dense? I've been under 
serious sleep deprivation for the last several months. HAH!


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.