diff options
Diffstat (limited to 'dnsmasq-httpboot.conf')
| -rw-r--r-- | dnsmasq-httpboot.conf | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/dnsmasq-httpboot.conf b/dnsmasq-httpboot.conf index 402d352..281c884 100644 --- a/dnsmasq-httpboot.conf +++ b/dnsmasq-httpboot.conf | |||
| @@ -59,14 +59,25 @@ | |||
| 59 | # $ mkdir -p /var/lib/www | 59 | # $ mkdir -p /var/lib/www |
| 60 | # $ ln -s /var/lib/tftpboot /var/lib/www/httpboot | 60 | # $ ln -s /var/lib/tftpboot /var/lib/www/httpboot |
| 61 | # | 61 | # |
| 62 | # Start busybox httpd: | 62 | # Start web server: |
| 63 | # $ busybox httpd -p 10.0.109.254:80 -h /var/lib/www -f -vv | 63 | # |
| 64 | # | 64 | # Option 1: busybox httpd: |
| 65 | # Useful httpd options: | 65 | # $ busybox httpd -p 10.0.109.254:80 -h /var/lib/www -f -vv |
| 66 | # -f - don't daemonize | 66 | # |
| 67 | # -v[v] - verbose | 67 | # Useful busybox httpd options: |
| 68 | # -p IP:PORT - Bind to IP:PORT (default *:80) | 68 | # -f - don't daemonize |
| 69 | # -h HOME - Home directory (default .) | 69 | # -v[v] - verbose |
| 70 | # -p IP:PORT - Bind to IP:PORT (default *:80) | ||
| 71 | # -h HOME - Home directory (default .) | ||
| 72 | # | ||
| 73 | # Option 2: thttpd | ||
| 74 | # $ thttpd -h 10.0.109.254 -d /var/lib/www -f -vv | ||
| 75 | # | ||
| 76 | # Useful thttpd options: | ||
| 77 | # -D - don't daemonize | ||
| 78 | # -d dir - directory | ||
| 79 | # -h host - bind to host for multihoming | ||
| 80 | # -p port - secifies an alternate port number | ||
| 70 | # | 81 | # |
| 71 | 82 | ||
| 72 | # | 83 | # |
