riainvoice/htaccess
gandhimathi Bharathirajan c940cb1a2c all files
2017-09-11 14:38:03 +05:30

19 lines
640 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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