[horde] Can't login as administrator after setting up MySQL auth backend

Luciano Ramalho luciano at ramalho.org
Sun Jun 25 14:29:28 PDT 2006


Chuck Hagenbuch wrote:
>> http://localhost/horde/
>
> Ah. I've had situations (especially on windows for some reason) where 
> if I use localhost cookies aren't set. If this is the case for you, 
> you'll need to change this setting:
>
> $conf['session']['use_only_cookies'] = true;
>
> to false so that you can use URL sessions. Or, use a real name for 
> your local system.
Thanks for the tip! I did not need to change the configuration: since 
apache had already been complaining about the lack of a fully qualified 
domain name, I added "localhost.localdomain" to this line in /etc/hosts:

127.0.0.1 localhost.localdomain localhost

Now when I visit the URL below I can login as admin:

http://localhost.localdomain/horde/index.php
>
> Well, the issue there is that you'll need to modify the lib/base.php 
> files of all of those apps so that they're looking for Horde's 
> core.php in the right place. Otherwise, it's fine.
That's a big drawback, and I have hit this problem, so I put the apps 
back where they belong.

Maybe it would be useful if a sysadmin had an easy way to tell apart the 
horde/ sub-dirs which are apps from those which are basic horde 
components. In Zope 2 all the apps go inside a certain directory (called 
Products), and in Zope 3 they can be anywhere but each must have a 
corresponding config file in a specific dir. In both cases one can use 
symlinks to quickly add/remove functionality from the site.

Thanks for helping me solve this issue!

Cheers,

Luciano



More information about the horde mailing list