Gents,
i'm a bit lost in a redirection problem, and hoping you maybe can help me out of it.
I recently switched from WordPress MU to the new WordPress 3.0.4 MultiSite. So far so good, i managed to get my sub-sites (blog123.example.org) working and also got a blog working with a totally different domainname (through domain mapping plugin).
But, for whatever reason, I have a redirection loop for the "main" Site, though I can access the backend (example.org/wp-admin).
To be honest, more think its a problem with the webserver than wordpress, but maybe you can help me out with that as well.
Currently I'm running the following setup:
MainSite: (www.)blognese.de
Lighttpd with simple-vhost mod enabled
simple-vhost configuration:
simple-vhost.server-root = "/var/www"
simple-vhost.document-root = "/pages/"
simple-vhost.default-host = "blognese.de"
$HTTP["host"] == "(^|\.)blognese\.de$" {
simple-vhost.default-host = "blognese.de"
server.error-handler-404 = "/index.php"
url.rewrite-once = (
"^/(.*/)?files/$" => "/index.php",
"^/(.*/)?files/(.*)" => "/wp-content/blogs.php?file=$2",
"^(/wp-admin/.*)" => "$1",
"^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "/$2",
"^/([_0-9a-zA-Z-]+/)?(.*\.php)$" => "/$2",
)
}
Subsite: whatyasaid.blognese.de
Even randomly new sites are redirected properly, for example:
dsalajkb.blognese.de redirects to http://www.blognese.de/wp-signup.php?new=dsalajkb.blognese.de
Many thanks in advance for your thoughts!
Best regards
zmb