htaccess 640 B

12345678910111213141516171819
  1. ## Run InvoicePlane in a subfolder
  2. ## If you are using a subfolder please remove the hash in front of the line ‘#RewriteBase /subfolder’
  3. ## and replace ‘subfolder’ with the actual name of your folder, i.e. ‘RewriteBase /invoices’
  4. <IfModule mod_rewrite.c>
  5. RewriteEngine On
  6. #RewriteBase /subfolder
  7. RewriteRule ^index\.php$ - [L]
  8. RewriteCond %{REQUEST_FILENAME} !-f
  9. RewriteCond %{REQUEST_FILENAME} !-d
  10. RewriteRule . /index.php [L]
  11. ## Remove the hash in front of the following two lines if you want to force HTTPS
  12. #RewriteCond %{HTTPS} off
  13. #RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
  14. </IfModule>