1. What is Mohican?
2. Fetaures
3. Licence conditions
4. Installataion

1. What is Mohican?

Mohican is a HTTP server written in C# language running on .NET Framework.
I wrote this program while studied for my final examination at the university
just for fun and because I was bored to study a lot of stupidity for the final
exams. I don't plan to add new features. This program needs at least 
Microsft .NET Framework 1.1.
The author is Krisztin Pcza. 
You can contact me at email address kpocza@kpocza.net .

2. Features

- Runs on Windows and tested with Windows XP SP2.
- Can be run as a service or as a standalone program. Mohican has a standard
  interface where you can control it's state.
- XML configuration file (Mohican.conf)
- Logging capability (Mohican.log)
- Multiple server threads, configurable
- MIME types
- Capability to serve static HTML content
- Module based architecture: added a PHP module -> dynamic PHP pages can be
  served. Have to download a copy the PHP engine from php.net
- Basic authentication support
- Directory listing

3. Licence conditions

Mohican is licenced under a BSD-like licence (licence.txt).

4. Installation

a./ Install at least Microsoft .NET Framework version 1.1 if you didn't do
    it previously

b./ Copy the program to a directorty you can to run

c./ In the run directory modify the Mohican.conf file to contract the proper
    paths to the different components and directories
d./ If you can PHP support download the php engine from http://php.net, install
    it and set the correct path in the Mohican.conf configuration file

e./ If you want to run Mohican as a standalone program then start 
    MohicanTest.exe, click Initialize and then Start

f./ If you want to run Mohican as a Windows Service do the following:
    1./ Go to the run directory
    2./ run: <YOURFRAMEWORKDIR>\InstallUtil Mohican.exe
        (If there is an error correct it)
    3./ If you have Windows 2000 the service will run under Local System 
        account. You do not have to change anything. If you 
        If you have Windows XP, 2003 Server or later the service will run under
        Network Service account which has much less privileges than SYSTEM.
        So you have to grant read, read&exec, write, modify, list folder content
        access rights on the run directory and it's content to Network Service 
        user. 
	run! cacls run /G "Network Service":R /E /T
	run! cacls run /G "Network Service":W /E /T
	run! cacls run /G "Network Service":C /E /T
	You can do it file-by-file or in user interface. Or you can change
        the source code to run the service under other account.
    4./ run! net start mohican

   
