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]
Kovah
December 15, 2015, 9:58am
2
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
Kovah
December 15, 2015, 5:14pm
5
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.
Kovah
Closed
December 17, 2015, 10:51am
7
This topic was automatically closed after 24 hours. New replies are no longer allowed.