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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


2871 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