Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在查看 SSI printenv 转储时,我看到了一个变量 URI_REQUEST。
在阅读 Apache mod_include 文档时,我看到 DOCUMENT_URI,他们将其定义为“用户请求的文档的(%-decoded)URL 路径”。
有谁知道这两者的区别吗?
TIA。
REQUEST_URI 包括查询字符串 (?q=testing...),而 DOCUMENT_URI 不包括。
行。根据 Apache docs 和 RFC 2616 似乎完全相反。
REQUEST_URI 不包含查询字符串。DOCUMENT_URI 确实包含查询字符串。
干杯,
抢