zoukankan      html  css  js  c++  java
  • Windows邮件服务器hMailServer,网页管理平台WEBADMIN搭建

    //实现:搭建网页管理平台WEBADMIN,通过网页管理hMailServer
    //环境:
    Windows Server 2008 R2
    IIS
    PHP
    Mysql
    WEBADMIN
    //前置环境配置:
    1、Windows下搭建IIS+php环境
    2、Windows下安装mysql
    //【服务器管理器】--【角色】--【Web 服务器(IIS)】--【Internet 信息服务器(IIS) 管理器】--【网站】--停用或者删除“默认站点”
    //【服务器管理器】--【角色】--【Web 服务器(IIS)】--【Internet 信息服务器(IIS) 管理器】--【网站】--【添加网站】--“网站名称”,“物理路径”,“类型”,“IP地址”,“端口”,如图

    clip_image001
    (hmailserver-2011092217)

    //复制“hMailServer”下的“PHPWebAdmin”文件到网站根目录“www”
    //修改“config-dist.php”文件名位“config.php”
    //编辑“config.php”
    $hmail_config['rooturl']  = "http://192.168.5.223/PHPWebAdmin/";
    $hmail_config['defaultlanguage']  = "chinese";
    //编辑“index.php”
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=gbk">
    //编辑php安装目录下“php.ini”
    short_open_tag = On
    //【服务器管理器】--【角色】--【Web 服务器(IIS)】--【Internet 信息服务器(IIS) 管理器】--【网站】--“站点名称”--【编辑权限】--【安全】--【编辑】--添加“IIS_IUSRS”用户--【确定】
    //重启IIS服务
    //访问网页管理页面
    http://192.168.5.223/PHPWebAdmin/
    效果如图

    clip_image002
    (hmailserver-2011092218)

    ----------------------------忧愁分割线-----------------------------

    FAQ:
    Failed to create COM object `hMailServer.Application': 拒绝访问。
    This problem is often caused by DCOM permissions not being set.
    【开始】--【控制面板】--【管理工具】--【组件服务】--【组件服务】--【计算机】--【我的电脑】--【DCOM 配置】--【hMailServer】,属性--【安全】--【启动和激活权限】--【自定义】--【编辑】--【添加】--【高级】--【立即查找】--添加IIS用户“IIS_IUSRS”--【确定】--勾选“本地激活”--【确定】--【应用】--【确定】
    //重启IIS服务

  • 相关阅读:
    461. Hamming Distance
    342. Power of Four
    326. Power of Three
    368. Largest Divisible Subset java solutions
    95. Unique Binary Search Trees II java solutions
    303. Range Sum Query
    160. Intersection of Two Linked Lists java solutions
    88. Merge Sorted Array java solutions
    67. Add Binary java solutions
    14. Longest Common Prefix java solutions
  • 原文地址:https://www.cnblogs.com/luwenbin/p/3105875.html
Copyright © 2011-2022 走看看