On 2005-11-24T22:44+0100 Christer Mjellem Strand wrote:
> 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.

Have a good weekend,


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to