Can anyone help me making my WinBoard PC a http server?

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
hgm
Posts: 27796
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Can anyone help me making my WinBoard PC a http server?

Post by hgm »

I have written a 10x8 Chess Viewer in HTML + Javascript, in order to make it possible for people to observe games that I play during my test tourneys. For this to work, however, the Javascript running in the browser of the observing party must be able to download the file with moves on the tournament PC. I already equiped WinBoard with a /serverMoves="<filname>" option, so that it appends a move in the desired format to this file as soon as it is played (including depth/score and timing info).

Can anyone advise me how to configure my PC as a simple HTTP server? I know how to open up ports in my firewalls. But I have never run a PC as a server, and I have no idea what software would be suitable for this, and how to install it.
User avatar
Jim Ablett
Posts: 1383
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Can anyone help me making my WinBoard PC a http server?

Post by Jim Ablett »

Hi Harm,

This is a very simple windows program which will allow you to serve up webpages
from your own local webserver, all in practically one click. whether it's powerful enough
to suit your purpose, I don't know. I think it's cute anyway.

http://www.analogx.com/contents/downloa ... /sswww.htm

Jim.
cyberfish

Re: Can anyone help me making my WinBoard PC a http server?

Post by cyberfish »

For that purpose, virtually any web server would work. For Windows, the most popular one is IIS from Microsoft. I wouldn't recommend using it, however, as I heard its default settings are rather insecure (correct me if I am wrong, I only have experience with Linux servers), and I assume you don't want to spend hours to make it secure. On everything except Windows, the most popular web server is Apache (~60% of all servers on the internet last time I checked). It is opensource and quite secure. That is what I use and would recommend. It has a Windows version, too.

http://httpd.apache.org/docs/2.0/platform/windows.html
TonyJH
Posts: 183
Joined: Tue Jun 20, 2006 4:41 am
Location: USA

Re: Can anyone help me making my WinBoard PC a http server?

Post by TonyJH »

Your chess viewer looks great. I don't know what server software you should use, but maybe these links would be helpful:

http://en.wikipedia.org/wiki/Comparison_of_web_servers
http://en.wikipedia.org/wiki/Comparison ... eb_servers