How to block direct access to my custom 404 page in Apache?

后端 未结 0 949
一个人的身影
一个人的身影 2020-12-28 09:25

I am using Apache2 as web server in Ubuntu and my root is /var/www/html. In there I have an .htaccess file with

RewriteEngine on
ErrorDocument 404 /custom404.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题