| 1 |
mod_upload_progress for Debian |
| 2 |
============================== |
| 3 |
|
| 4 |
The following configuration snippet (to be added in a <VirtualHost> section) |
| 5 |
tracks upload made to "/upload.html", with progress data available on |
| 6 |
"/progress": |
| 7 |
|
| 8 |
<Location /upload.html> |
| 9 |
# enable tracking uploads in /upload.html |
| 10 |
TrackUploads On |
| 11 |
</Location> |
| 12 |
|
| 13 |
<Location /progress> |
| 14 |
# enable upload progress reports in /progress |
| 15 |
ReportUploads On |
| 16 |
</Location> |
| 17 |
|
| 18 |
This configuration should be enough to test upload progress, once |
| 19 |
`/usr/share/doc/libapache2-mod-upload-progress/examples/upload.html` is |
| 20 |
available at "/upload.html" (for example by copying it to `/var/www`). |
| 21 |
|
| 22 |
This example web page mostly borrows from the code snippets available at: |
| 23 |
* http://wiki.nginx.org/NginxHttpUploadProgressModule |
| 24 |
* http://blog.lighttpd.net/articles/2006/08/01/mod_uploadprogress-is-back |