[imp] Re: Login Looping Problem

Brady Kern bkern at news-gazette.com
Tue Nov 4 11:32:15 PST 2003


Eric,
Thanks for your help,  here are the current settings

nslookups for both webmail and webmail.domain.com respond with correct IP

httpd.conf

<VirtualHost webmail.domain.com>
    DocumentRoot /var/www/html/horde
    ServerName webmail.domain.com
    ErrorLog /var/log/httpd/mail/error_log
    CustomLog /var/log/httpd/mail/access_log combined
    Alias /horde /var/www/html/horde/
    Alias /horde/ /var/www/html/horde/
</VirtualHost>
<VirtualHost webmail>
    DocumentRoot /var/www/html/horde
    ServerName webmail.domain.com
    ErrorLog /var/log/httpd/mail/error_log
    CustomLog /var/log/httpd/mail/access_log combined
    Alias /horde /var/www/html/horde/
    Alias /horde/ /var/www/html/horde/
</VirtualHost>

registry.php

$this->applications['horde'] = array(
    'fileroot' => dirname(__FILE__) . '/..',
    'webroot' => '/horde',
    'initial_page' => 'login.php',
    'icon' => '/horde/graphics/home.gif',
    'name' => _("Horde"),
    'allow_guests' => true,
    'status' => 'active',
    'templates' => dirname(__FILE__) . '/../templates',
    'cookie_domain' => $_SERVER['SERVER_NAME'],
    // ** If IE will be used to access Horde modules, you should read
    //    this discussion about the cookie_path setting (discussing issues
    //    with IE's Content Advisor):
    //    http://lists.horde.org/archives/imp/Week-of-Mon-20030113/029149.html
    //'cookie_path' => '/horde',
    'cookie_path' => '/',
    'server_name' => $_SERVER['SERVER_NAME'],
    'server_port' => $_SERVER['SERVER_PORT']
);





Quoting Brady Kern <bkern <at> news-gazette.com>:

> Hello,
>
> I'm doing a new IMP installation.  Here is my only problem so far:
> When I connect to the server via webmail.domain.com everything is fine
> When I connect just using webmail/   The login page comes up accepts the
> login
> but just loops back to the login.

Either your web server is misconfigured (or DNS, etc), or your horde/php
settings for cookies or paths are misconfigured.

> I am using mozilla and have changed the
> cookie_path to '/'  The logs show an ok login with a redirect to the login
> page
> even when clicking the links at the bottom.  Any help would be greatly
> appreciated
> Thanks

Hard to say without knowing your settings in registry.php, and your cookie
settings in both Horde and php...

--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!




More information about the imp mailing list