我在:
创建了一个自定义bitnami应用程序/opt/redmine-2.6.0-3/apps/widgets
但是,当我尝试从网络浏览器访问该应用时:
http://192.168.10.18:8080/widgets/
我收到错误:
Forbidden
You don't have permission to access /widgets/ on this server.
httpd-app.conf
是
<Directory /opt/redmine-2.6.0-3/apps/widgets/htdocs>
Options +FollowSymLinks
AllowOverride All
Allow from all
Require all granted
</Directory>
httpd-prefix.conf
是:
Alias /widgets/ "/opt/redmine-2.6.0-3/apps/widgets/htdocs/"
Alias /widgets "/opt/redmine-2.6.0-3/apps/widgets/htdocs"
Include "/opt/redmine-2.6.0-3/apps/widgets/conf/httpd-app.conf"
任何人都可以提供帮助吗?
修改
我已检查过小部件文件夹权限设置:
$ ls -l directory
drwxr-xr-x 6 root daemon 4096 Jan 5 11:23 redmine
drwxr-xr-x 6 root daemon 4096 Mar 11 17:20 widgets
/apps/widgets$ ls -l
drwxr-xr-x 2 root root 4096 Mar 12 09:09 conf
drwxr-xr-x 5 root daemon 4096 Mar 11 17:20 htdocs
/apps/redmine$ ls -l
drwxr-xr-x 3 root daemon 4096 Jan 5 11:21 conf
drwxrwxr-x 19 root daemon 4096 Jan 20 12:15 htdocs
有人可以解释一下吗?为什么redmine可以在小部件禁止的情况下工作?