On Tuesday 13 December 2005 00:32, Kai Hendry wrote: > On 2005-12-12T20:50+0000 Kyle Gordon wrote: > > After visiting /blog/ on the website, I get repeated 404 errors for > > This is where you probably went wrong. The current system only takes > HTTP_HOST into account. > > So yourdomain.com would work (with the multiple blog setup). > > Though, yourdomain.com/blog wouldn't. > > You could make /blog work with a symlink, though the default > wp-config.php would have to be replaced. And a multiple blog setup would > become very difficult. > > Consider a subdomain on your domain? blog.yourdomain.com. That would > work. > > I don't consider this a bug, so I'll be closing it shortly.
Hi Kai, Thanks for the info, and I've now set it up with VirtualDocumentRoot /usr/share/wordpress/. It's a brand new domain, so I can break it as much as I like just now :-) However, it is still failing when looking for /etc/wordpress/wp-settings.php and /etc/wordpress/wp-includes/ The file /etc/wordpress/wp-config.php hunts for HTTP_HOST in /etc/wordpress/, which in turn gets config-www.sharebear.me.uk.php (for my setup anyway). This file, taken from /usr/share/wordpress/wp-config-sample.php, has the following code at the end define('ABSPATH', dirname(__FILE__).'/'); require_once(ABSPATH.'wp-settings.php'); My PHP skills aren't the best, but it would appear that this searches /etc/wordpress/ for wp-settings.php, which it can't find. This could be due to ABSPATH being set to /etc/wordpress/ instead of /usr/share/wordpress/ So, I've edited config-www.sharebear.me.uk.php to define ABSPATH as /usr/share/wordpress/ instead of dirname(__FILE__).'/', and it all works perfectly! I'd still consider this to be a bug, but it may come down to a setting I had wrong somewhere. Many thanks, Kyle -- Kyle Gordon [EMAIL PROTECTED] http://lodge.glasgownet.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]