开发者

I'm Stuck with a simple lighttpd url.rewrite

开发者 https://www.devze.com 2023-01-03 13:26 出处:网络
Just switched from apache and having some rewrite issues. Simple task: rewrite \"http://www.foo.com/BAR/\" to \"http://www.foo.com/BAR/index.php\"

Just switched from apache and having some rewrite issues.

Simple task: rewrite "http://www.foo.com/BAR/" to "http://www.foo.com/BAR/index.php"

I've tried the following (and variations) but it doesn't parse.

url.rewrite =开发者_JS百科 (
   "/BAR/" => "/BAR/index.php"
)

I suck in regexps btw.


Solved it. Forgot a "," to from a previous rewrite line...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号