[Mono-list] mod_mono and SSL

DI Mag. Rainer Burgstaller rainer.burgstaller@web.de
Wed, 26 May 2004 07:49:21 +0200


Hi Gonzalo

thanks for the quick reply. I now changed it according to your template  
but it still does not work. Although, it looks better now (i.e.  
mod-mono-server.exe is now started) I still dont get a reply. It might be  
important to mention that I am using apache2.

Here is my current configuration:

Listen 443
<VirtualHost _default_:443>
         ServerAdmin webmaster@foo.com
         ServerName webmail.foo.com

         DocumentRoot /share/secure-web
         SSLEngine on

         SSLCertificateKeyFile /etc/apache2/ssl/server.key
         SSLCertificateFile /etc/apache2/ssl/server.crt
         SSLCipherSuite bar

        Alias /mono "/share/secure-web/mono"
         MonoApplications "/mono:/share/secure-web/mono"
         MonoPath "/usr/local/lib/mono/1.0:/usr/local/lib/mono/2.0"
         MonoExecutablePath "/usr/local/bin/mono"
         MonoServerPath "/usr/local/bin/mod-mono-server.exe"
         SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown

         <Directory "/share/secure-web">
                 Options Indexes FollowSymLinks MultiViews
                 AllowOverride None
                 Order allow,deny
                 allow from all
         </Directory>

         <Directory /share/secure-web/mono>
                 SetHandler mono
         </Directory>


         ErrorLog /var/log/apache2/secure-error.log

         # Possible values include: debug, info, notice, warn, error, crit,
         # alert, emerg.
         LogLevel warn

         CustomLog /var/log/apache2/secure-access.log combined
         ServerSignature On
</VirtualHost>


When I do
lynx https://localhost/mono

I get
Alert!: Unexpected network read error; connection aborted.

Is there any way to get a log from mono? Maybe somethings crashing there?

any suggestions?
-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/