| Recommend this page to a friend! | 
| Info | Documentation | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Total: 459 | All time:  6,097 This week: 36 | |||||
| Version | License | PHP version | Categories | |||
| http-server 0.0.14 | The PHP License | 5.4 | HTTP, PHP 5 | 
| Description | Author  | |||
This package implements a HTTP server that can take virtual host requests. Innovation Award 
  | 
This is a http server for PHP completely written in PHP - HttpServer.
> Why do you do this? > - Because I can.
All configuration in file httpserver.configuration. It has blocks and directives inside blocks. For example, this is default configuration:
global:
    listen 80
wapcode.ru:
    document_root C:\Users\User\Documents;
    match *.(png|jpe?g|gif):
        cache 30d;
    replace (.+) /index.php?$1 not_exist;
default:
    document_root C:\Users\User\Documents;
    compress gzip,deflate;
global.conf:
    document_root C:\Users\User\global.conf;
Some special host names:
Inside server configuration following directives available.
listen [port].
> Sets server port to listen on.
Inside a block following directives available.
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Doc. | Documentation | |||
| / | src | 
| File | Role | Description | 
|---|---|---|
|    | 
Class | Class source | 
|    | 
Class | Class source | 
|    | 
Class | Class source | 
|    | 
Class | Class source | 
|    | 
Class | Class source | 
|    | 
Class | Class source | 
|    | 
Class | Class source | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
  | 
  | 
| User Ratings | ||||||||||||||||||||||||||||||
  | ||||||||||||||||||||||||||||||
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.