[chora] Chora at base URL

Jon Parise jon at horde.org
Fri Jun 27 01:25:03 PDT 2003


On Thu, Jun 26, 2003 at 05:26:00PM -0400, Sean Brown wrote:

> 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/

This Alias is not needed.

>    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' => '',

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

'fileroot' => '/www/horde/chora/',

(this may not be necessary.)

>     'webroot' => $this->applications['horde']['webroot'] . '/chora',

'webroot' => '',

>     'icon' => $this->applications['horde']['webroot'] . '/chora/graphics/chora.gif',

'icon' => '/graphics/chora.gif',

>     'name' => _("CVS"),
>     'allow_guests' => true,
>     'status' => 'active'
> );
 
-- 
Jon Parise (jon at horde.org) :: The Horde Project (http://horde.org/)


More information about the chora mailing list