[Mono-dev] asp.net application accessible via http and https
Gonzalo Paniagua Javier
gonzalo.mono at gmail.com
Tue Oct 13 17:09:18 EDT 2009
On Tue, 2009-10-13 at 10:18 +0200, Cyrille Colin wrote:
> hi all,
> i would like to run an asp.net application accessible via http and https
> simultaneously on linux and use Request.IsSecureConnection to know
> protocol that have been used.
> Is there a way to configure mod-mono or apache to have this beahavior ?
> thanks for help.
Just enable SSL in apache and in the your virtual host in which you run
mono. mod_mono will pass the appropriate variables to mod-mono-server so
that IsSecureConnection will return what you expect.
-Gonzalo
More information about the Mono-devel-list
mailing list