diner - THE HTTP-server for the BeOS
Contents

diner ]
Introduction ]
What's new? ]
Installation ]
Configuration ]
Usage ]
Licence ]
Contact ]
Thanks ]
Features ]
Availability ]
Environment ]
InlineModuleInvocation ]
Restrictions ]
Known bugs and problems ]
Future ]
History ]

Environment

This is a list of the already implemented environment-variables.
  • SERVER_NAME
    The server's hostname, DNS alias, or IP address as it would appear in self-referencing URLs.

  • SERVER_SOFTWARE
    The name and version of the information server software answering the request (and running the gateway). For diner, this is something like diner/1.3

  • SERVER_PROTOCOL
    The name and revision of the information protcol this request came in with. For diner, this is something like HTTP/1.0

  • SERVER_PORT
    The port number to which the request was sent.

  • REQUEST_METHOD
    The method with which the request was made. For HTTP, this is "GET", "HEAD", "POST", etc.

  • QUERY_STRING
    The information which follows the ? in the URL which referenced the CGI. This is the query information.

  • REMOTE_HOST
    The hostname making the request. If diner does not have this information, it sets REMOTE_ADDR and leave this unset.

  • REMOTE_ADDR
    The IP address of the remote host making the request.

  • CONTENT_TYPE
    For queries which have attached information, such as HTTP, POST and PUT, this is the content type of the data.

  • CONTENT_LENGTH
    The length of the send content as given by the client.

  • HTTP_USER_AGENT
    The browser the client is using to send the request. General format: software/version library/version.

  • HTTP_REFERER
    The site where the client was before he came here.

  • HTTP_FROM
    The From: header field as given by the client.

  • HTTP_ACCEPT
    The filetypes the client accepts.

  • DOCUMENT_ROOT
    The directory where the requested file is located.

  • PATH_TRANSLATED
    The full path to the requested file.

Copyright © 1997-99 Stegemann & Co., Inc., all rights reserved.
Created: November 29, 1997. Last modified: April 30, 1999.