SV: SV: [horde] Double login to imp <-- TRYING AGAIN

Flemming Christensen fc at dsidata.dk
Tue Jul 9 03:53:20 PDT 2002


I've tried a lot of different things .. this is my current registry.php in horde, servers.php in imp, and my virtualhost apache settings in httpd.conf.

When I enter mail.curlingcity.com I get the horde login page. After login I get the IMP login page.

I hope you can help because I'm really stuck now

Cheers,

Flemming

-- registry.php in horde --

$this->applications['horde'] = array(                                                                                       
    'fileroot' => dirname(__FILE__) . '/..',                                                                                
    'webroot' => '/horde',                                                                                                  
    'initial_page' => 'login.php',                                                                                          
    'icon' => '/horde/graphics/home.gif',                                                                                   
    'name' => _("Horde"),                                                                                                   
    'allow_guests' => true,                                                                                                 
    'show' => true,                                                                                                         
    'templates' => dirname(__FILE__) . '/../templates',                                                                     
    'cookie_domain' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],                                                         
    'cookie_path' => '/',                                                                                                   
    'server_name' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],                                                           
    'server_port' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_PORT']                                                            
);                                                                                                                          
                                                                                                                            

$this->applications['imp'] = array(                                                                                         
 'fileroot' => dirname(__FILE__) . '/../imp',                                                                               
 'webroot' => $this->applications['horde']['webroot'] . '/imp',                                                             
 'icon' => $this->applications['horde']['webroot'] . '/imp/graphics/imp.gif',                                               
 'name' => _("Mail"),                                                                                                       
 'allow_guests' => true,                                                                                                    
 'show' => true                                                                                                             
);                                                                                                                          


------

---- servers.php in imp

$servers['imap'] = array(                                                                                                   
    'name' => 'IMAP Server',                                                                                                
    'server' => 'localhost',                                                                                                
    'protocol' => 'imap',                                                                                                   
    'port' => 143,                                                                                                          
    'folders' => 'mail/',                                                                                                   
    'namespace' => '',                                                                                                      
    'maildomain' => 'curlingcity.com',                                                                                      
    'smtphost' => 'my.curlingcity.com',                                                                                     
    'realm' => '',                                                                                                          
    'preferred' => 'true'                                                                                                   
);
-----  

----- virtualhost in apache httpd.conf
Alias /horde /usr/local/apache/htdocs/mail/horde                                                                            
Alias /horde/ /usr/local/apache/htdocs/mail/horde                                                                           
<VirtualHost *>                                                                                                             
  ServerAlias mail.curlingcity.dk                                                                                           
  ServerName mail.curlingcity.com                                                                                           
  DocumentRoot /usr/local/apache/htdocs/mail/horde/imp                                                                      
  ErrorLog logs/ccmail-error.log                                                                                            
  CustomLog logs/ccmail-access.log combined                                                                                 
</VirtualHost>                                                                                                              
-----



More information about the horde mailing list