Skip to content

#1 基于thinkphp 的一个可自定义网站各项属性的站点

Notifications You must be signed in to change notification settings

juncode/open-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. 基于thinkphp 3.2 开发

2. 欢迎加入研发

使用说明

在使用之前 , 请详细阅读使用说明

  1. 配置hosts,添加域名指向,例如本地开发环境配置:

    127.0.0.1 www.test.com

    127.0.0.1 admin.test.com shell

  2. 配置apache,添加虚拟主机,例如本地开发环境配置: `<VirtualHost *:80>

     DocumentRoot "/var/www/html/"
     
     ServerName www.test.com
     
     ServerAlias *.test.com
     
     ErrorLog "logs/www.test.com-error.log"
     
     CustomLog "logs/www.test.com-access.log" combined
    

    `

    `<VirtualHost *:80>

     DocumentRoot "/var/www/html/"
     
     ServerName admin.test.com
     
     ServerAlias *.test.com
     
     ErrorLog "logs/www.test.com-error.log"
     
     CustomLog "logs/www.test.com-access.log" combined
    

    `

  3. 可自定义在 Apps/Common/Conf/config.php 中,添加子域名配置,默认Home模块。

  4. 如有问题,欢迎讨论,E-mail [email protected]

About

#1 基于thinkphp 的一个可自定义网站各项属性的站点

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages