|
|
安装时根据教程做的配置如下:
在 db_owner.c 修改了
static const char *host="localhost";
static const char *user="vpopmail";
static const char *passwd="password";
static const char *db="vpopmail";
./configure
make
make install
#现在我们需要将下面几行添加到httpd.conf文件中:
vi /etc/httpd/conf/httpd.conf
<Directory "/var/www/cgi-bin/vqadmin">
deny from all
Options ExecCGI
AllowOverride AuthConfig
Order deny,allow
</Directory>
#保存文件并退出.
cd /var/www/cgi-bin/vqadmin
chown nobody .htaccess
chmod 600 .htaccess
# 创建一个管理帐号及密码
htpasswd -bc /etc/httpd/conf/vqadmin.passwd admin(帐号) adminpass(密码)
chown nobody.nobody /etc/httpd/conf/vqadmin.passwd
chmod 644 /etc/httpd/conf/vqadmin.passwd
chown -R vpopmail.vchkpw /var/www/cgi-bin
#编辑.htaccess
vi .htaccess
AuthType Basic
AuthUserFile /etc/httpd/conf/vqadmin.passwd
AuthName vQadmin
require valid-user
satisfy any
service httpd restart
在你的浏览器上测试一下安装结果:
http://www.domain.com/cgi-bin/vqadmin/vqadmin.cgi
安装后使用
http://domain.com/cgi-bin/vqadmin/vqadmin.cgi
登录后,显示如下
invalid language file
voadmin 2.3.6
vpopmail 5.4.7
请问应该怎么搞啊? |
|