我已經安裝在VirtualBox中一個centos7,在它運行的Apache httpd的,MariaDB的,phpMyAdmin的等,主機的MacOSapache httpd的地圖網址到VirtualBox的共享文件夾
,當我嘗試將URL映射到一個共享文件夾,我遇到錯誤
Forbidden: You don't have permission to access /tutorial/ on this server.
須藤尾-f /無功/日誌/的httpd/error_log中
[Wed Oct 19 22:48:23.108758 2016] [autoindex:error] [pid 1469] (13)Permission denied: [client 192.168.144.1:51847] AH01275: Can't open directory for index: /php-tutorial/www/
/etc/httpd/conf.d/tutorial.conf
組Alias /tutorial "/php-tutorial/www"
<Directory "/php-tutorial/www">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
文件夾的權限是
drwxr-xr-x. 1 vagrant vagrant system_u:object_r:vmblock_t:s0 /php-tutorial/www
drwxr-xr-x. 1 vagrant vagrant system_u:object_r:vmblock_t:s0 /php-tutorial
drwxr-xr-x. root root system_u:object_r:httpd_sys_content_t:s0 /var/www
drwxr-xr-x. root root system_u:object_r:httpd_sys_content_t:s0 /var/www/html
我不知道這是否是可能的,如果可能的話,什麼是配置它的正確方法。