全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 4573|回复: 6
打印 上一主题 下一主题

已解决 ygbook 怎么安装?

[复制链接]
跳转到指定楼层
1#
发表于 2018-2-11 15:17:08 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 tl3821 于 2018-2-11 15:50 编辑

用的是nginx 把文件放到根目录

自动跳到      xxx.xx/install  404

看了下 解压出来也没有 install 这个文件夹

而且index.php有乱码?


程序在
http://d.168530.xyz/thread-427456-1-1.html
推荐
发表于 2018-2-11 15:22:14 | 只看该作者
  1. location / {
  2.    if (!-e $request_filename) {
  3.    rewrite  ^(.*)$ /index.php?s=$1  last;
  4.    break;
  5.     }
  6. }
复制代码
3#
 楼主| 发表于 2018-2-11 15:20:29 | 只看该作者

<IfModule mod_rewrite.c>
  Options +FollowSymlinks
  RewriteEngine On

  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>


这个是Apache的吧 没有nginx的
5#
 楼主| 发表于 2018-2-11 15:23:40 | 只看该作者
6#
发表于 2018-2-11 15:29:28 来自手机 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
7#
发表于 2018-2-11 15:40:21 | 只看该作者
宝塔面板 伪静态 选择thinphp
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-12-12 13:17 , Processed in 0.091341 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表