Emiliano wrote:
>
> > I want to use https on a non-standart port (443).
> >
> > I have configured the Midgard AdminSite on webadmin.foobar.com:8081
> > mysql> select * from host;
> >
>+----+------------------------+------+-------+------+-------+------+--------+----------+-----------+
> > | id | name | root | style | info | owner | port |
> > online | prefix | sitegroup |
> >
>+----+------------------------+------+-------+------+-------+------+--------+----------+-----------+
> > | 1 | webadmin.foobar.com | 1 | 1 | auth | 2 | 8081
> > | 1 | | 0 |
> >
> >
> > And I am using stunnel (www.stunnel.org) between 8081 -> localhost:8082
> >
> > Apache is configured to listen the port 8082
> >
> > Then when I try to connect to https://webadmin.foobar.com:8081, I do not
> > have the AdminSite but my default web site !
> > (but when I had tried http://webdmain.foobar.com:8081, I have the Admin
> > Site).
>
> Midgard will only see the connection _after_ stunnel, so I would expect
> the port in the database to need to be 8082 or 0
>
I had already tested this solution, but it does not work ! :
# stunnel -d 8081 -r localhost:8082
(in apache.conf, I had added Listen 8082)
mysql> select * from host;
+----+------------------------+------+-------+------+-------+------+--------+----------+
| id | name | root | style | info | owner | port |
online | prefix |
+----+------------------------+------+-------+------+-------+------+--------+----------+
| 1 | webadmin.foobar.com | 1 | 1 | auth | 2 | 8082
| 1 | |
But https://webadmin.foobar.com:8081 does not return the AdminSite.
I think that the problem is a bug with Midgard who test the string
"http://webadmin.foobar.com:8081"
instead of "webadmin.foobar.com:8081", then the https can not work
(according to Midgard, the string https://webadmin.foobar.com:8081 is
not the same that the string http://webamin.foobar.com:8082).
How could this problem be solved ?
Thanks,
Vincent
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]