标签: mod-rewrite
我正在尝试mod_rewrite下面的内容:
http://www.domain.com/folder/$variable to http://www.domain.com/file.php?$variable
我试过这个不起作用:
RewriteRule ^folder/([^/\.]+)/?$ folder/file.php?url=$1 [L]
是不是很多?
答案 0 :(得分:2)
有效,尚未开启mod_rewrite!
mod_rewrite