Perl CGI Environment variables list

Source: Internet
Author: User

The Perl CGI environment variables differ depending on the server. So this content does not necessarily correspond to your Web server completely.

The following items are sorted alphabetically:

1. Auth_type

If the server supports Basic authentication and if the script is protected, this variable provides the authentication type, and this information is specific to the protocol and the server.

2. Content_length

If the data is included in the request through the POST method, the value of this variable is the length of the legitimate data in the request.

3. Content_Type

If the request includes data, this variable specifies the category of the data type.

4. Document_root

The path to the file service provided by the network.

5. Gateway_interface

The number of versions of the CGI interface supported by the server, in the format of the cgi/version number.

6. Http_accept

Provides a comma-separated list of MIME types that are acceptable to client servers.

7. Http_accept_charset

Language code settings that the client can accept.

8. http_accept_encoding

The encoded form that the client can accept.

9. Http_accept_language

The type of language the client can accept.

Http_cookie

The contents of cookies within the client.

Http_form.

The user sends the requested e-mail message.

Http_referer

The URL that the client refers to before reading the CGI program.

Http_user_agent

Provides customer browser information that contains version numbers or other proprietary data.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.