This project is read-only.

The HTTP Web Server


The HTTP Web Server is an easy-to-use, FAST web hosting server that is written in C#.

It has a built-in Install/Uninstall menu and is console based.


Ability to define the Server Root Path, Document Root Path, Listening Port, Admin Email Address, and the Directory Index Filenames.

Full install menu that installs to one of two locations, either the server running directory or the directory “C:\The HTTP Web Server”.

Uninstall option uninstalls and removes all files in the folders.

Install has two folders, “conf”, and “htdocs”.

The “conf” folder has two files, httpd.conf, which is the main config file, and mime.type, which configures what file types, can be viewed in the browser.

The “htdocs” folder has “index.html”, which is a template web page. This folder is where you will put all the files you are hosting with your site.

This web server is in the very early stages of development and is currently very basic. This is where I need your help as a developer to help add features that are not currently available. I ask as you make changes that you please fully comment every change and section of code to promote easier code readability. Thanks!


Version changes (4/12/2012):
* Added "Start", "Stop", "Install", and "Uninstall" Command Line Switches

Version changes (4/12/2012):
* Fixed Localhost problem, now works with domain names

Version changes (4/11/2012):
* First Release.

Here is a list of features that I would like to add:

(I will cross off the items as they are added to the code) (I will also be adding to this list more items as required)

***FIXED: Use across the network and with domain names. (Currently you can only access with localhost even if the port is forwarded.)***

PHP, MySQL and webdav integration

PHPMyAdmin integration

.htaccess and .htpasswd or web.config integration

Mod Rewrite Integration

GUI Form Interface

***ADDED: Ability to stop and start the server without just closing it***

***ADDED: Command Arguments (i.e. –start, -stop, /start, /stop)***

Lengthened list of mimes

Directory listing on empty folders with change current visible hierarchy folder view

Prevent .htaccess and .htpasswd files from being viewed by Web clients.

Virtual Directories Integration

Error 414 Request-URI size limit

Install server as a service that starts automatically with windows

Make server try to download file if not a recognized mime type

Better Error Pages (404, 500 or others that can be found here)

Last edited Apr 13, 2012 at 4:49 AM by jlgager, version 11