2018年12月26日
摘要: 比如在一个项目中有前台与后台两个模块,需要使用不同的入口文件。同时希望前台使用默认的index.php的入口。 关键的配置如下: if (!-e $request_filename) { rewrite /plugins.php(.*)$ /plugins.php?s=/$1 last; rewri 阅读全文
posted @ 2018-12-26 14:25 caigan 阅读(1265) 评论(0) 推荐(0) 编辑
摘要: 1、配置站点:打开phpStudy->其他选项菜单->站点域名管理2、配置站点:打开phpStudy->其他选项菜单->打开hosts3、在apache的配置文件vhosts.conf中,配置以下内容,删除Options FollowSymLinks ExecCGI4、打开phpStudy->其他选 阅读全文
posted @ 2018-12-26 11:36 caigan 阅读(3246) 评论(0) 推荐(0) 编辑