mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
20 lines
488 B
ApacheConf
20 lines
488 B
ApacheConf
<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]
|
|
|
|
# Enable this to enforce https access
|
|
# RewriteCond %{SERVER_PORT} 80
|
|
# RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,L]
|
|
</IfModule>
|