What's the difference between DOCUMENT_URI and URI_REQUEST in SSI?
Question
When looking at a SSI printenv dump I see a variable URI_REQUEST.
When reading the Apache mod_include docs I see DOCUMENT_URI which they define as "The (%-decoded) URL path of the document requested by the user."
Anyone know the difference between the two?
TIA.
Solution 2
ok. seems like it is exactly the opposite according to Apache docs and RFC 2616.
REQUEST_URI does not contain the query string. DOCUMENT_URI does contain the query string.
cheers,
Rob
OTHER TIPS
REQUEST_URI includes the Query String (?q=testing...) where DOCUMENT_URI does not.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow