Page 1 of 1

Xampp: can I make it work with https?

Posted: Tue Jul 14, 2015 7:38 am
by simonmlewis
We are now having our main website on SSL, so have updated htaccess to use SSL.
However, this means XAMPP won't run the site because it's trying to replace the http.
So can XAMPP work with SSL and make some sort of fake certificate to run locally, or do I have to have a developer version of HTACCESS that's non SSL?

Re: Xampp: can I make it work with https?

Posted: Tue Jul 14, 2015 7:52 am
by Celauran
simonmlewis wrote:We are now having our main website on SSL, so have updated htaccess to use SSL.
Better to do this in the vhost if you can. http://httpd.apache.org/docs/2.4/rewrite/avoid.html
simonmlewis wrote:However, this means XAMPP won't run the site because it's trying to replace the http.
Also solved by the above.
simonlewis wrote:So can XAMPP work with SSL and make some sort of fake certificate to run locally
I'm sure it can. I've done that plenty on Linux and OS X. Not a Windows user myself, but there are plenty of resources
https://www.google.com/search?q=windows ... 8&oe=utf-8

I've used something like this: http://brianflove.com/2014/12/01/self-s ... -yosemite/
Not sure if it will be of use given the different OS