This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
lighttpd_permalinks [2012/02/10 16:05] JoeyDown |
lighttpd_permalinks [2012/02/10 17:19] JoeyDown |
||
---|---|---|---|
Line 5: | Line 5: | ||
**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 = ( | <code>url.rewrite = ( | ||
- | "/test/(admin1)/?(.*)" => "$0", | + | "/test/(admin)/?(.*)" => "$0", |
- | "/test/?([A-Za-z0-9_-]+)/?$" => "/test/?id=$1", | + | "/test/([A-Za-z0-9_-]+)/?$" => "/test/?id=$1", |
)</code> | )</code> | ||