I use Apache under Fedora
My httpd.conf
looks like this:
<Directory /var/tmp/meta>
Options -Indexes
AllowOverride None
Require all granted
</Directory>
I ran sudo chown -R apache:apache /var/tmp/meta
, and when I try to access to http://localhost/var/tmp/meta/my_file.json
I receive the error below:
You don't have permission to access /var/tmp/meta/my_file.json on this server.
Does anybody know how to fix this?
试试这个chmod -R 777 /var/tmp/meta
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.