求教 app.conf 的url怎么写?
bae吧
全部回复
仅看楼主
level 2
a215512425 楼主
handlers:
- expire : .jpg modify 10 years
- expire : .swf modify 10 years
- expire : .png modify 10 years
- expire : .gif modify 10 years
- expire : .JPG modify 10 years
- expire : .ico modify 10 years
- url : /
script: index.php
- url : /ths/list\-(\d+)\-(\d+)\-(\d+)\-(\d+)\.html$
script : /index.php\?mod=ths&act=list&cid=$1&today=$2&px=$3&page=$4
上面的是我的写法 但上传后500错误
-------------------------------------------------------------
RewriteRule ths/list-(\d+)-(\d+)-(\d+)-(\d+)\.html$ /index.php\?mod=ths&act=list&cid=$1&today=$2&px=$3&page=$4
RewriteRule ths/list-(.*)-(\d+)\.html$ /index.php\?mod=ths&act=list&cid=$1&page=$2
RewriteRule ths/list-(.*)\.html$ /index.php\?mod=ths&act=list&cid=$
---------------------------------------------------------
原先的重写规则是这样的 哪位大神帮我转成bae的格式参考下 谢谢
2014年05月08日 15点05分 1
level 14
人生总要经历很多,有些人无法羽化成铭记,有些事无法沉淀为回忆。对于一些伤痛的人与事,要学会走过了就要淡漠,转身了就要遗忘,唯有如此,我们的行囊才不会太沉重,我们的身心才不会太疲乏。相聚是短暂的,分别会是永远的,没有人能是你永恒的挂牵,任何事都不要成为你所有的渴盼。
2014年05月27日 02点05分 2
1