We Recommend

Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems
Wicked Cool PHP contains a wide variety of scripts to process credit cards, check the validity of email addresses, template HTML, and serve dynamic images and text.


Ballyhoo


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.