Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Lighttpd issue with v2.3-rc2

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

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

Page: 1
Go to End
Author Topic: 1632 Views
  • vincent
    Community Member
    1 Post

    Lighttpd issue with v2.3-rc2 Link to this post


    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"] == "" {
    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

    Vincent RABAH

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.