mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #343] Defining HTTP Header Info per Directory in a Bucket #179
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#179
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @degging on GitHub (Jan 28, 2016).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/343
In the ahbe.conf, can you define header info per embedded directory in a bucket? E.g.
/var/www/files/.png Cache-Control 300
/var/www/files/.xml Cache-Control 600
/var/www/assets/.png Cache-Control 600
/var/www/assets/.xml Cache-Control 300
Thank you
@ggtakec commented on GitHub (Feb 6, 2016):
@degging
s3fs does not allow path for ahbe.conf entry, it must be file(object) suffix only.
Time is undecided, but I think that I can support regular expressions to ahbe.conf.
Please wait a while.
Regards,
@ggtakec commented on GitHub (Feb 7, 2016):
@degging
"Additional Header" was a feature that was created by the rush.
From that time, but I should add a regular expression matching, it has not been able to achieve.
#354, I was able to support regular expressions.
Probabely I think that I can work with you to specify as follows.
``
reg: (. *) [.] ^ / var / www / files / png $ Cache-Control 300
Please try to use latest codes in master branch, and check it.
I close this issue, if you have a problem, please reopen this issue.
Regards,