[chora] Stable Chora Build

Chuck Hagenbuch chuck at horde.org
Fri Jul 18 11:49:47 PDT 2003


Quoting zx at bugsbunny.laudanski.com:

> I think I've set it up correctly.  Here is a snippet:
>
> $this->applications['horde'] = array(
>     'fileroot' => dirname(__FILE__) . '/',
>     'webroot' => '',
>     'initial_page' => 'cvs.php',
>     'icon' => '/graphics/home.gif',
>     'name' => 'Nuke Cops beta-NC CVS Repository',
>     'allow_guests' => true,
>     'status' => 'inactive',
>     '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'] . '',
>     'icon' => $this->applications['horde']['webroot'] .
> '/graphics/chora.gif',
>     'name' => 'betaNC-CVS',
>     'allow_guests' => true,
>     'status' => 'inactive'
> );

So you have them both living in the docroot, on top of each other. That won't
work.

> So my full path it:
>
> /www/horde/chora
>
> DocumentRoot is /www/horde/chora
> Alias for horde is set to /www/horde
> Alias for chora is set to /www/horde/chora

Why are you aliasing chora, if it's in the docroot? Try setting the webroot for
horde to /horde, the webroot for chora to '', aliasing /horde to /www/horde,
and leaving /www/horde/chora as the docroot? Make sure you adjust the graphics
paths, etc. accordingly.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
They're just looking at a wall of meat.


More information about the chora mailing list