Notice: The Tweet Nest support forum has been moved to the GitHub issue tracker. Please report all issues there. Thank you!
Post a reply

How to use tweetnest with Lighttpd

A forum thread posted in Tweet Nest by crackpille on Feb 29th, 2012

crackpille OP

Just wanted to let you know, how to use Tweetnest with Lighty. Lighty ignores .htaccess and thatfor searching, months and days will not work (404).

You need to configure rewrite in your lighttpd.conf in the vhost-section like this:

$HTTP[“host”] =~ “(^|.)YOURHOST$” {
server.document-root = “YOURROOT”

url.rewrite-once = (
“^/sort/?(.*)$” => “/sort.php$1”,
“^/favorites/?(.*)$” => “/favorites.php$1”,
“^/search/?(.*)$” => “/search.php$1”,
“^/([0-9]+)/([0-9]+)/?$” => “/month.php?y=$1&m=$2”,
“^/([0-9]+)/([0-9]+)/([0-9]+)/?$” => “/day.php?y=$1&m=$2&d=$3”
)
}

Reply

Post a reply to this thread

Please log in with your Twitter account using the button below in order to participate.

Connect with Twitter