mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
[ darkhttpd-1.5 release ]
(we skipped 1.4 due to a release engineering oversight) Update README to reflect Makefile changes.
This commit is contained in:
parent
1a161a47ce
commit
f5c051aad5
19
trunk/README
19
trunk/README
@ -1,16 +1,16 @@
|
|||||||
darkhttpd
|
darkhttpd Operational Manual
|
||||||
=========
|
============================
|
||||||
|
|
||||||
Compiling
|
How to build darkhttpd
|
||||||
---------
|
----------------------
|
||||||
|
|
||||||
Run make and follow the intructions given:
|
Simply run make:
|
||||||
$ make
|
$ make
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Running
|
How to run darkhttpd, with examples
|
||||||
-------
|
-----------------------------------
|
||||||
|
|
||||||
Serve /var/www/htdocs on the default port (port 80):
|
Serve /var/www/htdocs on the default port (port 80):
|
||||||
$ ./darkhttpd /var/www/htdocs
|
$ ./darkhttpd /var/www/htdocs
|
||||||
@ -35,7 +35,6 @@ Use default.htm instead of index.html:
|
|||||||
|
|
||||||
Add mimetypes - in this case, serve .dat files as text/plain:
|
Add mimetypes - in this case, serve .dat files as text/plain:
|
||||||
$ cat extramime
|
$ cat extramime
|
||||||
# this is a comment
|
|
||||||
text/plain dat
|
text/plain dat
|
||||||
$ ./darkhttpd /var/www/htdocs --mimetypes extramime
|
$ ./darkhttpd /var/www/htdocs --mimetypes extramime
|
||||||
|
|
||||||
@ -51,3 +50,7 @@ Run in the background and create a pidfile:
|
|||||||
|
|
||||||
Commandline options can be combined:
|
Commandline options can be combined:
|
||||||
$ ./darkhttpd ~/public_html --port 8080 --addr 127.0.0.1
|
$ ./darkhttpd ~/public_html --port 8080 --addr 127.0.0.1
|
||||||
|
|
||||||
|
To see a full list of commandline options,
|
||||||
|
run darkhttpd without any arguments:
|
||||||
|
$ ./darkhttpd
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
static const char
|
static const char
|
||||||
pkgname[] = "darkhttpd/1.3",
|
pkgname[] = "darkhttpd/1.5",
|
||||||
copyright[] = "copyright (c) 2003, 2004, 2006 Emil Mikulic",
|
copyright[] = "copyright (c) 2003, 2004, 2006 Emil Mikulic",
|
||||||
rcsid[] = "$Id$";
|
rcsid[] = "$Id$";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user