Dave McMurtrie wrote: > > Good morning, > > I have a working Squirrelmail setup running on a test system using MySQL > as the backend for storing prefs, address and session information. This > is all working well, but I noticed that I still need to provide a > $data_dir and an $attachment_dir which Squirrelmail seems to use during > message composition. > > It seems to me like these directories will still need to be on some type > of shared filesystem which (in my case) defeats the purpose for which I > bothered with the MySQL setup in the first place -- to get away from our > reliance on a shared filesystem between the webservers. > > I'm wondering what other folks are doing who chose to use a database > backend for prefs/address/sessions so they could share this data across > multiple webservers. Meaning, if you have to use a shared filesystem > for the $attachment_dir anyway, why bother setting up MySQL in the first > place? I feel like I must be missing something obvious here. > Use load balancer which keeps current connection on one web host. Attachment directory stores temporary data. It does not matter which host stores it as long as web client keeps talking to same host during session. Address books and user preferences are stored in shared location, because this data must be shared between web hosts. You don't know which web host will be used by load balanced web client. -- Tomas -- View this message in context: http://www.nabble.com/Question-about-data_dir-and-attachment_dir-when-using-MySQL-backend-with-squirrelmail-tp21175274p21176237.html Sent from the squirrelmail-users mailing list archive at Nabble.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