diner - THE HTTP-server for the BeOS
Contents

diner ]
Introduction ]
What's new? ]
Installation ]
Configuration ]
Usage ]
Licence ]
Contact ]
Thanks ]
Features ]
Availability ]
Environment ]
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). Format: name/version

  • SERVER_PROTOCOL
    The name and revision of the information protcol this request came in with. Format: protocol/revision

  • 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 this script. This is the query information. It should not be decoded in any fashion. This variable should always be set when there is query information, regardless of command line decoding.

  • REMOTE_HOST
    The hostname making the request. If the server 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 the client where the client was before he came here.

Copyright © 1997-98 Stegemann & Co., Inc., all rights reserved.
Created: November 29th, 1997. Last modified: September 9th, 1998.