forked from mattn/tinytinyhttpd
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
48 lines (32 loc) · 712 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Tiny Tiny HTTPD
===============
WHAT IS THIS:
-------------
tiny tiny httpd written in C.
LICENSE:
-------
BSD
AUTHOR:
-------
mattn
HOW TO DO:
----------
# ./tthttpd -vvv
server started http://127.0.1.1:8080/
# ./tthttpd -p 8080 -d path-to-root
or
# cat my-httpd.conf
[global]
port=8080
root=/path/to/contents
indexpages=index.html,index.php
charset=utf-8
spawnexec=on
[mime/types]
cgi=@/usr/bin/perl
php=@/usr/bin/php
# ./tthttpd -c my-httpd.conf
SCREEN SHOT:
------------
![MTOS working](http://farm4.static.flickr.com/3305/3597469456_1f5210975f_o.png "MTOS Working")
![WordPress working] (http://farm4.static.flickr.com/3643/3603370389_4d4bc5c9c3_o.png "WordPress Working")