M
M
mavpa12020-04-23 17:05:41
Apache HTTP Server
mavpa1, 2020-04-23 17:05:41

Give Apache write permissions to a directory other than /home/user/web?

I have centos 7 with a Vesta panel, I want to enable fwrite from php to folders that are located higher than /home/user/web/. Added to apache config:

<Directory "/root/caches">
    AllowOverride All
    Options Indexes FollowSymLinks
    Require all granted
    Allow from all
</Directory>


but didn't help. The rights to the /root/caches folder are 777, the owner is root. Yes, this is a crutch and unsafe, but I need such a temporary solution at the moment.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question