ExtMail服务器社区's Archiver

fangshantom 发表于 2010-3-3 21:35

extman的ScriptAlias如何配置!

各位大侠,我已经装完EMOS1.5了,现在在配置时发现并不想各位说的那么轻松。我折腾了两天了,目前打开extman界面时是如下情况,见附图。
有人告诉我是ScriptAlias的问题。根据我在百度上面搜索的结果对httpd.conf做了相应的修改。相关配置如下:

#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>
ScriptAlias /cgi/ "/var/www/extsuite/extman/cgi"
<Directory "/var/www/extsuite/extman/cgi">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>
ScriptAlias /cgi/ "/var/www/extsuite/extmail/cgi"
<Directory "/var/www/extsuite/extmail/cgi">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

      可问题依然如附图所示的情况那样,我现在该如何办呢??  
   还有,我重启HTTP服务时,系统提示如下:
Starting httpd: [Wed Mar 03 21:33:35 2010] [warn] The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 587 will probably never match because it overlaps an earlier ScriptAlias.
[  OK  ]
      是不是有什么问题?我通过ssh连上去编辑httpd.conf文件时,也不知道哪里时line 587。

[[i] 本帖最后由 fangshantom 于 2010-3-3 21:37 编辑 [/i]]

wxd5981 发表于 2010-3-4 11:30

1.   使用vi  
然后输入 :587  即可找到587行

2.   extmail本身已经做了这个别名,所以你重复做了,因此报错了.

fangshantom 发表于 2010-3-9 14:18

谢谢二楼的兄弟。我出现的问题是因为我在装EMOS的时候选择了Server这一项,所以出了问题。
再重新安装的话就好了。不过现在在解决收不到邮件的问题。

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.