gpt4 book ai didi

symfony - AH01797 : client denied by server configuration

转载 作者:行者123 更新时间:2023-12-04 18:45:11 31 4
gpt4 key购买 nike

在 Microsoft 云中的 Ubuntu 16.04 服务器上,以下内容:

AH01797: client denied by server configuration: /home/projectmana/projectmana_s3/web/



../sites-enabled/000-default.conf:
DocumentRoot /home/projectmana/projectmana_s3/web

<Directory /home/projectmana/projectmana_s3/web>
AllowOverride None
Order Allow,Deny
Require all granted

<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>
</Directory>

还:
projectmana@admin:~/projectmana_s3$ ls -al
total 188
drwxrwxr-x 11 projectmana www-data 4096 Feb 14 13:20 .
drwxr-xr-x 12 projectmana projectmana 4096 Feb 14 13:17 ..
drwxrwxr-x 4 projectmana www-data 4096 Feb 14 13:17 app
drwxrwxr-x 2 projectmana www-data 4096 Feb 14 13:22 bin
-rw-rw-r-- 1 projectmana www-data 2969 Feb 14 13:17 composer.json
-rw-rw-r-- 1 projectmana www-data 127411 Feb 14 13:17 composer.lock
drwxrwxr-x 8 projectmana www-data 4096 Feb 14 13:17 .git
-rw-rw-r-- 1 projectmana www-data 273 Feb 14 13:17 .gitignore
drwxrwxr-x 2 projectmana www-data 4096 Feb 14 13:17 nbproject
-rw-rw-r-- 1 projectmana www-data 978 Feb 14 13:17 phpunit.xml.dist
-rw-rw-r-- 1 projectmana www-data 68 Feb 14 13:17 README.md
drwxrwxr-x 3 projectmana www-data 4096 Feb 14 13:17 src
drwxrwxr-x 2 projectmana www-data 4096 Feb 14 13:17 tests
drwxrwxrwx+ 5 projectmana www-data 4096 Feb 14 13:22 var
drwxrwxr-x 26 projectmana www-data 4096 Feb 14 13:20 vendor
drwxrwxr-x 7 projectmana www-data 4096 Feb 14 13:22 web

和:
projectmana@admin:~/projectmana_s3$ ls -al ./var/cache
total 16
drwxrwxrwx+ 4 projectmana www-data 4096 Feb 14 13:24 .
drwxrwxrwx+ 5 projectmana www-data 4096 Feb 14 13:22 ..
drwxrwxrwx+ 6 projectmana www-data 4096 Feb 14 13:22 dev
-rwxrwxrwx+ 1 projectmana www-data 0 Feb 14 13:17 .gitkeep
drwxrwxrwx+ 3 projectmana www-data 4096 Feb 14 13:24 prod

最佳答案

需要添加:Allow from All !!!

关于symfony - AH01797 : client denied by server configuration,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48797158/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com