将 Dir 挂载为 Apache Root?

将 Dir 挂载为 Apache Root?

我希望我的 Apache 根目录与我的 google-drive-ocamlfuse 挂载目录相同,以便在编码时自动备份到我的驱动器。我已经更改了根目录,但收到 403 权限错误。我无法向 Apache 的已安装目录授予权限,尽管我测试了其他目录,它们看起来都很好。

有什么方法可以实现这个目标吗?由于 G-Suite,放弃 GDrive 不是一个选择,所以我需要在 eOS 上进行这项工作:)

答案1

遵循 @sebasth 的建议,包括-o allow_other安装时的参数,允许 Apache 查看目录的内容。

sudo google-drive-ocamlfuse -o allow_other home/[user]/Documents/Projects

相关内容