[horde] Redirect loop

Mauricio Jose T. Tecles mtecles at biof.ufrj.br
Mon Mar 23 13:06:06 UTC 2015


----- Mensagem de Joris Bolsens <Joris at linux.com> ---------
    Data: Sat, 21 Mar 2015 11:10:30 -0700
      De: Joris Bolsens <Joris at linux.com>
Assunto: [horde] Redirect loop
    Para: horde at lists.horde.org


> Hello all,
>
> I just finished installing Horde following the instructions on the
> debian wiki[1] (this is linked by the horde wiki for debian)
> However, now whenever I try to log in, I get a redirect loop on
> /services/portal/ . I have made sure that third party cookies are
> accepted by chrome, and made sure the cookie path was properly set in
> the conf file (it is set to /).
> I have tried using both chrome and iceweasel, with same issue.
>

Wiki is open for anyone to write it, it shares one way to do it! I  
have been using Horde on Debian for years (Wheezy now) just using  
Horde instructions (INSTALL, UPGRADING). Any way, what did you  
install: webmail or groupware, what else? In general you don't login  
the first time, you just have access via web interface to configure it.

Mauricio

> my syslog shows successful login:
> ---
> Mar 21 18:04:11 hawk961 HORDE: [horde] Login success for me at mydomain.com
> to horde (my.ip.addr) [pid 30405 on line 164 of
> "/usr/share/horde/login.php"]
> Mar 21 18:04:11 hawk961 HORDE: [imp] Login success for me at mydomain.com
> (my.ip.addr) to {imap://localhost:993/} [pid 30404 on line 157 of
> "/usr/share/horde/imp/lib/Auth.php"]
>
> NGINX access.log shows tons of:
> ---
> "GET /services/portal/ HTTP/1.1" 302 31 "http://mail.mydomain.com/login.php"
>
> error.log is empty
>
> and finally my nginx config for mail.mydomain.com:
> ---
> server {
>     server_name mail.mydomain.com;
>     root /usr/share/horde;
>     index  index.php;
>
>     location / {
>         try_files $uri /index.php;
>     }
>
>     location ~ \.php {
>       fastcgi_split_path_info ^(.+\.php)(/.+)$;
>       fastcgi_param PATH_INFO $fastcgi_path_info;
>       fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
>       fastcgi_pass unix:/var/run/php5-fpm.sock;
>       fastcgi_index index.php;
>       #fastcgi_param HTTPS $php_https;
>       fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
>       include fastcgi_params;
>     }
>
>     location /Microsoft-Server-ActiveSync {
>       alias /var/www/horde/rpc.php;
>       fastcgi_split_path_info ^(.+\.php)(/.+)$;
>       fastcgi_param PATH_INFO $fastcgi_path_info;
>       fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
>       fastcgi_pass unix:/var/run/php5-fpm.sock;
>       fastcgi_index index.php;
>       #fastcgi_param HTTPS $php_https;
>       fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
>       include fastcgi_params;
>     }
> }
> ---
>
> [1]: https://wiki.debian.org/Horde


----- Final da mensagem de Joris Bolsens <Joris at linux.com> -----




Maurício José T. Tecles
Núcleo de Informática
Instituto de Biofísica Carlos Chagas Filho - UFRJ
mtecles at biof.ufrj.br
Tel.: (21) 3938-6526 ou 3938-6544



More information about the horde mailing list