Apache通过mod_auth_imap模块支持IMAP服务器验证用户。
安装时需要apxs在httpd-devel包中,下载源代码,安装如下:
tar zxvf mod_auth_imap-current.tar.gz cd mod_auth_imap-* apxs -i -a -c mod_auth_imap.c
设置目录权限
<Directory /var/www> Auth_IMAP_Enabled on AuthName "wuerth-phoenix.com" AuthType Basic Auth_IMAP_Server pop-shanghai.cn.phoenix.wuerth.com Auth_IMAP_Port 143 Auth_IMAP_Log on Require user pcnsh074 </Directory>
mod_auth_imap2(for httpd):
tar zxvf mod_auth_imap2-current.tar.gz cd mod_auth_imap2-2.0.2/ apxs -i -a -c mod_auth_imap.c
Comments
There are currently no comments
New Comment