<p>When looking at a SSI printenv dump I see a variable URI_REQUEST.</p>

<p>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."</p>

<p>Anyone know the difference between the two?</p>

<p>TIA.</p>

[{'answer_id': 39348, 'author': 'Allain Lalonde', 'author_id': 2443, 'author_profile': 'https://Stackoverflow.com/users/2443', 'pm_score': 2, 'selected': False, 'text': '<p>REQUEST_URI includes the Query String (?q=testing...) where DOCUMENT_URI does not.</p>\n'}, {'answer_id': 39645, 'author': 'Rob Wells', 'author_id': 2974, 'author_profile': 'https://Stackoverflow.com/users/2974', 'pm_score': -1, 'selected': True, 'text': '<p>ok. seems like it is exactly the opposite according to Apache docs and RFC 2616.</p>\n\n<p>REQUEST_URI does not contain the query string.\nDOCUMENT_URI does contain the query string.</p>\n\n<p>cheers,</p>\n\n<p>Rob</p>\n'}]
['https://Stackoverflow.com/questions/39254', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2974/']