Skip to content Skip to navigation

Drupal and Virtual Host Proxies on the WWW Servers

Posted by: 

In 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 (,, 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. If you are an owner of an existing vhost proxy, you should have received an email detailing the changes.

Setting Up a Drupal Site with a New Virtual Host Proxy

As of early 2012, new proxies by default are created directly on the www servers, so if you are used to setting up a Drupal install for a vhost proxy on the proxy server, configuration requires a few different settings:

  • In your .htaccess file, set your RewriteBase to the following:
    RewriteBase /
  • Do not install the Reverse Proxy module (or disable it if installed)
  • WebAuth Module for Drupal (WMD) 2.x settings:
    • In webauth/, set the $base variable as follows
      $base = '';
    • In the {variable} table of the database, set the webauth_base variable to (example below, using drush):
      drush vset webauth_base

How to Tell Where Your Virtual Host Proxy Is Located

To determine whether your vhost proxy is on the www servers or the proxy servers, you can simply run the command:
from a Terminal window./>

If it returns:
then it's on the proxy servers./>

If it returns:
then it's on the www servers./>

See for a screenshot of what that looks like in action.