Page 1 of 1

Apache + Acces to repo denied

PostPosted: 30. August 2019 18:38
by julio0907
Hello guys,
I installed a xamp server on a CentOS VM.
From there I dropped the code of an application in the WWW repo.
I put in my browser the URL of the application and I can properly reach the configuration
page of the application (Normal).
Now, during the configuration the application is trying to create log file in a folder.
Problem: I have always a problem of permission so impossible to install anything.
I tried:
> To give apache user the sudo privilege
> To give 777 access to the application repo
Its not working.
FI: It's working perfectly fine on a windows VM
Thanks a lot for your help guys

Re: Apache + Acces to repo denied

PostPosted: 30. August 2019 21:18
by Nobbie
julio0907 wrote:> To give apache user the sudo privilege


Thats useless in any case, Apache does not use sudo.


julio0907 wrote:> To give 777 access to the application repo


What do you mean bý that?? I dont know any Linux tool how to grant 777 to an APPLICATION?? You can give 0777 to files and folders, but not to applications, thats weird! And what is "repo"??

So what are you doing? You need to "chmod 0777" to all files and folders in your project. I dont know your project and neither your files and folders. But you should know.

Re: Apache + Acces to repo denied

PostPosted: 30. August 2019 21:38
by julio0907
Repo means repository, so means I already did a Chmod -R 777 on my application folder
Is there any way that apache overwrite the linux access right ?

Re: Apache + Acces to repo denied

PostPosted: 31. August 2019 09:13
by Nobbie
No.

What do you mean by WWW repo? There is no such thing in Xampp, are you sure you are running Xampp? Xampp installs into /opt/lampp and the DocumentRoot is /opt /lampp/htdocs. No WWW anywhere...