Topics:
Using a vanity URL / virtual host address like http://mysub.stanford.edu with a Foswiki is pretty straightforward. Assuming that your Foswiki installation's view script is at http://www.stanford.edu/path/to/cgi-bin/wiki/bin/view, then
- Choose the "proxy" option for the virtual host and let it point to http://www.stanford.edu/path/to/cgi-bin/wiki/ (the directory that contains the bin and pub directories).
- Adapt Foswiki's environment variables as follows:
- {DefaultUrlHost}: https://mysub.stanford.edu
- {ScriptUrlPath}: /bin
- {PubUrlPath}: /pub
Note that this also works with https protocols. (You might have to request https proxying from the IT.)
And since Foswiki is a fork of TWiki, these instructions should also apply to TWiki installations.