无限地址嵌套
Infinite address nesting
如何从这些地址移动到 .htaccess
:
/one/two/thre/four/five/.../.../.../
/
后可以有任意字符和嵌套。
结果这个垃圾飞了出去:
Not Found
The requested URL /sdfsdf/sdfsdf/sdfsdf/sdf/
was not foundon this server.
并且找不到的话需要转到主页面。
问题已解决!
谁需要,我留在这里:
<If "%{HTTPS} == 'on'">
ErrorDocument 404 https://%{HTTP_HOST}
</If>
<Else>
ErrorDocument 404 http://%{HTTP_HOST}
</Else>
如何从这些地址移动到 .htaccess
:
/one/two/thre/four/five/.../.../.../
/
后可以有任意字符和嵌套。
结果这个垃圾飞了出去:
Not Found
The requested URL/sdfsdf/sdfsdf/sdfsdf/sdf/
was not foundon this server.
并且找不到的话需要转到主页面。
问题已解决!
谁需要,我留在这里:
<If "%{HTTPS} == 'on'">
ErrorDocument 404 https://%{HTTP_HOST}
</If>
<Else>
ErrorDocument 404 http://%{HTTP_HOST}
</Else>