[Mono-list] Question: Mono Apache and SSL

Igor Georgiev gory@alphasoft-bg.com
Thu, 19 Aug 2004 18:26:23 +0300


>  SSL works fine without Mono.
>  but I can't run my Mono pages with https. The problem may be in the
httpd.conf file.
>
>   LoadModule mono_module modules/libmod_mono.so
>   Alias /demo "/var/www/mono/"
>   MonoApplications "/demo:/var/www/mono/"
>   <Directory /var/www/mono/>
>        SetHandler mono
>   </Directory>
>
>
> Please, how have you configured httpd.conf?
>
> Thanks.
>
> eric
actualy i create mono.conf with all mono stuff inside and iclude it in
httpd.conf and ssl.conf
---------- httpd.conf
<VirtualHost XX.XX.XX.XX:80>
    vhost stuff here

    Include conf/xservices.mono.conf
</VirtualHost>

-------------- ssl.conf
<VirtualHost XX.XX.XX.XX:443>
    vhost stuff here

    Include conf/mono.conf

    ssl stuf
    <Files ~ "\.(cgi|shtml|phtml|php3?)$">
     SSLOptions +StdEnvVars
    </Files>
    <Directory "/usr/local/apache2/cgi-bin">
      SSLOptions +StdEnvVars
     Order allow,deny
     Deny from all
    </Directory>

 SSLEngine on
 SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
 SSLCertificateFile /usr/local/apache2/conf/ssl.crt/server.crt
 SSLCertificateKeyFile /usr/local/apache2/conf/ssl.key/server.key
 SetEnvIf User-Agent ".*MSIE.*" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0

</VirtualHost>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 16.08.2004