当前位置:网站首页>Thinkcmf6.0 installation tutorial
Thinkcmf6.0 installation tutorial
2022-07-07 07:56:00 【Xie Xiaoxin】
1. Go to the official website to download thinkcmf / ThinkCMF--6.0
2. Go to thinkcmf / ThinkCMF Enterprise portal solutions --> download
3. Then merge the second step file into the first step
4. use phpstudy Create a website
Good configuration nginx file
location / {
index index.php index.html index.htm;
# If the request is neither a file , It's not a directory , Then execute the rewrite rule
if (!-e $request_filename)
{
# Address as a parameter rewrite To index.php On .
rewrite ^/(.*)$ /index.php?s=$1;
# If it's a subdirectory, use the following sentence , take subdir Change it to the directory name .
#rewrite ^/subdir/(.*)$ /subdir/index.php?s=$1;
}
}
location /api/ {
index index.php index.html index.htm;
# If the request is neither a file , It's not a directory , Then execute the rewrite rule
if (!-e $request_filename)
{
# If it's a subdirectory, use the following sentence , take subdir Change it to the directory name .
rewrite ^/api/(.*)$ /api.php?s=$1;
}
}
location ~* ^\/upload\/.+\.(html|php)$ {
return 404;
}
location ~* ^\/plugins\/.+\.(html|php)$ {
return 404;
}
location ~* ^\/themes\/.+\.(html|php)$ {
return 404;
}
5. Start the installation database
6. Remove the installer after successful installation
composer remove thinkcmf/cmf-install
边栏推荐
- 自定义类加载器加载网络Class
- MySQL multi column index (composite index) features and usage scenarios
- 【数学笔记】弧度
- 【VHDL 并行语句执行】
- 为什么要了解现货黄金走势?
- Button wizard script learning - about tmall grabbing red envelopes
- The charm of SQL optimization! From 30248s to 0.001s
- You Li takes you to talk about C language 6 (common keywords)
- 【webrtc】m98 screen和window采集
- 探索Cassandra的去中心化分布式架构
猜你喜欢
开源生态|打造活力开源社区,共建开源新生态!
2022年茶艺师(中级)考试试题及模拟考试
即刻报名|飞桨黑客马拉松第三期等你挑战
LeetCode 90:子集 II
Is the test cycle compressed? Teach you 9 ways to deal with it
[CV] Wu Enda machine learning course notes | Chapter 8
Operation suggestions for today's spot Silver
buuctf misc USB
[webrtc] M98 screen and window acquisition
通信设备商,到底有哪些岗位?
随机推荐
[CV] Wu Enda machine learning course notes | Chapter 8
Linux server development, detailed explanation of redis related commands and their principles
Button wizard collection learning - mineral medicine collection and running map
Most elements
Resource create package method
[GUET-CTF2019]虚假的压缩包
Technology cloud report: from robot to Cobot, human-computer integration is creating an era
【p2p】本地抓包
Thinkcmf6.0安装教程
Asemi rectifier bridge rs210 parameters, rs210 specifications, rs210 package
You Li takes you to talk about C language 6 (common keywords)
What are the positions of communication equipment manufacturers?
C语言二叉树与建堆
Qt学习26 布局管理综合实例
Button wizard script learning - about tmall grabbing red envelopes
Qt学习27 应用程序中的主窗口
PHP exports millions of data
The charm of SQL optimization! From 30248s to 0.001s
2022 recurrent training question bank and answers of refrigeration and air conditioning equipment operation
Shell 脚本的替换功能实现