我们有开发服务器和生产服务器,它只发生在生产服务器中。
当我们使用 访问该站点时http://[domain].com/index.php,它工作正常。
但是如果我们在末尾使用斜线访问http://[domain].com/index.php/,它会显示403 forbidden error。
奇怪的是,403 forbidden error当有/xxx.php/or/xxx.asp/或时,它也会显示/xxx.js/。index.php在这些情况下,它似乎不会重定向到。
如果我们访问 like /abc/or /abc.a/or etc,它会重定向到index.php并显示symfony 404 error哪个是正确的。
有没有人经历过这种情况?