<VirtualHost *:80>
    DocumentRoot /var/www/html/invoiceninja/public
 
    <Directory "/var/www/html/invoiceninja/public">
        AllowOverride None
        Order Allow,Deny
        Allow from All
 
        <IfModule mod_rewrite.c>
            RewriteEngine On
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteRule ^(.*)$ index.php [QSA,L]
        </IfModule>
    </Directory>
</VirtualHost>
