Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: mutex-bug
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (18 sloc) 0.649 kB
Apache upload progress module. Works with mod_passenger (aka mod_rails). It's MIT license.
To install and activate module:
apxs2 -c -i -a mod_upload_progress.c
-c -> compile
-i -> install (copy upload_progress_module.so to apache lib folder)
-a -> activate (add LoadModule line to httpd.conf)
Global config:
you can define maximum size for shared memory (default is 50kB):
UploadProgressSharedMemorySize 1024000 # sets memory size to 1MB
Config for vhost:
<Location />
# enable tracking uploads in /
TrackUploads On
</Location>
<Location /progress>
# enable upload progress reports in /progress
ReportUploads On
</Location>
Jump to Line
Something went wrong with that request. Please try again.