每次我尝试重定向包含 index.php 的路径时,我最近构建的整个网站都会崩溃。
关于导致问题的任何建议?
先感谢您!
代码:
?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<add value="index.shtml" />
</files>
</defaultDocument>
</system.webServer>
<location path="index.php/terms-of-use/">
<system.webServer>
<httpRedirect enabled="true" destination="http://www.nortridge.com/legal-disclaimer.shtml" exactDestination="true" httpResponseStatus="Permanent" />
</system.webServer>
</location>
</configuration>