w_complete': // 重置密码 $pre .= $default_pre .= 'user_resetpw_complete.htm'; break; case 'user_comment': // 我的首页评论 $pre .= $default_pre .= 'user_comment.htm'; break; case 'single_page': // 单页 $pre .= $default_pre .= 'single_page.htm'; break; case 'search': // 搜索 $pre .= $default_pre .= 'search.htm'; break; case 'operate_sticky': // 置顶 $pre .= $default_pre .= 'operate_sticky.htm'; break; case 'operate_close': // 关闭 $pre .= $default_pre .= 'operate_close.htm'; break; case 'operate_delete': // 删除 $pre .= $default_pre .= 'operate_delete.htm'; break; case 'operate_move': // 移动 $pre .= $default_pre .= 'operate_move.htm'; break; case '404': $pre .= $default_pre .= '404.htm'; break; case 'read_404': $pre .= $default_pre .= 'read_404.htm'; break; case 'list_404': $pre .= $default_pre .= 'list_404.htm'; break; default: // 首页 $pre .= $default_pre .= theme_mode_pre(); break; } if ($config['theme']) { $conffile = APP_PATH . 'view/template/' . $config['theme'] . '/conf.json'; $json = is_file($conffile) ? xn_json_decode(file_get_contents($conffile)) : array(); } // 加载绑定ID安装风格 !empty($json['installed']) and $path_file = APP_PATH . 'view/template/' . $config['theme'] . '/htm/' . ($id ? $id . '_' : '') . $pre; // 加载安装风格 (empty($path_file) || !is_file($path_file)) and $path_file = APP_PATH . 'view/template/' . $config['theme'] . '/htm/' . $pre; // 主风格下可安装多个子风格 if (!empty($config['theme_child']) && is_array($config['theme_child'])) { foreach ($config['theme_child'] as $theme) { if (empty($theme) || is_array($theme)) continue; // 加载绑定ID安装风格 $path_file = APP_PATH . 'view/template/' . $theme . '/htm/' . ($id ? $id . '_' : '') . $pre; // 加载安装风格 !is_file($path_file) and $path_file = APP_PATH . 'view/template/' . $theme . '/htm/' . $pre; } } // 风格不存在加载适配端 !is_file($path_file) and $path_file = APP_PATH . ($dir ? 'plugin/' . $dir . '/view/htm/' : 'view/htm/') . $default_pre; return $path_file; } // 依据模式返回适配文件 function theme_mode_pre($type = 0) { global $config; // 网站模式 $mode = $config['setting']['website_mode']; $pre = ''; // 首页文件前缀 if (1 == $mode) { // 门户模式 $pre .= 2 == $type ? 'portal_category.htm' : 'portal.htm'; } elseif (2 == $mode) { // 扁平模式 $pre .= 2 == $type ? 'flat_category.htm' : 'flat.htm'; } else { // 自定义模式 $pre .= 2 == $type ? 'index_category.htm' : 'index.htm'; } return $pre; } ?>局域网及www网络访问mcgs网络版的方法|江阴雨辰互联

局域网及www网络访问mcgs网络版的方法

局域网及www网络访问mcgs网络版的方法


2024年4月7日发(作者:电脑显卡排行)

北京昆仑通态自动化软件科技有限公司

MCGS网络版访问手册

目 录

1

2

导言 .......................................................................................................................................... 3

局域网访问 .............................................................................................................................. 3

2.1 MCGS服务器端设置 ........................................................................................................... 3

2.2客户端访问 ............................................................................................................................ 3

3 外网访问 .................................................................................................................................. 4

3.1 通过路由器连接到外网 ....................................................................................................... 4

3.1.1 MCGS服务器端配置 .................................................................................................... 4

3.1.2客户端访问 ..................................................................................................................... 5

3.2 通过网络服务器连接到外网 ............................................................................................... 6

3.2.1网络服务器配置 ............................................................................................................. 6

3.2.2域名绑定 ......................................................................................................................... 8

3.2.3客户端访问 ..................................................................................................................... 8

3.3 通过路由器+路由器连接到外网 ......................................................................................... 9

3.3.1服务器端配置 ................................................................................................................. 9

3.2.2域名绑定 ......................................................................................................................... 9

3.2.3客户端访问 ..................................................................................................................... 9

3.4 通过服务器+路由器连接到外网 ....................................................................................... 10

3.4.1服务器端配置 ............................................................................................................... 10

3.4.2域名绑定 ....................................................................................................................... 10

3.4.3客户端访问 ................................................................................................................... 10

3.5 通过路由器+服务器连接到外网 ....................................................................................... 11

3.5.1服务器端配置 ............................................................................................................... 11

3.5.2域名绑定 ....................................................................................................................... 11

3.5.3客户端访问 ................................................................................................................... 11

3.6 直接连接到外网 ................................................................................................................. 12

3.6.1域名绑定 ....................................................................................................................... 12

3.6.2客户端访问 ................................................................................................................... 12

3.7 通过VPN服务器连接到外网 ........................................................................................... 13

3.7.1不带NAT功能VPN .................................................................................................... 13

3.7.2带NAT功能VPN ........................................................................................................ 13

3.8 其它拓扑结构 ..................................................................................................................... 14

4 常见问题解答 ........................................................................................................................ 14

4.1无法访问MCGS服务器 .................................................................................................... 14

4.2一直提示“正在下载数据,请稍候---” .............................................................................. 14

4.3共享上网 .............................................................................................................................. 14

1

北京昆仑通态自动化软件科技有限公司

修订历史记录

日期

2009-10-16

版本

1.1

说明

MCGS网络版访问指导书

作者

张吉祥 高伟

2


发布者:admin,转转请注明出处:http://www.yc00.com/xitong/1712424115a2057106.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信