So I have a public site http://www.mysite.com with the following vhost entry:

ProxyPass /press
ProxyPassReverse /press

And I have a Drupal site running at ready to receive requests.

All works fine except emails sent from the Drupal site come through as:

Which is not accessible to the general public, and instead needs to output:


How can I trick Drupal to think it's being accessed on the desired domain? Thanks for any advice.

1 Answer 1


Silly me, forgot all about setting $base_url in settings.php. By default it is commented out, but I've now set it to:

$base_url = 'http://www.mysite.com/press';
  • I am the author, I don't really need clarification. In any case I'll try and elaborate.
    – DanH
    Nov 19, 2013 at 6:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.