vi /etc/lighttpd/lighttpd.conf
添加如下内容
url.rewrite-if-not-file=(
"^/(sysman|file)(/.*)*" =>"$0" #不重写/sysman,/file目录的防问
,"^/(.*)$" => "/index.php/$1" #实现thinkphp中index.php的隐藏
)
vi /etc/lighttpd/lighttpd.conf
添加如下内容
url.rewrite-if-not-file=(
"^/(sysman|file)(/.*)*" =>"$0" #不重写/sysman,/file目录的防问
,"^/(.*)$" => "/index.php/$1" #实现thinkphp中index.php的隐藏
)