Enabling SSL with XAMPP

ColacX picture ColacX · Apr 27, 2011 · Viewed 272.4k times · Source

I've been following this guide as much as I could http://robsnotebook.com/xampp-ssl-encrypt-passwords .

However whenever I browse to a page starting with https the apache server replies 404 Object Not Found.

What setting I am missing? Thanks for any help.

Answer

ColacX picture ColacX · Apr 28, 2011

Found the answer. In the file xampp\apache\conf\extra\httpd-ssl.conf, under the comment SSL Virtual Host Context pages on port 443 meaning https is looked up under different document root.

Simply change the document root to the same one and problem is fixed.