[horde] SSL only access issues.

scott@harmonyip.com scott at harmonyip.com
Wed Oct 26 14:22:34 PDT 2005


I am having issues with trying to configure horde/imp to require ssl only
connections.  If I have $conf['use_ssl'] = <> in horde.php set to 1 I get some
strange errors.  If I set it = to 2 everything works but I get the !Done, but
with errors on page and I notice that traffic is going back and forth on both
ports 80 and 443.

I notice that when  i am configured with $conf['use_ssl'] = 1 the main frame on
hordes default page comes up as page cannot be displayed.  The source code for
that page shows the main frame going to /login.php.  Since My browser URL is
showing https://webmail.domain.com then I would assume that /login.php should ==
https://webmail.domain.com/login.php.  But all indications are that it is going
to http://webmail.domain.com/login.php.  One of the indicaitions that that's
what's happening is that I get the, some items on this page are not secure. do
you want to contiue loading the page <YES> <Cancel> <No>.  --That's not the
exact error... of course.

One other slightly different thing I am doing that may affect the response I
get, as I eluded to above, is that I've setup a hostname of webmail.domain.com
that points to /var/www/localhost/htdocs/horde.  Ive also edited
horde/config/registry.php with the following.  This is just the pertinent
parts.

$this->applications['horde'] = array(

'webroot' => '',
'cookie_domain' => 'webmail.domain.com',
'cookie_path' => '/',
'server_name' => 'webmail.domain.com'

Here is my apache2/vhosts.d/webmail.domain.conf file.

<VirtualHost *:443>
    DocumentRoot "/var/www/localhost/htdocs/horde"
    ServerName "webmail.domain.com"
    ErrorLog "/var/log/webmail.domain.com-error.log"



</VirtualHost>

<VirtualHost *:80>
ServerName "webmail.domian.com"
DocumentRoot "/var/www/localhost/htdocs/horde"
ErrorLog "/var/log/webmail.domain.com-error.log"
</VirtualHost>

Any help anyone can offer is greatly appreciated.

--scott



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


More information about the horde mailing list