diff options
author | Pacien | 2013-04-17 15:58:50 +0300 |
---|---|---|
committer | Pacien | 2013-04-17 15:58:50 +0300 |
commit | f3d1eacc5bf8184fe249441d3fcf55fabc28d4e3 (patch) | |
tree | d7aeb85cfb81e29cb96cfe54dad1dafca3b501cc | |
parent | 8465bf703c826f778f915e80522ee7f1a07750b8 (diff) | |
download | staticweb-f3d1eacc5bf8184fe249441d3fcf55fabc28d4e3.tar.gz |
Update README.md
-rw-r--r-- | README.md | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -8,8 +8,12 @@ It automatically serves the content of the folder corresponding to the domain of | |||
8 | Usage | 8 | Usage |
9 | ----- | 9 | ----- |
10 | 10 | ||
11 | ``./StaticWeb -addr="[Address to listen: 127.0.0.1]" -port="[Port to listen: 80]" -dir="[Absolute or relative path to the root directory to serve: .]" -log="[Absolute or relative path to the log file. Leave empty for stdout]"`` | 11 | ./StaticWeb \ |
12 | -addr="[Address to listen: 127.0.0.1]" \ | ||
13 | -port="[Port to listen: 80]" \ | ||
14 | -dir="[Absolute or relative path to the root directory to serve: .]" \ | ||
15 | -log="[Absolute or relative path to the log file. Leave empty for stdout]" | ||
12 | 16 | ||
13 | The program will serve the files in the folder (inside the given root directory) with the same name as the domain from which the request originated. | 17 | The program will serve the files in the folder (inside the given root directory) with the same name as the domain from which the request originated. |
14 | 18 | ||
15 | To serve multiple sites with the same content, you can use symbolic links. \ No newline at end of file | 19 | To serve multiple sites with the same content, you can use symbolic links. |