[英]Forbidden: You don't have permission to access /< on this server - Windows
[英]You don't have permission to access a file on this server
我在Fedora下使用Apache
我的httpd.conf
看起來像這樣:
<Directory /var/tmp/meta>
Options -Indexes
AllowOverride None
Require all granted
</Directory>
我運行了sudo chown -R apache:apache /var/tmp/meta
,當我嘗試訪問http://localhost/var/tmp/meta/my_file.json
,出現以下錯誤:
您無權訪問此服務器上的/var/tmp/meta/my_file.json。
有人知道如何解決此問題嗎?
試試這個chmod -R 777 /var/tmp/meta
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.