Project

General

Profile

Actions

Bug #45

closed

add DOCUMENT_URI to cgi environment

Added by Anonymous about 20 years ago. Updated over 16 years ago.

Status:
Wontfix
Priority:
Normal
Category:
mod_cgi
Target version:
-
ASK QUESTIONS IN Forums:

Description


On Thu, Feb 24, 2005 at 10:47:11AM -0800, Jay wrote:
> > > Any chance we can get the environment variable DOCUMENT_URI
> > > implemented? This would tell the cgi/fastcgi what document the
> > > program was invoked from.
> > 
> > Please explain it more detailed.
> 
> DOCUMENT_URI is an environment variable telling the
> document that called the cgi (without the host name).
> 
> "The $DOCUMENT_URI is the URL of the current web page but with
> everything up to and including the domain name removed. If the current
> page happens to be http://domain.com/index.shtml then the URI is
> /index.shtml. Or, if the current page happens to be
> http://domain.com/books/sales.shtml then the URI is /books/sales.shtml" 

> See this page:
> http://inwap.com/web-hints/env.shtml
> 
> or this page:
> 
http://bontragerconnection.com/tools/Navigation_Link_Server_Side_Includes.shtml

-- cupycake_jay

Actions #1

Updated by jan over 19 years ago

  • Status changed from New to Assigned
Actions #2

Updated by conny about 19 years ago

  • Status changed from Assigned to Fixed
  • Resolution set to wontfix

The variable is present for SSI, and as for CGI you should be looking at SCRIPT_NAME or some of the other variables.

Actions #3

Updated by stbuehler over 16 years ago

  • Status changed from Fixed to Wontfix
Actions

Also available in: Atom