A Virtual Host Monster changes the URLs generated by all objects within the same Folder, using information passed to it in special URL path elements. This is useful if you are using some rewriting tool (Apache or an Access Rule, for example) to insert these special elements into your URL.

To set the protocol ('http', 'https') and host ('www.foo.com') portion of generated URLs, insert "VirtualHostBase", the protocol, and the host into the path.

Insert "VirtualHostRoot" directly after the name of the Folder that is supposed to be the root of the virtual host.
For example, to publish Folder "/foo" as http://www.foo.com/, put a Virtual Host Monster in the root folder and rewrite requests for that URL to /VirtualHostBase/http/www.foo.com/foo/VirtualHostRoot/

Values affected include DTML variables starting with URL or BASE, and the absolute_url() methods of objects.

Id |