This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
lighttpd_permalinks [2012/02/08 09:16] HelloWorld created |
lighttpd_permalinks [2013/04/19 14:54] (current) |
||
---|---|---|---|
Line 4: | Line 4: | ||
**For the pattern:** page/%slug% for example you should add this: | **For the pattern:** page/%slug% for example you should add this: | ||
- | <code>url.rewrite-once = ( | + | <code>url.rewrite = ( |
- | "/test/page/(.*)" => "/test/index.php?id=$1" | + | "/test/(admin)/?(.*)" => "$0", |
+ | "/test/([A-Za-z0-9_-]+)/?$" => "/test/?id=$1", | ||
)</code> | )</code> | ||