Apache

 
 
Apache is a powerful and flexible HTTP/1.1 compliant web server. Originally designed as a replacement for the NCSA HTTP Server, it has grown to be the most popular web server on the Internet. As a project of the Apache Software Foundation, the developers aim to collaboratively develop and maintain a robust, commercial-grade, standards-based server with freely available source code.

The Apache HTTP Server is distributed at no charge for commercial or non-commercial use. For more information read the LICENSE.txt file.

Apache can be used with Microsoft Windows. The Apache HTTP Server Version 2.0 runs under Windows NT, Windows 2000 and Windows XP. You should download the version of Apache for Windows with the .msi extension. This is a single Microsoft Installer file containing Apache, ready to install and run.

The latest Apache HTTP Server version can be downloaded from: http://httpd.apache.org/
The latest Apache 1.3 documentation can be found at: http://httpd.apache.org/docs/1.3/
The latest Apache 2.0 documentation can be found at: http://httpd.apache.org/docs/2.0/
The latest Apache 2.2 documentation can be found at: http://httpd.apache.org/docs/2.2/







Environment variables.



Information
Echo Apache environmental variables.

Operating system used
Windows XP Home Edition Version 5.1 SP 2

Software prerequisites
Apache 2.0.49

Procedure
  1. A list of all Apache environment variables:

    <!--#echo var="auth_type" -->
    <!--#echo var="content_length" -->
    <!--#echo var="content_type" -->
    <!--#echo var="date_local" -->
    <!--#echo var="date_gmt" -->
    <!--#echo var="document_name" -->
    <!--#echo var="document_root" -->
    <!--#echo var="document_uri" -->
    <!--#echo var="forwarded" -->
    <!--#echo var="from" -->
    <!--#echo var="gateway_interface" -->
    <!--#echo var="http_accept" -->
    <!--#echo var="http_accept_charset" -->
    <!--#echo var="http_accept_encoding" -->
    <!--#echo var="http_accept_language" -->
    <!--#echo var="http_cache_control" -->
    <!--#echo var="http_connection" -->
    <!--#echo var="http_cookie" -->
    <!--#echo var="http_form" -->
    <!--#echo var="http_host" -->
    <!--#echo var="http_referrer" -->
    <!--#echo var="http_ua_color" -->
    <!--#echo var="http_ua_cpu" -->
    <!--#echo var="http_ua_os" -->
    <!--#echo var="http_ua_pixels" -->
    <!--#echo var="http_user_agent" -->
    <!--#echo var="http_x_forwarded_for" -->
    <!--#echo var="instance_id" -->
    <!--#echo var="last_modified" -->
    <!--#echo var="page_count" -->



    <!--#echo var="path" -->
    <!--#echo var="path_info" -->
    <!--#echo var="path_translated" -->
    <!--#echo var="query_string" -->
    <!--#echo var="query_string_unescaped" -->
    <!--#echo var="remote_addr" -->
    <!--#echo var="remote_host" -->
    <!--#echo var="remote_ident" -->
    <!--#echo var="remote_port" -->
    <!--#echo var="remote_user" -->
    <!--#echo var="request_method" -->
    <!--#echo var="request_uri" -->
    <!--#echo var="script_filename" -->
    <!--#echo var="script_name" -->
    <!--#echo var="script_uri" -->
    <!--#echo var="script_url" -->
    <!--#echo var="server_admin" -->
    <!--#echo var="server_addr" -->
    <!--#echo var="server_name" -->
    <!--#echo var="server_port" -->
    <!--#echo var="server_protocol" -->
    <!--#echo var="server_signature" -->
    <!--#echo var="server_software" -->
    <!--#echo var="total_hits" -->
    <!--#echo var="tz" -->
    <!--#echo var="unique_id" -->
    <!--#echo var="user_name" -->
    <!--#echo var="visp_domain" -->
    <!--#echo var="visp_remote_addr" -->
    <!--#echo var="visp_user" -->

  2. If you want to know what the browser output is of each environment variable: