vanity URL
Drupal and Virtual Host Proxies on the WWW Servers
Posted April 13th, 2012 by John BickarIn fall 2011, the web infrastructure team in IT Services made some changes to how virtual host (vhost) proxies are handled. Previously, all proxies were on a dedicated pool of proxy servers (proxy1.stanford.edu, proxy2.stanford.edu, proxy3.stanford.edu). This configuration required the use of the Reverse Proxy module. The infrastructure team is in the process of moving all existing proxies onto the www servers themselves.
Virtual Host for Foswiki / TWiki wikis
Posted March 2nd, 2011 by AnonymousUsing 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
