SuquirrelMailのインストール

日付 2006.11.07
タイトル SuquirrelMailのインストール
本文
URL http://www.squirrelmail.jp/

#
# /var/www/workに以下のファイルを置いておきます。
#
# squirrelmail-1.4.8.tar.bz2, squirrelmail-1.4.8.tar.bz2.md5
# all_locales-1.4.8-20060903.tar.bz2, all_locales-1.4.8-20060903.tar.bz2.md5
# squirrelmail-decode-1.1.tar.bz2, squirrelmail-decode-1.1.tar.bz2.md5
# sec_remove_ja_JP.png
#
su - webadmin
cd /var/www/work
md5sum -c squirrelmail-1.4.8.tar.bz2.md5
md5sum -c all_locales-1.4.8-20060903.tar.bz2.md5
md5sum -c squirrelmail-decode-1.1.tar.bz2.md5

cd ../htdocs
tar --same-permissions -jxvf ../work/squirrelmail-1.4.8.tar.bz2
mv squirrelmail-1.4.8 webmail
cd webmail
zcat ../work/squirrelmail-1.4.5-ja-20050714-patch.gz | patch -Np1 --dry-run
cp -p ../../work/sec_remove_ja_JP.png images
tar --same-permissions -jxvf ../../work/all_locales-1.4.8-20060903.tar.bz2

cd po
./compilepo ja_JP
cd ..

chmod 730 data
su -c "chown apache:apache data"

cd config
>>> ./conf.pl

<<<

#
# アクセス制限の設定を行います。
#
su -
cd /etc/httpd/conf
cp -pi httpd.conf httpd.conf.back2006-11-07
>>> vi httpd.conf
<Directory /var/www/htdocs/webmail>
  AllowOverride Limit
</Directory>

<<<
>>> diff -u httpd.conf.back2006-11-07 httpd.conf
--- httpd.conf.back2006-11-07   2006-11-07 15:51:37.000000000 +0900
+++ httpd.conf  2006-11-07 18:47:34.000000000 +0900
@@ -405,6 +405,11 @@
 
 </Directory>
 
+<Directory /var/www/htdocs/webmail>
+  AllowOverride Limit
+</Directory>
+
+
 #
 # UserDir: The name of the directory that is appended onto a user's home
 # directory if a ~user request is received.
@@ -436,7 +441,7 @@
 # negotiated documents.  The MultiViews Option can be used for the 
 # same purpose, but it is much slower.
 #
-DirectoryIndex index.html index.html.var
+DirectoryIndex index.php index.html index.html.var
 
 #
 # AccessFileName: The name of the file to look for in each directory
<<<