404 after setup

Hi, i instaled InvoicePlane to root of my new hosting. After setup i get login page. Type credentials and pres login, after this i get 404.

.htaccess

RewriteEngine On

RewriteCond %{REQUEST_URI} !^subdom/
RewriteCond %{REQUEST_URI} !^/subdom/
RewriteCond %{HTTP_HOST} ^(www\.)?(.*)\.([^\.]*)\.([^\.]*)$
RewriteCond %{DOCUMENT_ROOT}/subdom/%2 -d
RewriteRule (.*) subdom/%2/$1 [DPI]

RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^subdom/[^/]+/(.+[^/])$ /$1/ [R]

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

What is the purpose of these directives?

RewriteCond %{REQUEST_URI} !^subdom/
RewriteCond %{REQUEST_URI} !^/subdom/
RewriteCond %{HTTP_HOST} ^(www\.)?(.*)\.([^\.]*)\.([^\.]*)$
RewriteCond %{DOCUMENT_ROOT}/subdom/%2 -d
RewriteRule (.*) subdom/%2/$1 [DPI]

RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^subdom/[^/]+/(.+[^/])$ /$1/ [R]

In root i have folder subdom where every folder goes to 3rd domain like folder1.example.com folder2.example.com.

I try turnon debug -> resul:

http://pastebin.com/THAF8w0d

After deleting rewritecond for subdom, nothing change

Please follow the instructions here: Unsuccesfull installation

Finaly i found where the problem is. I didnt know how but when i unpacked zip vith InvoicePlan in application/modules/dashboard/controllers/ was nothing. After uploading dashboard.php its look ok.
Thanks for your time a sorry for my misfortune.

This topic was automatically closed after 24 hours. New replies are no longer allowed.