Asprequest. servervariables set + hidden obtain physical path

Source: Internet
Author: User
Tags servervariables
Request. servervariables set + hidden Obtain the physical path

All HTTP header files sent by the all_http client.
All_raw Retrieves all titles in the unprocessed table.
Appl_md_path: retrieves the metadatabase path of the isapidll (WAM) application.
Appl_physical_path: retrieves the physical path corresponding to the metabase path. IIS converts appl_md_path to a physical (directory) path to return values.
Auth_password: enter this value in the authentication dialog box of the client. This variable is available only when basic authentication is used.
Auth_type when a user accesses a protected script, the server is used to verify the user's authentication method.
Auth_user: the user name that has not been authenticated.
The unique ID verified by the cert_cookie client, which is returned as a string. It can be used as a signature for verification by the entire client.
If cert_flags has client verification, bit0 is 1. If the authenticated by the client is invalid (not in the CA list recognized by the server), bit1 is set to 1.

The issuer field in cert_issuer user authentication (O = MS, ou = IAS, Cn = username, c = USA ).
Cert_keysize the number of digits of the Secure Socket Layer connection keyword, such as 128.
The cert_secretkeysize server verifies the number of digits of a private keyword. For example, 1024.
The serial number field verified by the cert_serialnumber user.
The issuer field verified by the cert_server_issuer server.
The main field verified by the cert_server_subject server.
The main field verified by the cert_subject client.
Content_length the length of the content sent by the client.
The data type of the content_type content. It is used together with the query of additional information, such as HTTP query get, post, and put.
Modify the CGI specification used by the gateway_interface server. The format is CGI/revision.
Logon_user User Login WindowsNT? .
The additional path information provided by the path_info client. You can use these virtual paths and the path_info server variable to access the script. If the information comes from the URL, It is decoded by the server before it reaches the CGI script.
Path_translatedpath_info: The converted version. This variable obtains the path and performs necessary ing from virtual to physical.
QUERY_STRING query the question mark (?) in an HTTP request (?) .
The IP address of the remote host that remote_addr sends the request.
The name of the host that remote_host sends the request. If the server does not have this information, it will set the mote_addr variable to null.
The unmapped username string sent by the remote_user user. The name is the name actually sent by the user, which is opposite to the name modified by the server verification filter.
Request_method this method is used to request. It is equivalent to get/head/post for HTTP and so on.
The virtual path for script_name to execute the script. The URL used for self-reference.
SERVER_NAME displays the server host name, DNS alias, or IP address in the Self-referenced ual.
The Port Number of the request sent by server_port.
Server_port_secure contains a string of 0 or 1. If the security port processes the request, it is 1; otherwise, it is 0.
Name and revision of the server_protocol request information protocol. Format: Protocol/revision.
Server_software answers the request and runs the name and version of the gateway's server software. The format is name/version.

Hidden
Request. servervariables ("number_of_processors ")
Request. servervariables ("OS ")
Request. servervariables ("WINDIR ")
Request. servervariables ("Temp ")
Request. servervariables ("tmp ")
Request. servervariables ("comspec ")
Request. servervariables ("os2libpath ")
Request. servervariables ("path ")
Request. servervariables ("pathext ")
Request. servervariables ("processor_architecture ")
Request. servervariables ("processor_identifier ")
Request. servervariables ("processor_level ")
Request. servervariables ("processor_revision ")

Request. servervariables ("http_x_forwarded_for") is a direct IP address that is located after the proxy (GATEWAY). Of course, this proxy must be supported.

local IP address: <% = request. servervariables ("remote_addr") %>
server name: <% = request. servervariables ("SERVER_NAME") %>
Server IP: <% = request. servervariables ("local_addr") %>
server port: <% = request. servervariables ("server_port") %>
server time: <% = now %>
IIS Version: <% = request. servervariables ("server_software") %>
script Timeout: <% = server. scripttimeout %>
path of this file: <% = server. mappath (request. servervariables ("script_name") %>
server CPU count: <% = request. servervariables ("number_of_processors") %>
server interpretation engine: <% = scriptengine & "/" & scriptenginemajorversion &". "& scriptengineminorversion &". "& scriptenginebuildversion %>
server operating system: <% = request. servervariables ("OS") %>
supported file types: <% = request. servervariables ("http_accept") %>
file path: <% = request. servervariables ("http_url") %>
User Agent Information: <% = request. servervariables ("http_user_agent") %>

dim OBJ
for each OBJ in request. servervariables
response. write "name:" & OBJ & "
value:" & request. servervariables (OBJ) & "
"
next

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.