Posted By

Mikker on 04/24/08


Tagged

wordpress lighttpd


Versions (?)

Wordpress rewrite for lighttpd


 / Published in: lighttpd
 

  1. url.rewrite-once = (
  2. "^/(.*)?/?files/$" => "index.php",
  3. "^/(.*)?/?files/(.*)" => "wp-content/blogs.php?file=$2",
  4. "^/(wp-.*)$" => "$1",
  5. "^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "$2",
  6. "^/([_0-9a-zA-Z-]+/)?(.*\.php)$" => "$2",
  7. "." => "index.php"
  8. )

Report this snippet  

You need to login to post a comment.