Advertisement
Guest User

Untitled

a guest
Mar 13th, 2021
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  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.  
  5. <IfModule mod_rewrite.c>
  6.  
  7. RewriteEngine On
  8. #RewriteBase /subfolder
  9. RewriteRule ^index\.php$ - [L]
  10. RewriteCond %{REQUEST_FILENAME} !-f
  11. RewriteCond %{REQUEST_FILENAME} !-d
  12. RewriteRule . /index.php [L]
  13.  
  14. ## Remove the hash in front of the following two lines if you want to force HTTPS
  15. RewriteCond %{HTTPS} off
  16. RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
  17.  
  18. </IfModule>
  19.  
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement