Re: Proxying Possible?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 27, 2007 at 07:48:33PM -0500, Christopher Jett wrote:

> I am interested in setting up SquirrelMail on a different server from  
> our webserver.  What I'd like to do is setup Apache to proxy requests  
> for any domain to the server running SquirrelMail.

Do you talk about mod_proxy?
If so, this should work (untested):

<VirtualHost *:80>
  ServerName www.thisdomain.com
  ProxyRequests Off
  ProxyPass /webmail/ http://webmail.mydomain.com/
  ProxyPassReverse /webmail/ http://webmail.mydomain.com/
</VirtualHost>

> So, requests for http://www.thisdomain.com/webmail/
> 
> Gets proxied to:
> 
> http://webmail.mydomain.com/

Or you (better) use RedirectMatchPermanent or mod_rewrite. There were
some discussion about RedirectMatch vs. mod_rewrite in the past - you
might want to search the archive.

Rainer

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux