author | Kim Alvefur <zash@zash.se> |
Sun, 13 Sep 2015 15:45:40 +0200 | |
changeset 1848 | 04e168063fc7 |
parent 1844 | 3bd265f7a95f |
child 1851 | cd98a1103ecf |
permissions | -rw-r--r-- |
1820 | 1 |
Introduction |
2 |
============ |
|
3 |
||
4 |
This module provides a space for clients to upload files over HTTP, as |
|
5 |
used by [Conversations](http://conversations.im/). |
|
6 |
||
7 |
Configuration |
|
8 |
============= |
|
9 |
||
10 |
The module can either be configured as a component or added to an |
|
11 |
existing host or component. |
|
12 |
||
1844
3bd265f7a95f
mod_http_upload/README: Point to Prosodys HTTP docs
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
13 |
mod\_http\_upload relies on Prosodys HTTP server and mod\_http for |
3bd265f7a95f
mod_http_upload/README: Point to Prosodys HTTP docs
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
14 |
serving HTTP requests. See [Prosodys HTTP server |
3bd265f7a95f
mod_http_upload/README: Point to Prosodys HTTP docs
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
15 |
documentation](https://prosody.im/doc/http) for information about how to |
3bd265f7a95f
mod_http_upload/README: Point to Prosodys HTTP docs
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
16 |
configure ports, HTTP Host names etc. |
3bd265f7a95f
mod_http_upload/README: Point to Prosodys HTTP docs
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
17 |
|
1820 | 18 |
Component |
19 |
--------- |
|
20 |
||
21 |
Standalone component: |
|
22 |
||
23 |
Component "upload.example.org" "http_upload" |
|
24 |
||
25 |
Existing component |
|
26 |
------------------ |
|
27 |
||
28 |
Component "proxy.example.org" "proxy65" |
|
29 |
modules_enabled = { |
|
30 |
"http_upload"; |
|
31 |
} |
|
32 |
||
33 |
On VirtualHosts |
|
34 |
--------------- |
|
35 |
||
36 |
-- In the Global section or under a specific VirtualHosts line |
|
37 |
modules_enabled = { |
|
38 |
-- other modules |
|
39 |
"http_upload"; |
|
40 |
} |