Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between DOCUMENT_URI and URI_REQUEST in SSI?

Tags:

apache

ssi

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.

like image 969
Rob Wells Avatar asked Sep 02 '08 11:09

Rob Wells


1 Answers

REQUEST_URI includes the Query String (?q=testing...) where DOCUMENT_URI does not.

like image 190
Allain Lalonde Avatar answered Oct 18 '22 19:10

Allain Lalonde