.htaccess错误,禁止403

.htaccess错误,禁止403,.htaccess,litespeed,.htaccess,Litespeed,我将.htaccess设置为: RewriteRule ^news/(.*)/(.*).html$ news.php?id=$1&content=$2 [QSA,L] 其结果是: http://example.com/399/tutorial-centos.html 但是,如果我尝试: http://example.com/399/.html 或 我得到一个错误: 403 Forbidden Access to this resource on the server is deni

我将.htaccess设置为:

RewriteRule ^news/(.*)/(.*).html$ news.php?id=$1&content=$2 [QSA,L]
其结果是:

http://example.com/399/tutorial-centos.html
但是,如果我尝试:

http://example.com/399/.html

我得到一个错误:

403 Forbidden
Access to this resource on the server is denied! Powered By LiteSpeed Web Server
LiteSpeed Technologies is not responsible for administration and contents of this web site!
我试过戴上它。HTACCES:

ErrorDocument 403 /index.php
但仍然有错误:( 如何修复它


感谢您的帮助。

hellow,有人可以帮助我吗?当用户转到不存在的页面,转到news.php文件或显示自定义403错误页面时,您希望发生什么?我尝试打开:www.example.com/333/.html并显示错误:403禁止访问服务器上的此资源被拒绝!在同一url上。
ErrorDocument 403 /index.php