To force https
I used
RewriteCond %{HTTPS} !=on
RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L]
Redirect /index.wml https://billing.litonfire.design/login
I had to use the redirect because after adding the first two lines in .htaccess it kept forcing me to /index.wml for some reason.
my whole htaccess looks like
RewriteCond %{HTTPS} !=on
RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L]
Redirect /index.wml https://billing.litonfire.design/login
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
# http://stackoverflow.com/a/20865084/497368
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# In case of running InvoiceNinja in a Subdomain like invoiceninja.example.com,
# you have to enable the following line:
RewriteBase /
</IfModule>
To get it working…
Is this wrong?
Also, ran into an issue when using (view on website) via the iframe setup.
My client clicked the approve button, and it gave back a “oops something when’t wrong” message after, then I went in and clicked it and it work.
Now an “Approve” button is stuck on that quote. It will not go away even though the system already auto generated an invoice.
Quick question: Is it possible to have the system send out an email with invoice when it auto generates a invoice from a quote?
I think it was because I changed the settings / system settings / application settings to URL https:// from http:// after changing it back to http:// everything is working fine, even though I am running both my website that the iframe is on and the subdomain that invoice ninja is on in SSL
There is not much documentation on this, should this link be https:// after setup to SSL or keep it as http:// or should it not have the http:// in this address at all for application url?
I am pointing my subdomain to the /public folder as recommended.
One other issue I have experienced is
Under “products” if I try to use the dropdown to delete a product instead of saying “delete” it says “texts.delete_product” and if I click it it sends me to address /products/bulk and says “whoops, looks like something went wrong”
Thanks for any help.
Regards,
Kyle