Portions Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved.
This component and the accompanying materials are made available
under the terms of "Eclipse Public License v1.0"
which accompanies this distribution, and is available at the URL "http://www.eclipse.org/legal/epl-v10.html".
EPOC Webserver 1.0
Introduction
Introduction
Introduction
EPOC Webserver is a single host webserver program for EPOC. It implements HTTP 0.9,1.0 and 1.1 protocols. Although, it is partially complaint with HTTP 1.1, it implements the GET, HEAD, POST, PUT, DELETE, TRACE and OPTIONS methods.
EPOC Webserver runs over the dual-IP stack (IPV4/IPV6) for EPOC.

Quick start
Quick start
Quick start, begin
Yous should create first the following directories before start the webserver:
The root directory of the site: C:\ws\root\ 
The backup directory: C:\ws\backups\
The error directory: C:\ws\error\
The cgi directory: C:\ws\cgi-bin\
•	These are the defaults directories. You can change them in Options |  Directories. (see Options menu).
Copy all the files of your website into the root directory. Select EPOC-WS | Start Webserver to start EPOC Webserver or press the Start button.
You can also publish (update web pages remotely) your web pages. Create the previous directories and start the webserver. Edit and publish your web pages using Netscape Composer or similar programs.

EPOC-WS Menu
EPOC-WS Menu
EPOC-WS menu, Main menu, Start, Stop, Exit
There are three options in this menu:
•	Start Webserver: Starts the webserver. This option is dimmed if the Webserver is currently running.
•	Stop WebServer: Stops the webserver. The current connections are aborted and closed.
•	Exit: Exits the program. If the webserver is running then it also stops the webserver and it colses and aborts all connections.

View Menu
View Menu
View, Console, Screen, Clear Console, Clear Screen, Counters
There are three options in this menu:
•	Console: This option allows enabling and disabling the log messages in the conole window. There are three kinds of log messages:
•	HTTP Request: This log message displays the HTTP Request message from the current request. It is enabled when the box is checked.
•	HTTP Response: This log message displays the HTTP response message from the current request. It is enabled when the box is checked.
•	Miscellaneuos Data: This box enables and disables the log message which displays the remote connection address and the internal connection number. If it is enabled this log messag is shown every time a request is made and a connection is closed. It is enabled when the box is checked.
•	Reset Total Counter: This option sets to zero the Total Connections counter in the bottom line.
•	The Current Connections counter will not be reinitialised. The current connections will not be counted for the total number of connections after the reset.
•	Clear Console: This option cleans the console and the history associated to it.

Options menu
Options menu
Options, config, configuration
This menu allows configurin some of the settings of the webserver. There are four options:
•	Directories: This option allows setting the list of the directories needed for the webserver.
•	Server Path: It is the root directory of the website.
•	CGI Path: It is the directory where the cgi are installed.
•	Backup Path: It is the directory where the backup of the remote updated and deleted files are placed.
•	Error Path: it is the directory where the web pages associated to the HTTP errors are situated. Each error has associted an html page (errorXXX.html) where XXX is the code number of the HTTP error (e.g. 404 Not Found has associated the r file 'error404.html' ). If the error file is missing, the webserver will use its default error messages.
•	HTTP Methods: This options enables/disables the PUT and the DELETE methods. A method is enabled when its box is checked.
•	The PUT method is need to publish the web pages remotely.
•	MIME-Types: This options displays a two-column with the extension/mime-types association. The first column shows the extension and the second the mime-type related to it. Adding more extension can be done using  the Add button (Ctrl + A). Deleting entries can be done using the Delete button (Ctrl + D).
•	Miscellaneous Data: This options allows setting the default resource. The default resource is the resource accessed when a root request is received (e.g.http:/www.nokia.com/).

Help menu
Help menu
Help, About
There are two options in this menu:
•	Help: Displays this Help.
•	About: it shows general information.