What is the difference between DOCUMENT_URI and URI_REQUEST in SSI?

When I look at the SSI printenv dump, I see the URI_REQUEST variable.

When reading Apache mod_include documents, I see DOCUMENT_URI, which they define as "the URL (% -decoded) URL of the document requested by the user."

Does anyone know the difference between the two?

TIA.

+5
source share
2 answers

OK. this seems to be exactly the opposite of the requirements of the Apache and RFC 2616 documents.

REQUEST_URI does not contain a query string. DOCUMENT_URI contains the query string.

amuses

Rob

-3
source

REQUEST_URI includes a query string (? Q = testing ...), where DOCUMENT_URI does not.

+1
source

All Articles