AW: [horde] horde and apache rewrite [ssl proxy]

Andrew Morgan morgan at orst.edu
Tue Oct 7 09:16:01 PDT 2003


Here is how I do it with Horda/IMP/Kronolith/Turba stable.  In my
httpd.conf:

DocumentRoot /var/www/horde/imp
# Alias to hide horde in the URL
Alias /horde/ /var/www/horde/
Alias /imp/ /var/www/horde/imp/
Alias /turba/ /var/www/horde/turba/
Alias /kronolith/ /var/www/horde/kronolith/


And in /var/www/horde/conf/registry.php:

$this->applications['horde'] = array(
    'webroot' => '/horde',
);
$this->applications['imp'] = array(
    'webroot' => '',
);
$this->applications['turba'] = array(
    'webroot' => '/turba',
);
$this->applications['kronolith'] = array(
    'webroot' => '/kronolith',
);


Users go to https://webmail.oregonstate.edu.  After they login, they are
taken to the IMP mailbox page, with a URL like
https://webmail.oregonstate.edu/mailbox.php?mailbox=INBOX.  When they go
to Turba, the URL looks like
https://webmail.oregonstate.edu/turba/search.php.  This mostly hides the
Horde/IMP structure from the users.

	Andy

On Tue, 7 Oct 2003, Lars Kirchhoff wrote:

> thank you Benoit, but unfortunately it didn't work, because I have
> installed horde in the root directory of the subdomain
>
>      -> file root /home/http/htdocs/xxx        -> horde home
>                   /home/http/htdocs/xxx/imp    -> imp home
>
> Document root for xxx.abc.com is: /home/http/htdocs/xxx
>
> This means my horde configuration in the registry.php is like that:
>
>      'fileroot' => dirname(__FILE__) . '/..',
>      'webroot' => '',
>      'initial_page' => 'login.php',
>
> After some debugging with the Auth and URL lib files I tried to
> set different server_names and and server_ports in the conf.php
> where I set the server_name to www.abc.com/xxx/ and the server_port
> to 443 and the ssl mode to 1. With this I got at least the login
> screen and could login, but all links inside the apps where broken,
> as the directory /xxx where missing in the link.
>
> I tried to add this to the registry as webroot directory like this
>
>      'webroot' => '/xxx'
>
> but then some of the links were correct and some did have the directory
> twice.
>
> now I'm stuck again. Does anyone have an idea?
>
> /lars




More information about the horde mailing list