[Mono-list] Pb : Mono Apache SSL

mono mono monolist@graffiti.net
Wed, 25 Aug 2004 21:16:05 +0800


 Hi,

I tryed to use Mono, Apache and mod_ssl on RedHat9.
ssl works fine without Mono but I have some difficulties to run my ASP.NET pages.

My ASP.NET pages are in /usr/share/doc/xsp/test
My ssl.conf file :

-------------- ssl.conf --------------

<VirtualHost localhost:443>

  ##VirtualHost
  DocumentRoot "/usr/share/doc/xsp/test"
  ServerName localhost:443

  ##Mono
  Alias /samples "/usr/share/doc/xsp/test"
  MonoApplications "/samples:/usr/share/doc/xsp/test"
  MonoPath "/usr/lib"
  MonoExecutablePath "/usr/bin/mono"
  MonoServerPath "/usr/bin/mod-mono-server.exe"
  <Directory /usr/share/doc/xsp/test>
       SetHandler mono
  </Directory>

  ##SSL
  SSLEngine on
  SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
  SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
  SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
  <Files ~ "\.(cgi|shtml|phtml|php3?)$">
      SSLOptions +StdEnvVars
  </Files>
  <Directory "/var/www/cgi-bin">
      SSLOptions +StdEnvVars
  </Directory>
  SetEnvIf User-Agent ".*MSIE.*" \
           nokeepalive ssl-unclean-shutdown \
           downgrade-1.0 force-response-1.0

</VirtualHost>

--------------------------------------

I have tryed to run my index.aspx page with :

* http://localhost:443/samples/index.aspx

=> Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
    Hint: https://localhost/
Apache/2.0.50 (Fedora) Server at localhost Port 443

* https://localhost/
* https://localhost/samples/index.aspx

=> Not Found
The requested URL was not found on this server.
Apache/2.0.50 (Fedora) Server at localhost Port 443

Sometimes I access the index page but the connection is not encrypted.


Any idea?

Thanks.

eric (monolist@graffiti.net)


-- 
_______________________________________________
Check out our value-added Premium features, such as a 1 GB mailbox for just US$9.95 per year!

Powered by Outblaze