Commit Graph
12 Commits
Author SHA1 Message Date
Chris Rienzoandbaonq-me 17ebce7e3b Add v4 sig to http cache (#741)
* FS-9676 [mod_http_cache] Support for AWS Signature version 4 and drop support for version 2

Co-authored-by: baonq-me <quocbao747@gmail.com>
2020-07-20 15:34:55 -04:00
Richard Screene 55978ba076 FS-9457 [mod_http_cache] Allow GET and PUT from Azure Blob Service
Only send final PUT on Azure profiles

Fix core dump when reading Azure key from environment variable

Improve interface between mod_http_cache and storage providers

Remove debug

Remove out-of-date TODO

Add new configuration to example

Changes arising from Christopher Rienzo's comments

Add function to pointers to the profile to allow for better integration with the storage providers.

Add function to pointers to the profile to allow for better integration with the storage providers

Remove old header file inclusion
2016-09-07 09:57:03 +01:00
Chris Rienzo ff0cec80f1 FS-9004 [mod_http_cache] added download-timeout param to prevent http_get from waiting unbounded time for downloading to finish. Prevented prefetch threads from blocking if another thread is already downloading the same URL. 2016-04-01 10:38:16 -04:00
Chris Rienzo 9e0f30c58b FS-8560 [mod_http_cache] add new parameter, connect-timeout
This is the maximum time to wait, in seconds, for the HTTP GET or PUT to connect.
If this value is not set or is set to 0, the default setting of 300 seconds is used.
2015-11-19 17:10:15 -05:00
Chris Rienzo df6a5315c1 FS-8549 [mod_http_cache] add support for AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables in S3 profiles 2015-11-17 12:00:15 -05:00
Chris Rienzo dd61232163 FS-6979 #resolve #comment mod_http_cache: added base-domain config to s3 profiles so mod_http_cache can access self hosted s3 compatible service.
Example configuration:

  <profiles>
    <profile name="s3">
       <!-- Credentials for AWS account. -->
       <aws-s3>
          <!-- 20 character key identifier -->
          <access-key-id><![CDATA[AKIAIOSFODNN7EXAMPLE]]></access-key-id>
          <!-- 40 character secret -->
          <secret-access-key><![CDATA[wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY]]></secret-access-key>
          <base-domain><![CDATA[example.com]]></base-domain>
       </aws-s3>
       <!-- Domains that this profile applies to -->
       <domains>
          <domain name="bucket.example.com"/>
          <domain name="bucket2.example.com"/>
       </domains>
    </profile>
  </profiles>
2014-11-13 10:20:02 -05:00
Chris Rienzo dd6b8a828a mod_http_cache: added <domain> to <profile> configuration 2013-08-30 23:41:31 -04:00
Chris Rienzo 2c82e6afc6 mod_http_cache: fix example config 2013-05-22 13:22:03 -04:00
Chris Rienzo 8c8b2176d2 mod_http_cache: added native Amazon S3 support 2013-05-20 09:31:28 -04:00
Chris Rienzo f45fa08e15 mod_http_cache: add support for http/https formats if enable-file-formats is set to true in http_cache.conf. Don't load mod_httapi if you use this option 2013-03-18 17:58:51 -04:00
Christopher Rienzo d79982e72c added SSL support to mod_http_cache 2012-04-25 00:18:56 +00:00
Ken Rice cac6c262bb conf: add config files to module directories
The idea here is that the config files in the module directories will
serve as the canonical documentation of all module configuration
options.
2012-03-24 04:51:08 +00:00