There is only a few things needing to be done to actually implement this. Also it's worth symlinking the /usr/share/wordpress directory to itself:
ln -s . wordpress So that users can use the gnome-blog package. As for changes to code, in /etc/wordpress/wp-config.php I removed the following line: require_once('/etc/wordpress/config-'.strtolower($_SERVER['HTTP_HOST']).'.php'); and replaced it with: $bits = explode("/", $_SERVER['DOCUMENT_ROOT']); $userpath = ""; for($i = 1; $i < count($bits) - 1; $i++) $userpath .= "/".$bits[$i]; $userpath .= "/"; include_once($userpath.'wp-config.php'); define('THEMEPATH', $userpath); Next I made the following changes: diff -ur /tmp/wordpress/usr/share/wordpress/wp-admin/admin-functions.php /usr/share/wordpress/wp-admin/admin-functions.php --- /tmp/wordpress/usr/share/wordpress/wp-admin/admin-functions.php 2006-07-26 18:56:56.000000000 -0400 +++ /usr/share/wordpress/wp-admin/admin-functions.php 2006-08-30 22:11:39.000000000 -0400 @@ -1120,7 +1120,7 @@ function validate_current_theme() { $theme_loc = 'wp-content/themes'; - $theme_root = ABSPATH.$theme_loc; + $theme_root = THEMEPATH.$theme_loc; $template = get_settings('template'); $stylesheet = get_settings('stylesheet'); diff -ur /tmp/wordpress/usr/share/wordpress/wp-includes/functions.php /usr/share/wordpress/wp-includes/functions.php --- /tmp/wordpress/usr/share/wordpress/wp-includes/functions.php 2006-07-26 13:45:19.000000000 -0400 +++ /usr/share/wordpress/wp-includes/functions.php 2006-08-30 22:11:53.000000000 -0400 @@ -1682,7 +1682,7 @@ } function get_theme_root() { - return apply_filters('theme_root', ABSPATH . "wp-content/themes"); + return apply_filters('theme_root', THEMEPATH . "wp-content/themes"); } function get_theme_root_uri() { @@ -1774,9 +1774,10 @@ $themes = array(); $wp_broken_themes = array(); $theme_root = get_theme_root(); - $theme_loc = str_replace(ABSPATH, '', $theme_root); + $theme_loc = str_replace(THEMEPATH, '', $theme_root); // Files in wp-content/themes directory -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]