yaourt
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Networking WordPress
In reply to: Lighttpd with Multi site ?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!
Viewing 1 replies (of 1 total)