在我的主机中,我创建了一个子文件夹(测试),然后将 test.php index.php 放入其中。当我访问 example.com/test example.com/test/test.php example.com/test/index.php 这一切都显示
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!
当我创建一个.htaccess
文件并将其放入测试文件夹时。文件(.htaccess)为空。
example.com/test example.com/test/test.php example.com/test/index.php,
但是现在example.com/test这个url可以访问了,为什么?