| | | | URL Format URL Format for Static Documents | URL Format for CGI Programs A URL to identify a static document has the following format: protocol://site.name:tcpport/path#fragment - protocol:
- Protocol the web browser and the web server use to communicate with each other. VM:Webgateway and SSL Feature support only the Hypertext Transfer Protocol (HTTP). If you use VM:Webgateway, specify http. If you use VM:Webgateway and SSL Feature with SSL turned off, specify http. If you use VM:Webgateway and SSL Feature with SSL turned on, specify https. (To determine whether VM:Webgateway is using SSL, enter the QUERY SOCKET command from your VM userid.)
- site.name:tcpport
- Web server that is to display the information indicated by the rest of the URL. When you use VM:Webgateway to serve data, this portion identifies the VM:Webgateway service virtual machine. You must specify the site.name portion. When a web server is not using SSL, the default for tcpport is 80. When a web server is using SSL, the default for tcpport is 443. Ask your VM:Webgateway system administrator what to specify for this portion of a URL.
- path
- Where the web server should look for the data to serve. The path is made up of one or more elements; each element is separated by /. For example, the following shows a path with the elements x, y, and z.
x/y/z - #fragment
- Label in a web page that identifies where the web browser should position the document when displaying it. If #fragment is not specified, the web browser positions the document at the top. A user normally does not type a URL with #fragment specified. The #fragment portion of the URL is usually only used by a web browser when a user selects a hyperlink that references a specific location in a web page.
A URL to identify a CGI Program has the following format: protocol://site.name:tcpport/path/ ... ... cgi?query_string#fragment - protocol:
- Protocol the web browser and the web server use to communicate with each other. VM:Webgateway and SSL Feature support only the Hypertext Transfer Protocol (HTTP). If you use VM:Webgateway, specify http. If you use VM:Webgateway and SSL Feature with SSL turned off, specify http. If you use VM:Webgateway and SSL Feature with SSL turned on, specify https. (To determine whether VM:Webgateway is using SSL, enter the QUERY SOCKET command from your VM userid.)
- site.name:tcpport
- Web server that is to display the information indicated by the rest of the URL. When you use VM:Webgateway to serve data, this portion identifies the VM:Webgateway service virtual machine. You must specify the site.name portion. When a web server is not using SSL, the default for tcpport is 80. When a web server is using SSL, the default for tcpport is 443. Ask your VM:Webgateway system administrator what to specify for this portion of a URL.
- path
- Where the web server show look for the CGI program to serve. The path is made up of one or more elements; each element is separated by /. For example, the following shows a path with the elements x, y, and z.
x/y/z - cgi
- Identifies the CGI program to serve.
- ?query_string
- Input into the CGI program.
- #fragment
- Label in a web page that identifies where the web browser should position the document when displaying it. If #fragment is not specified, the web browser positions the document at the top. A user normally does not type a URL with #fragment specified. The #fragment portion of the URL is usually only used by a web browser when a user selects a hyperlink that references a specific location in a web page.
|