首先修改Linux下lighttpd.conf文件打开mod_rewrite前的#号注释然后配置内加入url.rewrite-once = (
"^/index.php(.*)$" => "/index.php/$1",
"^/Public/(.*)$" => "/Public/$1",
"^/Share/(.*)$" => "/Share/$1",
"^/(.*)$" => "/index.php/$1",
)这样tp框架就可以打开如果使用官方的rpm包安装的,需要重新编译lighttpd需要先安装pcre配置两个变量LIB以及CPPFLGS值 根据pcre-config 输出结果配置然后再configure lighttpd的包makemake installUbuntu, Pentium D以及EMC2的一些问题Ubuntu上Nagios安装过程相关资讯 Linux教程
- Linux教程:如何在命令行中查看目 (07/28/2014 12:22:23)
- Linux 修改root密码 (11/03/2012 07:53:38)
- su - root 与su root的区别 (06/06/2012 00:39:40)
| - Linux进程间通信:消息队列 (01/28/2013 09:43:00)
- U盘安装Linux开机无法启动解决方法 (10/07/2012 08:55:52)
- Windows 7/Linux 同步时间 (05/15/2012 06:17:55)
|
本文评论 查看全部评论 (0)