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

Chuck Hagenbuch chuck at horde.org
Sun Jun 25 12:37:31 PDT 2006

Quoting Luciano Ramalho <luciano at ramalho.org>:

> Yes, the main Horde URL is:
> 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.

> BTW, I'd like to know how you setup your Horde dirs in a development
> box. The way I've done is through symlinks in the apache docroot, like
> so:
> luciano at arabier:/var/www$ ls -la
> total 16
> drwxr-xr-x  3 root root 4096 2006-06-24 20:09 .
> drwxr-xr-x 17 root root 4096 2006-06-13 02:05 ..
> drwxr-xr-x  2 root root 4096 2006-06-13 00:40 apache2-default
> lrwxrwxrwx  1 root root   28 2006-06-20 16:58 horde ->
> /home/luciano/soc/src/horde/
> -rw-r--r--  1 root root   19 2006-06-13 00:42 info.php
> lrwxrwxrwx  1 root root   21 2006-06-13 03:13 phpmyadmin ->
> /usr/share/phpmyadmin
> That way I can write to the horde tree with my regular (non-root) user
> "luciano".
> I've also used symlinks to install horde apps and the framework,
> because I felt the horde dir already has too many sub-dirs, and for a
> Horde newbie like me that was confusing. So here is my
> /home/luciano/soc/src/horde/ dir:
> Is that a sensible arrangement?

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.


"we are plastered to the windshield of the bus that is time." - Chris

More information about the horde mailing list