在Microsoft云中的Ubuntu 16.04服务器上,以下内容:
AH01797:服务器配置拒绝客户端: /家庭/ projectmana / projectmana_s3 /网络/
../ / 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
答案 0 :(得分:1)
需要添加:Allow from All
!!!