Added a check for $_SERVER['HTTP_X_FORWARDED_HOST'] to make sure the request is coming through the proxy. Should provide more protection against misconfigured vhost requests.
This module provides URL rewrites for integrating Drupal with a Reverse Proxy service. It was
developed by the Stanford University Open Source Lab for integrating with the Virtual Host Proxy
Service provided by Stanford University ITS.
The below instructions assume that you have /afs/ir/group/groupname/cgi-bin/drupal as your Drupal
1) Set up a virtual host proxy (http://yourgroup.stanford.edu) to point to your Drupal directory:
2) Enable the Reverse Proxy module