[Top] [Prev] [Next] [Last]
Download PDF:   US   UK
Download Postscript:   US   UK
Stronghold Web Server 2.4.1 Administration Guide

Appendix A

HTTP Metainformation

This appendix provides a quick reference to HTTP metainformation, for use in metafiles, PHP scripts, and other mechanisms that can manipulate HTTP header fields. For most transactions, Stronghold determines the proper metainformation to use and you do not need to intervene. There are five kinds of HTTP metainformation fields:




General Headers

Both client requests and server responses use the general header fields listed in this section, although some are more commonly used by one or the other.



Cache-Control



Connection



Date



MIME-Version



Pragma



Transfer-Encoding



Upgrade



Via




Client Request Headers

Clients include the headers listed in this section when transmitting requests to servers.



Accept



Accept-Charset



Accept-Encoding



Accept-Language



Authorization



Cookie



From



Host



If-Modified-Since



If-Match



If-None-Match



If-Range



If-Unmodified-Since



Max-Forwards



Proxy-Authorization



Range



Referer



User-Agent




Server Response Headers

Stronghold uses the headers listed in this section to respond to client requests.



Accept-Ranges



Age



Proxy-Authenticate



Public



Retry-After



Server



Set-Cookie



Vary



Warning



WWW-Authenticate




Entity Headers

Entity headers supply information about the message body in an HTTP message, which can be either a client request or a server response.



Allow



Content-Base



Content-Encoding



Content-Language



Content-Length



Content-Location



Content-MD5



Content-Range



Content-Transfer-Encoding



Content-Type



ETag



Expires



Last-Modified



Location



URI




Proxy Security Headers

When Stronghold Web Server performs SSL proxy transactions, it acts as both a server and a client:

In order to fulfill both roles as transparently as possible, Stronghold Web Server must give each SSL server information about its connection to the client originating the request. Servers can ignore this information or use it for authentication, access control, or other purposes.

Stronghold communicates the information in the form of special request headers. If the remote server is a Stronghold Web Server, it extracts the headers and appends "HTTP_" to their names to form environment variables. For example, the header that Stronghold Web Server sends as

SP-HTTPS: on

becomes the variable

HTTP_SP_HTTPS=on

when extracted by a Stronghold Web Server. It can then be used in logs, CGI programs, PHP scripts, or other mechanisms.

The valid proxy security headers are as follows:



SP-HTTPS



SP-KEYSIZE



SP-SECRETKEYSIZE



SP-SSL-CIPHER



SP-SSL-CLIENT-DN



SP-CLIENT-CERTIFICATE



SP-CLIENT-CERT-START



SP-CLIENT-CERT-END



SP-CLIENT-C



SP-CLIENT-SP



SP-CLIENT-ST



SP-CLIENT-L



SP-CLIENT-O



SP-CLIENT-OU



SP-CLIENT-CN



SP-CLIENT-EMAIL



SP-CLIENT-IC



SP-CLIENT-ISP



SP-CLIENT-IL



SP-CLIENT-IO



SP-CLIENT-IOU



SP-CLIENT-ICN:



SP-CLIENT-IEMAIL



SP-CLIENT-KEY-ALGORITHM



SP-CLIENT-KEY-SIZE



SP-CLIENT-KEY-EXP



SP-CLIENT-SIGNATURE-ALGORITHM



SP-PROTOCOL-VERSION






[Top] [Prev] [Next] [Last]
© 1998 C2Net International
Feedback: stronghold-docs@c2.net
C2Net Logo