# JTBC5 **Repository Path**: Destiny_cc/jtbc5 ## Basic Information - **Project Name**: JTBC5 - **Description**: 源自2006年的一款CMS - **Primary Language**: HTML - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: https://mamkj.top/ - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2023-10-10 - **Last Updated**: 2024-06-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # JTBC(5.0) ## 官方网站: https://www.jtbc.cn/ ## 运行环境: php8.0+,mysql8.0+ ## 基本配置: 需要将站点主目录设置为 Public 目录。 需要将所有请求转发至入口文件,以下是配置方法: ### 1.Nginx 需要在配置文件中的 server 下增加配置: ``` if (!-f $request_filename) { rewrite ^(.*)$ /index.php$1 last; break; } ``` ### 2.Apache 安装完成之后,在 Public 目录下设置 .htaccess 文件: ``` RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /index.php/$1 [QSA,PT,L] ``` ### 3.IIS 需要安装地址重写模块,下载地址:https://www.iis.net/downloads/microsoft/url-rewrite 安装完成之后,在 Public 目录下设置 web.config 文件,内容为: ``` ``` © 2004~2022 上海七慧网络科技有限公司 All Rights Reserved.