db0adbfc752f5593bf2b2e33b52c0c3551fb65e1 brianlee Thu Nov 7 10:15:18 2024 -0800 Add a CDW file download dependency on Apache mod_xsendfile, requested by Max 11/7/24 diff --git src/hg/cirm/cdw/README src/hg/cirm/cdw/README index cdd6a7e..00d5703 100644 --- src/hg/cirm/cdw/README +++ src/hg/cirm/cdw/README @@ -99,30 +99,35 @@ htpasswd passwordfile username htpasswd /etc/httpd/passwords -n bob New password: Re-type new password: A line like this will be added to /etc/httpd/passwords where that password is encrypted. bob:$apr1$Xd2b1SuY$T17QLQnFyaH1fQrcVjDjg0 Once the user exists the Apache settings also have to be enabled feeding the authorization back into the site. Request the following edit to httpd.conf: SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0 +There will be a File Download problem if the mod_xsendfile module is missing and not +activated in Apache. Once installed mod_xsendfile will enable logged-in users +to download files. + + COMMAND LINE USAGE SUBMITTING NEW DATA FILES -------------------------------------------------------------------------------- $ cdwSubmit cdwSubmit - Submit URL with validated.txt to warehouse. usage: cdwSubmit email /path/to/manifest.tab meta.tag options: -update If set, will update metadata on file it already has. The default behavior is to report an error if metadata doesn't match. -noRevalidate - if set don't run revalidator on update -md5=md5sum.txt Take list of file MD5s from output of md5sum command on list of files