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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

Lighttpd issue with v2.3-rc2


Go to End


2277 Views

Avatar
vincent

Community Member, 1 Post

15 December 2008 at 6:56am

Edited: 15/12/2008 7:02am

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