[Mon Sep 09 09:29:14.587273 2019] [core:error] [pid 8186] (13)Permission denied: [client 58.132.*.*:48027] AH00035: access to /favicon.ico denied (filesystem path '/home/mzh/workspace') because search permissions are missing on a component of the path, referer: http://47.93.*.*:8033/index.php
[Mon Sep 09 09:39:55.016265 2019] [authz_core:error] [pid 10719] [client 58.132.*.*:9396] AH01630: client denied by server configuration: /workspace/ctcms5800/
httpd-vhost.conf
添加配置:
<VirtualHost *:8033>
ServerAdmin mzh@myaliyun.club
DocumentRoot "/workspace/ctcms5800"
ErrorLog "logs/ctcms5800-error.log"
CustomLog "logs/ctcms5800-access.log" common
<Directory "/workspace/ctcms5800">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
# Order deny,allow
# Allow from all
</Directory>
</VirtualHost>
确保/workspace/ctcms5800 目录正确,daemon用户rwx
项目目录下的 .htaccess
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]