| THE META-HTML LANGUAGE REFERENCE MANUAL

Macro Commands | [TOC] | Server Variables

## Section Intro: Page Variables

Synopsis:

Several variables are predefined by Meta-HTML, and made available to the page writer. In addition to the contents of the Unix environment (which includes the server-side variables `ENV::SERVER_NAME`, `ENV::PATH_INFO`, etc.) variables describing the location of the current document in various ways are also defined.

Variables:

mhtml::current-doc mhtml::current-url mhtml::current-url-sans-sid mhtml::full-url | mhtml::full-url-sans-sid mhtml::http-prefix mhtml::http-prefix-sans-sid | mhtml::http-to-host mhtml::location mhtml::location-sans-sid | mhtml::relative-prefix mhtml::url-to-dir mhtml::url-to-dir-sans-sid

More Information:

The following short list is a quick look at typical values of the most commonly referenced page variables.

When the URL is ``http://localhost.ua.com/documentation/manual/make-static.mhtml'', the following variables are set to:

`MHTML::PATH-INFO`: |
`MHTML::HTTP-TO-HOST`: | http://localhost.ua.com
`MHTML::CURRENT-DOC`: | make-static.mhtml
`MHTML::INCLUDE-PREFIX`: | .
`MHTML::RELATIVE-PREFIX`: |
`MHTML::LOCATION`: | /documentation/manual/make-static.mhtml
`MHTML::LOCATION-SANS-SID`: | /documentation/manual/make-static.mhtml
`MHTML::FULL-URL`: | http://localhost.ua.com/documentation/manual/make-static.mhtml
`MHTML::FULL-URL-SANS-SID`: | http://localhost.ua.com/documentation/manual/make-static.mhtml
`MHTML::URL-TO-DIR`: | http://localhost.ua.com/documentation/manual
`MHTML::URL-TO-DIR-SANS-SID`: | http://localhost.ua.com/documentation/manual
`MHTML::HTTP-PREFIX`: | http://localhost.ua.com
`MHTML::HTTP-PREFIX-SANS-SID`: | http://localhost.ua.com

Edit Section
Function Index
Variable Index

The META-HTML Reference Manual V1.4 Copyright © 1995, 1996, Brian J. Fox, 1996, 1997 Universal Access Inc.
Found a bug? Send mail to bug-manual@metahtml.com