Re: Chora at base URL

Jon Parise <[email protected]>
Newsgroups gmane.comp.horde.chora
Message-ID <[email protected]>
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 [email protected]
>     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 ([email protected]) :: The Horde Project (http://horde.org/)

-- 
Chora mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.