Struglling with https

I am strugling with https. I have installed and configured Invoiceplane. It works fine on hhtp. I’m working on a dev vm so i created my own self signed cert. I uncommented these lines:

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://invoices.test.net/$1 [R=301,L]

When i point my browser to the installation url, i get the expected ssl warning as my cert is self-signed, I accept the warning, and then I get a 404 page not found error. The url then changes to https://invoices.test.net/var/www/billing/sessions/login.

I don’t know what I doing wrong here.

See Wrong URL in 1.4.7

Thank you very much. You are a star. Just that little change and I can access the installation on https on my subdomain. Time to take things online with a commercial cert.

Please support Let’s Encrypt by using their free certificates. :slight_smile:

1 Like