Viewing 2 replies - 1 through 2 (of 2 total)
  • Any news? Multisite is really amazing, but does anyone has succeeded in making it work on Lighttpd with the GET variable working at the root of the website as well ?

    I’ve got this, so subdirectories + getting variables are working perfectly, except for the website at the root…:

    url.rewrite-final = (
    
      "^/(wp-admin|wp-includes|wp-content)/(.*)" => "$0",
       "^/(?!(wp-admin|subdirectory1|subdirectory2))/?(.*)" => "$0",                                                                                                       
    
      # Search ----------------------------------------------------
      "^/search/attachment/([^/]+)/?$" => "index.php?attachment=$1",
      "^/search/attachment/([^/]+)/trackback/?$" =>
    "index.php?attachment=$1&tb=1",
      "^/search/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$" =>
    "index.php?attachment=$1&feed=$2",
      "^/search/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$" =>
    "index.php?attachment=$1&feed=$2",
      "^/search/attachment/([^/]+)/comment-page-([0-9]{1,})/?$" =>
    "index.php?attachment=$1&cpage=$2",
      "^/(search)/trackback/?$" => "index.php?pagename=$1&tb=1",
      "^/(search)/feed/(feed|rdf|rss|rss2|atom)/?$" =>
    "index.php?pagename=$1&feed=$2",
      "^/(search)/(feed|rdf|rss|rss2|atom)/?$" =>
    "index.php?pagename=$1&feed=$2",
      "^/(search)/page/?([0-9]{1,})/?$" => "index.php?pagename=$1&paged=$2",
      "^/(search)/comment-page-([0-9]{1,})/?$" =>
    "index.php?pagename=$1&cpage=$2",
      "^/(search)(/[0-9]+)?/?$" => "index.php?pagename=$1&page=$2",
    
      # WordPress --------------------------------
      "^/(.*/)?files/$" => "/index.php",
      "^/(.*/)?files/(.*)" => "wp-includes/ms-files.php?file=$2",
      "^(/wp-admin/.*)" => "$1",
      "^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "/$2",
      "^/([_0-9a-zA-Z-]+/)?(.*\.php)$" => "/index.php/$2", 
    
      # Exclude .php files at root from rewriting
      #"^/(.*.php)" => "$0",
    
      # Handle permalinks and feeds
      "^/(.*)$" => "/index.php/$1"
    
     )

    Thanks!

    Last I knew, you had to install the v1.5 of Lighttpd to get things working. There was a lengthy thread on this over at the old forums. Someone else is going to have to dig for it. I;m on a wireless network with a five minute page load and can;t go digging.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Lighttpd with Multi site ?’ is closed to new replies.