Advertisement
Guest User

Untitled

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