flagflag  

Re: Running in Windows now ?

List posts in the topic

なし Re: Running in Windows now ?

msg# 1.2.1
depth:
2
Previous post - Next post | Parent - No child | Posted on 2011/6/5 0:05
iseki  Home away from home   Posts: 1581
Hi

At v0.7.1.x, it is necessary to apply the patch and to recompile OpenSim.

If you do not know how to apply the patch, you can rewrite
OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs (around Line 1702) directly.

{
    //m_httpListener.Prefixes.Add("https://+:" + (m_sslport) + "/");
    //m_httpListener.Prefixes.Add("http://+:" + m_port + "/");
}

            |  add  5 lines
            V

{
    //m_httpListener.Prefixes.Add("https://+:" + (m_sslport) + "/");
    //m_httpListener.Prefixes.Add("http://+:" + m_port + "/");
    System.Security.Cryptography.X509Certificates.X509Certificate2 cert =
        new System.Security.Cryptography.X509Certificates.X509Certificate2("SineWaveCert.pfx", "123");
    m_httpListener2 = CoolHTTPListener.Create(IPAddress.Any, (int)m_port, cert);
    m_httpListener2.ExceptionThrown += httpServerException;
    m_httpListener2.LogWriter = httpserverlog;
}

And about recompile, please refer http://opensimulator.org/wiki/Build_Instructions

Thanks.
Votes:127 Average:4.57

Posts tree

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

40 user(s) are online (1 user(s) are browsing Forum)

Members: 0
Guests: 40

more...

Access Counter

Today : 423423423
Yesterday : 6530653065306530
Total : 2371941023719410237194102371941023719410237194102371941023719410
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com