1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Apache impossible to write in folder

Discussion in 'Apache' started by julio0907, Sep 1, 2019.

  1. #1
    Hello guys,
    I installed an apache server on a CentOS VM.
    From there I dropped the code of an application in the WWW repository.
    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
    SEMrush
     
    julio0907, Sep 1, 2019 IP
    SEMrush
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    999
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    130
    #2
    • Check the permissions of the folders that you are trying to have the user "apache" write to.
    • Review the error_log file for the Apache web server to help pinpoint the issue.
    • You may have SELinux turned on, turn it of then try your tests again to see if it is the issue.
    Regards,
    Chris
     
    RHS-Chris, Sep 3, 2019 IP