[英]Index a subdirectory of DocumentRoot Apache
I've the DocumentRoot with the Options +Indexes enabled. 我已经启用了Option + Indexes的DocumentRoot。 However, I cannot find via browser the subdirs of the DocumentRoot.
但是,我无法通过浏览器找到DocumentRoot的子目录。 How can I fix it?
我该如何解决? Thanks.
谢谢。
Maybe they don't have the read and execute permission flag set? 也许他们没有设置读取和执行权限标志?
Try chmod ug+rx filename
and make sure the subdirs belong to the apache user. 尝试使用
chmod ug+rx filename
,并确保子目录属于apache用户。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.