Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

404 Not Found on sub-directory hosted setup

David Clark   ( User )

Commented 5 years ago

Posting here as I believe the other one I replied to is inactive???
As seen this with PHP Cake installs - it is something in the document root or something that eludes me at present with actually starting the akaunting app. I have installed CentOS 7 some time back, updated it, update PHP to 7.0 (remi repo). I have the following in Apache in its own conf file - akaunting is just a directory off the LAN IP, not a host on its own sitting in its own root doc which is where the issue is for sure - must be .htaccess or something failing.

/etc/httpd/conf.d/lo_akaunting.conf contents:


Alias /akaunting /u/www/akaunting


 


  Options Indexes FollowSymlinks MultiViews


  AllowOverride All


  Require all granted


  allow from all


 


 


and server LAN IP is 192.168.201.9 so when I go to:

192.168.201.9/akaunting

I get:


192.168.201.9/akaunting/auth/login.php

with the web tab label of "404 Not Found" and page content of:


Not Found


 


The requested URL /u/www/akaunting/index.php was not found on this server.z


.... but ls -l shows:

-rw-r--r-- 1 apache apache 795 Feb 20  2018 /u/www/akaunting/index.php

Would love to trial the software to see if I can get off the dreaded ancient MYOB software which runs on Windows but is a deal breaker at present as I can't even start the software to run it.

Marco Bridge   ( User )

Commented 5 years ago

Where is that other one???


Check out the following instructions


https://akaunting.com/docs/installation


https://www.vultr.com/docs/installing-akaunting-on-centos-7

David Clark   ( User )

Commented 5 years ago

The other discussion is there under a similar title from a month ago?


I have been installing LAMP based apps since LAMP was a 'thing'. I have seen both the links you posted plus countless others. Only suggestions/answers I saw talk about enabling Apache mod_rewrite which is enabled by default with CentOS , and I have confirmed this.


 


The issue seems to me to be being a sub-folder (http://192.168.201.9/akaunting) issue. I set up another VM the other day where I can make the akaunting by default be the Document Root (http://192.168.201.x) which will most likely work but I really need this to run as a sub-folder alongside others, not be the Document Root...


 


Will get back to testing this but at present I  am looking at other packages as well which are working as sub-folders.

Please login or register to leave a response.

Showing 1 to 3 of 3 discussions