我希望关闭.htaccess文件中的索引(选项-Indexes),因此在此之前它是有效的(显示为禁止的)
,现在我想重定向到我的error404页面(error404.html)
它是如何工作的?谢谢你帮忙!
发布于 2013-12-19 14:59:31
您可以使用ErrorDocument with 403
ErrorDocument
with 403
ErrorDocument 403 /error404.html
https://stackoverflow.com/questions/20684735
相似问题