[chora] Chora at base URL

Sean Brown sbrown at hsr.com
Thu Jun 26 14:26:00 PDT 2003


I realize this has been covered before, but I cannot get this to work
properly.

I've set up horde (2.2.3) and chora (1.2) using the 'default'
configuration (where chora is found at
http://www.mydomain.com/horde/chora).  Everything works fine.  When I
follow the instructions in the admin FAQ to make
http://chora.mydomain.com work, I get the content properly, but none of
the look and feel (templates) or graphics.  Here's what I've done in
Apache:

<VirtualHost *>
    ServerAdmin me at mydomain.com
    ServerName chora.mydomain.com
   Alias /horde/ /www/horde/
   Alias /chora/ /www/horde/chora/
   DocumentRoot  /www/horde/chora/
    ErrorLog /www/logs/cvs.error.log
    CustomLog /www/logs/cvs.access.log combined
    <Directory "/www/horde/chora">
        Options FollowSymLinks
        AllowOverride AuthConfig Limit Options
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

Here's the changes I made in /www/horde/config/registry.php:

$this->applications['horde'] = array(
    'fileroot' => dirname(__FILE__) . '/..',
    'webroot' => '',
    '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'],
    'cookie_path' => '/',
    'server_name' => $_SERVER['SERVER_NAME'],
    'server_port' => $_SERVER['SERVER_PORT']
);


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


Any ideas?


Sean



More information about the chora mailing list