Apache + Acces to repo denied

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Apache + Acces to repo denied

Postby julio0907 » 30. August 2019 18:38

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
julio0907
 
Posts: 2
Joined: 30. August 2019 18:17
XAMPP version: pff
Operating System: CentOS

Re: Apache + Acces to repo denied

Postby Nobbie » 30. August 2019 21:18

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.
Nobbie
 
Posts: 13171
Joined: 09. March 2008 13:04

Re: Apache + Acces to repo denied

Postby julio0907 » 30. August 2019 21:38

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 ?
julio0907
 
Posts: 2
Joined: 30. August 2019 18:17
XAMPP version: pff
Operating System: CentOS

Re: Apache + Acces to repo denied

Postby Nobbie » 31. August 2019 09:13

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...
Nobbie
 
Posts: 13171
Joined: 09. March 2008 13:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 19 guests