小编APA*_* MS的帖子

服务器无法读取htaccess文件,拒绝访问是安全的

403 FORBIDDEN

您没有access/folder_name/index.php此服务器的权限.

服务器无法读取.htaccess文件,拒绝访问是安全的

此外,尝试使用a ErrorDocument处理请求时遇到403 Forbidden错误.

这是.htaccess代码:

<Files 403.shtml> 
order allow,
deny allow from all 
</Files> 
Run Code Online (Sandbox Code Playgroud)

我还尝试了另一个代码:

<Directory "/path/to/source/file/directory/www"> 
Options Indexes FollowSymLinks 
AllowOverride all 
Require all granted 
</Directory> 
Run Code Online (Sandbox Code Playgroud)

但我对"path/to/source/file/directory/www"这一行很困惑.

php .htaccess

17
推荐指数
1
解决办法
6万
查看次数

标签 统计

.htaccess ×1

php ×1