Update of /cvsroot/win32forth/win32forth/doc
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv15657
Added Files:
WebServer.htm
Log Message:
Jos: The dexfile for the webserver.
--- NEW FILE: WebServer.htm ---
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/xml; charset=iso-8859-1" />
<meta name="GENERATOR" content="DexH v03" />
<style type="text/css">
</style>
<title>
</title>
</head>
<body>
<hr /><h1>WebServer -- Webserver
</h1><hr /><h2>Glossary
</h2><pre><b><a name="0">80 httpserver http
</a></b></pre><p>our http-server instance
</p><pre><b><a name="1">: server-set-title ( -- )
</a></b></pre><p>set title of the console window
</p><pre><b><a name="2">s" doc\" Prepend<home>\ webpath place
</a></b></pre><p>the path to the web content
</p><pre><b><a name="3">: server-choose-path { \ $path -- }
</a></b></pre><p>chosse the path for the folder with the web content
</p><pre><b><a name="4">: server-init ( -- )
</a></b></pre><p>init the server
</p><pre><b><a name="5">: server-run ( -- )
</a></b></pre><p>run the server
</p><pre><b><a name="6">: server-exit ( -- )
</a></b></pre><p>close the server
</p><pre><b><a name="7">: www-server ( -- )
</a></b></pre><p>Starts the server.
Tell your firewall that Win32Forth is allowed to use port 80. <br />
Then you should able to see the server in your browser by using: <br />
http://localhost/p-index.htm <br />
Assuming that the file p-index.htm is in your webpath. <br />
When you would like to use the websever over the internet. <br />
you must replace "localhost" by your IP-adres. <br />
The IP-adres can be seen at http://checkip.dyndns.org <br />
</p>
|