diff options
Diffstat (limited to 'networking/httpd.c')
-rw-r--r-- | networking/httpd.c | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index 7ad6d0878..cfc07075b 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -102,120 +102,120 @@ | |||
102 | //config: bool "httpd (32 kb)" | 102 | //config: bool "httpd (32 kb)" |
103 | //config: default y | 103 | //config: default y |
104 | //config: help | 104 | //config: help |
105 | //config: HTTP server. | 105 | //config: HTTP server. |
106 | //config: | 106 | //config: |
107 | //config:config FEATURE_HTTPD_RANGES | 107 | //config:config FEATURE_HTTPD_RANGES |
108 | //config: bool "Support 'Ranges:' header" | 108 | //config: bool "Support 'Ranges:' header" |
109 | //config: default y | 109 | //config: default y |
110 | //config: depends on HTTPD | 110 | //config: depends on HTTPD |
111 | //config: help | 111 | //config: help |
112 | //config: Makes httpd emit "Accept-Ranges: bytes" header and understand | 112 | //config: Makes httpd emit "Accept-Ranges: bytes" header and understand |
113 | //config: "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted | 113 | //config: "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted |
114 | //config: downloads, seeking in multimedia players etc. | 114 | //config: downloads, seeking in multimedia players etc. |
115 | //config: | 115 | //config: |
116 | //config:config FEATURE_HTTPD_SETUID | 116 | //config:config FEATURE_HTTPD_SETUID |
117 | //config: bool "Enable -u <user> option" | 117 | //config: bool "Enable -u <user> option" |
118 | //config: default y | 118 | //config: default y |
119 | //config: depends on HTTPD | 119 | //config: depends on HTTPD |
120 | //config: help | 120 | //config: help |
121 | //config: This option allows the server to run as a specific user | 121 | //config: This option allows the server to run as a specific user |
122 | //config: rather than defaulting to the user that starts the server. | 122 | //config: rather than defaulting to the user that starts the server. |
123 | //config: Use of this option requires special privileges to change to a | 123 | //config: Use of this option requires special privileges to change to a |
124 | //config: different user. | 124 | //config: different user. |
125 | //config: | 125 | //config: |
126 | //config:config FEATURE_HTTPD_BASIC_AUTH | 126 | //config:config FEATURE_HTTPD_BASIC_AUTH |
127 | //config: bool "Enable Basic http Authentication" | 127 | //config: bool "Enable Basic http Authentication" |
128 | //config: default y | 128 | //config: default y |
129 | //config: depends on HTTPD | 129 | //config: depends on HTTPD |
130 | //config: help | 130 | //config: help |
131 | //config: Utilizes password settings from /etc/httpd.conf for basic | 131 | //config: Utilizes password settings from /etc/httpd.conf for basic |
132 | //config: authentication on a per url basis. | 132 | //config: authentication on a per url basis. |
133 | //config: Example for httpd.conf file: | 133 | //config: Example for httpd.conf file: |
134 | //config: /adm:toor:PaSsWd | 134 | //config: /adm:toor:PaSsWd |
135 | //config: | 135 | //config: |
136 | //config:config FEATURE_HTTPD_AUTH_MD5 | 136 | //config:config FEATURE_HTTPD_AUTH_MD5 |
137 | //config: bool "Support MD5 crypted passwords for http Authentication" | 137 | //config: bool "Support MD5 crypted passwords for http Authentication" |
138 | //config: default y | 138 | //config: default y |
139 | //config: depends on FEATURE_HTTPD_BASIC_AUTH | 139 | //config: depends on FEATURE_HTTPD_BASIC_AUTH |
140 | //config: help | 140 | //config: help |
141 | //config: Enables encrypted passwords, and wildcard user/passwords | 141 | //config: Enables encrypted passwords, and wildcard user/passwords |
142 | //config: in httpd.conf file. | 142 | //config: in httpd.conf file. |
143 | //config: User '*' means 'any system user name is ok', | 143 | //config: User '*' means 'any system user name is ok', |
144 | //config: password of '*' means 'use system password for this user' | 144 | //config: password of '*' means 'use system password for this user' |
145 | //config: Examples: | 145 | //config: Examples: |
146 | //config: /adm:toor:$1$P/eKnWXS$aI1aPGxT.dJD5SzqAKWrF0 | 146 | //config: /adm:toor:$1$P/eKnWXS$aI1aPGxT.dJD5SzqAKWrF0 |
147 | //config: /adm:root:* | 147 | //config: /adm:root:* |
148 | //config: /wiki:*:* | 148 | //config: /wiki:*:* |
149 | //config: | 149 | //config: |
150 | //config:config FEATURE_HTTPD_CGI | 150 | //config:config FEATURE_HTTPD_CGI |
151 | //config: bool "Support Common Gateway Interface (CGI)" | 151 | //config: bool "Support Common Gateway Interface (CGI)" |
152 | //config: default y | 152 | //config: default y |
153 | //config: depends on HTTPD | 153 | //config: depends on HTTPD |
154 | //config: help | 154 | //config: help |
155 | //config: This option allows scripts and executables to be invoked | 155 | //config: This option allows scripts and executables to be invoked |
156 | //config: when specific URLs are requested. | 156 | //config: when specific URLs are requested. |
157 | //config: | 157 | //config: |
158 | //config:config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR | 158 | //config:config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR |
159 | //config: bool "Support running scripts through an interpreter" | 159 | //config: bool "Support running scripts through an interpreter" |
160 | //config: default y | 160 | //config: default y |
161 | //config: depends on FEATURE_HTTPD_CGI | 161 | //config: depends on FEATURE_HTTPD_CGI |
162 | //config: help | 162 | //config: help |
163 | //config: This option enables support for running scripts through an | 163 | //config: This option enables support for running scripts through an |
164 | //config: interpreter. Turn this on if you want PHP scripts to work | 164 | //config: interpreter. Turn this on if you want PHP scripts to work |
165 | //config: properly. You need to supply an additional line in your | 165 | //config: properly. You need to supply an additional line in your |
166 | //config: httpd.conf file: | 166 | //config: httpd.conf file: |
167 | //config: *.php:/path/to/your/php | 167 | //config: *.php:/path/to/your/php |
168 | //config: | 168 | //config: |
169 | //config:config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV | 169 | //config:config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV |
170 | //config: bool "Set REMOTE_PORT environment variable for CGI" | 170 | //config: bool "Set REMOTE_PORT environment variable for CGI" |
171 | //config: default y | 171 | //config: default y |
172 | //config: depends on FEATURE_HTTPD_CGI | 172 | //config: depends on FEATURE_HTTPD_CGI |
173 | //config: help | 173 | //config: help |
174 | //config: Use of this option can assist scripts in generating | 174 | //config: Use of this option can assist scripts in generating |
175 | //config: references that contain a unique port number. | 175 | //config: references that contain a unique port number. |
176 | //config: | 176 | //config: |
177 | //config:config FEATURE_HTTPD_ENCODE_URL_STR | 177 | //config:config FEATURE_HTTPD_ENCODE_URL_STR |
178 | //config: bool "Enable -e option (useful for CGIs written as shell scripts)" | 178 | //config: bool "Enable -e option (useful for CGIs written as shell scripts)" |
179 | //config: default y | 179 | //config: default y |
180 | //config: depends on HTTPD | 180 | //config: depends on HTTPD |
181 | //config: help | 181 | //config: help |
182 | //config: This option allows html encoding of arbitrary strings for display | 182 | //config: This option allows html encoding of arbitrary strings for display |
183 | //config: by the browser. Output goes to stdout. | 183 | //config: by the browser. Output goes to stdout. |
184 | //config: For example, httpd -e "<Hello World>" produces | 184 | //config: For example, httpd -e "<Hello World>" produces |
185 | //config: "<Hello World>". | 185 | //config: "<Hello World>". |
186 | //config: | 186 | //config: |
187 | //config:config FEATURE_HTTPD_ERROR_PAGES | 187 | //config:config FEATURE_HTTPD_ERROR_PAGES |
188 | //config: bool "Support custom error pages" | 188 | //config: bool "Support custom error pages" |
189 | //config: default y | 189 | //config: default y |
190 | //config: depends on HTTPD | 190 | //config: depends on HTTPD |
191 | //config: help | 191 | //config: help |
192 | //config: This option allows you to define custom error pages in | 192 | //config: This option allows you to define custom error pages in |
193 | //config: the configuration file instead of the default HTTP status | 193 | //config: the configuration file instead of the default HTTP status |
194 | //config: error pages. For instance, if you add the line: | 194 | //config: error pages. For instance, if you add the line: |
195 | //config: E404:/path/e404.html | 195 | //config: E404:/path/e404.html |
196 | //config: in the config file, the server will respond the specified | 196 | //config: in the config file, the server will respond the specified |
197 | //config: '/path/e404.html' file instead of the terse '404 NOT FOUND' | 197 | //config: '/path/e404.html' file instead of the terse '404 NOT FOUND' |
198 | //config: message. | 198 | //config: message. |
199 | //config: | 199 | //config: |
200 | //config:config FEATURE_HTTPD_PROXY | 200 | //config:config FEATURE_HTTPD_PROXY |
201 | //config: bool "Support reverse proxy" | 201 | //config: bool "Support reverse proxy" |
202 | //config: default y | 202 | //config: default y |
203 | //config: depends on HTTPD | 203 | //config: depends on HTTPD |
204 | //config: help | 204 | //config: help |
205 | //config: This option allows you to define URLs that will be forwarded | 205 | //config: This option allows you to define URLs that will be forwarded |
206 | //config: to another HTTP server. To setup add the following line to the | 206 | //config: to another HTTP server. To setup add the following line to the |
207 | //config: configuration file | 207 | //config: configuration file |
208 | //config: P:/url/:http://hostname[:port]/new/path/ | 208 | //config: P:/url/:http://hostname[:port]/new/path/ |
209 | //config: Then a request to /url/myfile will be forwarded to | 209 | //config: Then a request to /url/myfile will be forwarded to |
210 | //config: http://hostname[:port]/new/path/myfile. | 210 | //config: http://hostname[:port]/new/path/myfile. |
211 | //config: | 211 | //config: |
212 | //config:config FEATURE_HTTPD_GZIP | 212 | //config:config FEATURE_HTTPD_GZIP |
213 | //config: bool "Support GZIP content encoding" | 213 | //config: bool "Support GZIP content encoding" |
214 | //config: default y | 214 | //config: default y |
215 | //config: depends on HTTPD | 215 | //config: depends on HTTPD |
216 | //config: help | 216 | //config: help |
217 | //config: Makes httpd send files using GZIP content encoding if the | 217 | //config: Makes httpd send files using GZIP content encoding if the |
218 | //config: client supports it and a pre-compressed <file>.gz exists. | 218 | //config: client supports it and a pre-compressed <file>.gz exists. |
219 | 219 | ||
220 | //applet:IF_HTTPD(APPLET(httpd, BB_DIR_USR_SBIN, BB_SUID_DROP)) | 220 | //applet:IF_HTTPD(APPLET(httpd, BB_DIR_USR_SBIN, BB_SUID_DROP)) |
221 | 221 | ||