Issue with multi-site & macports on Snow Leopard

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by solide-echt on September 17, 2010 at 3:06pm

Hi,

I'm having an issue that's really driving me nuts:

I'm on a Mac and moved from Leopard to Snow Leopard. I did a clean install of xcode and macports and installed all necessary ports. After some fiddling mysql (5.1.50), php (5.3.3) and lighttpd (1.4.26) are running fine. Drupal (6.17) runs fine also but I cannot get the multi-site feature to work again (it worked on Leopard). The relevant part (probably...) of the lighttpd.conf is:

# Name all drupal hosts such that they have a '.dev' toplevel domain
$HTTP["host"] =~ ".dev" {
url.rewrite-final = (
# imagecache
"^/sites/(.)/files/imagecache/([^?])\?(.)$" => "/index.php?q=sites/1ドル/files/imagecache/2ドル&3ドル",
"^/sites/(.
)/files/imagecache/(.)$" => "/index.php?q=sites/1ドル/files/imagecache/2ドル",
# imagecache for private files
# "^/sites/(.
)/system/files/imagecache/([^?])\?(.)$" => "/index.php?q=sites/1ドル/system/files/imagecache/2ドル&3ドル",
# "^/sites/(.)/system/files/imagecache/(.)$" => "/index.php?q=sites/1ドル/system/files/imagecache/2ドル",

# private files
"^/system/files/(.)$" => "/index.php?q=system/files/1ドル",

# feed alias
"/rss.xml$" => "/index.php?q=rss.xml",

# Search
"^/search/(.
)$" => "/index.php?q=search/1ドル",

# More than one argument
"^/([^.?])\?(.)$" => "/index.php?q=1ドル&2ドル",

"^/image/([^?])$" => "/index.php?q=image/1ドル",
# No arguments
"^/([^.?]
)$" => "/index.php?q=1ドル"
)
}

Document root is the Mac-default "/Users/eric/Sites" directory. I use simple-vhosting:
simple-vhost.server-root = "/Users/eric/Sites/vhosts"

I place my Drupal projects elsewhere and use symlinks in the sites directory and in vhosts accordingly. I use a default settings.php, only $db_url is edited. The database connection is fine.

However, for some reason Drupal always uses 'sites/default'. I added a debug statement in bootstrap.inc (line 340) to confirm that the value of $conf is 'sites/default' for every site.

Any ideas?

Lighttpd

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /