From Ken Sharp:
Want to hide the cgi-bin portion of a Drupal installation on Leland? Here’s what I did:
1. I have a clean Drupal installation called drupal-test in /afs/ir/dept/stucomp/cgi-bin/drupal-test
2. In settings.php in the drupal sites\default directory, uncomment the $base_url variable and change it to:
$base_url = 'http://www.stanford.edu/dept/stucomp/drupal'; //NO trailing slash!
3. In /afs/ir/dept/stucomp/WWW, create an .htaccess file with the following:
RewriteRule ^drupal/?(.*)$ cgi-bin/drupal-test/$1