Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Lighttpd issue with v2.3-rc2


Reply

1644 Views

Avatar
vincent

15 December 2008 at 6:56am (Last edited: 15 December 2008 7:02am), Community Member, 1 Post

Hi,

I just try to setup rc2 with my lighttpd ... But again, you change the way you rewrite it and : ISSUE with lighttpd :(
Previously it work fine with stable one using :

$HTTP["host"] == "192.168.38.128" {
server.document-root = "/var/www/"
url.rewrite-once = (
"(?i)(/.*\.([A-Za-z0-9]+))(.*?)$" => "$0",
"^/(.*?)(\?|$)(.*)" => "/sapphire/main.php?url=$1&$3"
)
server.error-handler-404 = "/sapphire/main.php"
}

But now it no more "/sapphire/main.php?url=$1&$3" but "sapphire/main.php?url=%1&%{QUERY_STRING}" !!! How rewriting that with lighttpd ?

Thank's for helping me :p

________________________________________
Vincent RABAH
http://rabah.dyndns.org