请教 求解答,谢谢博主,新年快乐!

问答中心分类: PHP请教 求解答,谢谢博主,新年快乐!
匿名用户 asked 8 年 ago
问题一:
加虚拟主机ss.linuxeye.com,需要用到pathinfo,下面是我的配置文件(/usr/local/nginx/conf/vhost/ss.linuxeye.com.conf):
请问,怎么用到PATHINFO?能具体讲解下到底怎么加虚拟主机吗?
 
问题来源:博主的关于多用户SS管理技术贴   https://blog.linuxeye.com/426.html  。我按https://blog.linuxeye.com/31.html  此贴都添加,成功后但是就是无法用域名登陆。
问题二:博主原文:
修改moeSS配置文件

  1. # cd /home/wwwroot/ss.linuxeye.com/application/config
  2. # cp config-simple.php config.php  #直接复制模板,更改

但是,我这找不到HOME呀  只有  /data/wwwroot/ss.linuxeye.com/application/config
然后就没有那个simple.php了,
[root@localhost lnmp]# cp config-simple.php config.php
cp: cannot stat `config-simple.php': No such file or directory
 
求解答,谢谢!
 
 

Question Tags:

1 Answers
oneinstack answered 8 年 ago
  1. PATHINFO可以./vhost.sh 伪静态选择thinkphp即可
  2. 你需要找到你的网站根目录/data/wwwroot/www.example.com