Can't access directory when changing directory to "www-data" for InvoiceNinja

#1
Hi, so i want to install InvoiceNinja. Now it needs to have `www-data` perms. Now OLS says then "Access to this resource on the server is denied!". I did change runs as to "www-data" for user and group in Vhost config. Also did try to make the whole OLS with "www-data" but that dind't help either Help!
 

Cold-Egg

Administrator
#2
Apply www-data to the whole lsws folder is incorrect.
Once you changed the permission, better to reinstall OLS in order to apply the right permission to each folder.
Code:
apt-get -y install --reinstall openlitespeed
Let us know if it works.
 
#3
Apply www-data to the whole lsws folder is incorrect.
Once you changed the permission, better to reinstall OLS in order to apply the right permission to each folder.
Code:
apt-get -y install --reinstall openlitespeed
Let us know if it works.

Hi, so i've changed run as to www-data as shown in the screenshot and runned the command: "
apt-get -y install --reinstall openlitespeed" but still tresource denied error
 

Attachments

Cold-Egg

Administrator
#4
I thought you want to change the user and group via WebAdmin> Server Configuration > General > Running As?
Or do you want to run PHP as www-data only?
 
Top