Re: SquirrelMail via Apache reverse proxy

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

 



On Fri, 6 Feb 2009 11:08:20 -0800, John Berliner <tech@xxxxxxxxxxxxx>
wrote:

>I've searched the archives here and elsewhere and see similar  
>situations, but with slightly different symptoms, and the solutions  
>aren't quite nailing my problem.
>
>SquirrelMail 1.4.17 (vanilla, no plugins)
>Apache 2.2.11
>PHP 5.2.8
>FreeBSD 7.0
>
>Mail server is behind a firewall and outside traffic is via Apache  
>reverse proxy setup (mod_proxy).  Everything works great, with one  
>exception: when choosing one or more messages from the squirrelmail  
>list in the right-hand frame, and performing any action on them  
>(delete, move, etc.), the action is completed, but the right frame is  
>refreshed with "The requested URL /webmail/webmail/src/right_main.php  
>was not found on this server". The corresponding Apache log reads,  
>not surprisingly, "File does not exist: /usr/local/www/squirrelmail/ 
>webmail"
>
>Obviously this is more a mod_proxy problem that a SM problem, except  
>for the fact that (1) all other proxied web apps configured the same  
>way work for us; and (2) it's a little odd to me that everything else  
>works (e.g. deleting a single message), but I haven't dug into the SM  
>code yet.

The problem is SquirrelMail attempts to send back an HTTP 1.1
compliant redirect.  We build this based off of the server's host
configuration, which most likely isn't matching what the server is
getting.  For example, if your outside server is mail.mydomain.com and
you're proxying onto a new server called internal.mydomain.com,
SquirrelMal will think it is on internal.mydomain.com.  

You should try checking out the config_location_base, and set it to
the outside server address, and see if that helps any.
-- 
Jon Angliss
<jon@xxxxxxxxxxxxxxxx>


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 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