Creating on my host

Trying to load invoicePlane on 1and1.com hosting server.

Created the database…ok
Uploaded the software to a subdirectory…ok (…com/invoices)
Changed my .htaccess file ok (I think)

<IfModule mod_rewrite.c>

# Remove index.php
RewriteEngine on
RewriteBase /invoices
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]

# Enable the following if you want to force HTTPS access:
#RewriteCond %{SERVER_PORT} 80
#RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,L]

</IfModule>

Get -404 error and sometimes database.php error.

This is information from my host (1and1.com)
Server: db611436901.db.1and1.com via TCP/IP
Server type: MySQL
Server version: 5.5.46-0+deb7u1-log - (Debian)
Protocol version: 10
User: dbo611436901@10.72.2.8

Apache/2.2.22
Database client version: libmysql - mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $
PHP extension: mysqli

I have no idea how to change mod_write etc… which I have been reading about.

Any ideas about what i am doing wrong.

Please use this small guide to disable the .htaccess functionality.