Hi,
Picture the following setup in /etc/wordpress:
config-foo.debian.org.php config-bar.debian.org.php
If you go to http://foo.debian.org/wp-admin (which is the URL
mentioned in the initial mail with admin pw), it will redirect to the
first alphabetical subdomain that has a config file in
/etc/wordpress, in this case bar.debian.org
http://foo.debian.org/wp-admin will therefore redirect you to
http://bar.debian.org/wp-login.php?redirect_to=%2Fwp-admin%2F
That's strange. It should pick the configuration by:
debian$ egrep HOST /etc/wordpress/wp-config.php
require_once('/etc/wordpress/config-'.strtolower($_SERVER['HTTP_HOST'
]).'.php');
Your HOST_NAME.
Come Monday, you could email me directly more detailed configuration
to look at.
Seems I was a little hasty in my conclusion, it turns out this wasn't
caused by the alphabet, but by me having one ServerName and two
ServerAlias-es in my Vhost entry in httpd.conf. The ServerName just so
happened to be the first one alphabetically.
I still feel this is a bug, though. The blogs otherwise seem to work
just fine with this setup, the only exception I have come across so far
is the redirect.
In other words, I have a Vhost with these entries:
DocumentRoot /usr/share/wordpress
ServerName bar.debian.org
ServerAlias foo.debian.org
ServerAlias xyz.debian.org
Whatever I put as ServerName is what wp-admin/index.php will redirect
to.
Have a good weekend
You too, thanks!
--
-==- -=- -==-
Christer Mjellem Strand yitzhaq
Systems Administrator www.yitzhaq.net
GSM +47 922 000 12 www.countzero.no
-==- -=- -==-
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]