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

Luciano Ramalho luciano at ramalho.org
Sun Jun 25 12:20:34 PDT 2006


Chuck Hagenbuch wrote:
>> "/home/luciano/soc/src/horde/login.php"]
>> $conf['cookie']['path'] = '/horde';
>
> Is /horde the right path?
>
Yes, the main Horde URL is:

http://localhost/horde/

and login is at:

http://localhost/horde/login.php

Any ideas on how to solve this? I know I've got cookies enabled because 
phpMyAdmin depends on it for login.

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:

luciano at arabier:~/soc/src/horde$ ls -la
total 180
drwxr-xr-x 27 luciano luciano  4096 2006-06-24 19:13 .
drwxr-xr-x 11 luciano luciano  4096 2006-06-24 18:04 ..
drwxr-xr-x  7 luciano luciano  4096 2006-06-23 22:35 admin
drwxr-xr-x  4 luciano luciano  4096 2006-06-25 00:04 config
-rw-r--r--  1 luciano luciano 25275 2000-02-12 00:47 COPYING
drwxr-xr-x  3 luciano luciano  4096 2006-06-23 22:35 css
drwxr-xr-x  2 luciano luciano  4096 2006-06-23 22:35 CVS
-rw-r--r--  1 luciano luciano     5 2004-03-19 16:00 .cvsignore
drwxr-xr-x  3 luciano luciano  4096 2006-06-23 22:35 datafiles
drwxr-xr-x  3 luciano luciano  4096 2006-06-23 22:35 debian
drwxr-xr-x  3 luciano luciano  4096 2006-06-23 22:35 docs
drwxr-xr-x  3 luciano luciano  4096 2006-06-23 22:35 download
drwxr-xr-x  3 luciano luciano  4096 2006-06-23 22:35 ducttape
lrwxrwxrwx  1 luciano luciano    13 2006-06-24 19:12 framework -> 
../framework/
drwxr-xr-x 14 luciano luciano  4096 2006-06-23 22:35 graphics
lrwxrwxrwx  1 luciano luciano     8 2006-06-24 19:13 groo -> ../groo/
drwxr-xr-x  3 luciano luciano  4096 2006-06-23 22:35 help
lrwxrwxrwx  1 luciano luciano    13 2006-06-24 19:12 incubator -> 
../incubator/
-rw-r--r--  1 luciano luciano  2753 2006-04-30 20:37 index.php
drwxr-xr-x  4 luciano luciano  4096 2006-06-23 22:35 js
drwxr-xr-x 47 luciano luciano  4096 2006-06-23 22:35 lib
drwxr-xr-x 67 luciano luciano  4096 2006-06-23 22:37 locale
-rw-r--r--  1 luciano luciano  7308 2006-01-27 16:47 login.php
lrwxrwxrwx  1 luciano luciano     7 2006-06-24 19:13 nag -> ../nag/
drwxr-xr-x  5 luciano luciano  4096 2006-06-23 22:37 packaging
drwxr-xr-x  4 luciano luciano  4096 2006-06-23 22:37 phplib
drwxr-xr-x  3 luciano luciano  4096 2006-06-23 22:40 po
lrwxrwxrwx  1 luciano luciano    17 2006-06-24 19:12 presentations -> 
../presentations/
-rw-r--r--  1 luciano luciano  3541 2005-08-23 06:54 README
-rw-r--r--  1 luciano luciano  3032 2006-01-07 23:02 rpc.php
drwxr-xr-x 10 luciano luciano  4096 2006-06-23 22:40 scripts
drwxr-xr-x 12 luciano luciano  4096 2006-06-23 22:41 services
drwxr-xr-x  3 luciano luciano  4096 2006-06-23 22:41 shares
-rw-r--r--  1 luciano luciano  2476 2006-03-05 01:41 signup.php
drwxr-xr-x  3 luciano luciano  4096 2006-06-23 22:41 src
drwxr-xr-x 33 luciano luciano  4096 2006-06-23 22:41 templates
-rw-r--r--  1 luciano luciano 15030 2006-06-10 20:15 test.php
drwxr-xr-x 32 luciano luciano  4096 2006-06-23 22:41 themes
drwxr-xr-x  4 luciano luciano  4096 2006-06-23 22:41 util
drwxr-xr-x  3 luciano luciano  4096 2006-06-23 22:41 webdav
lrwxrwxrwx  1 luciano luciano     9 2006-06-24 19:13 whups -> ../whups/
lrwxrwxrwx  1 luciano luciano    10 2006-06-24 19:13 wicked -> ../wicked/
luciano at arabier:~/soc/src/horde$

Is that a sensible arrangement?

Cheers,

Luciano





More information about the horde mailing list