Can't access private files on Amazon S3 or Rackspace #52
Description:Clicking on Steps To Reproduce:
|
Replies: 5 comments
|
Seems like a problem with your storage driver @seanthepottingshed, the URL generated by private files should be pointing at the backend files controller by default. Can you share the URL you're seeing and the configuration of the filesystem disk used for the file in question? |
|
Sure thing here you go: 'storage' => [
'uploads' => [
'disk' => 's3',
'folder' => 'uploads',
'path' => 'https://s3-eu-west-2.amazonaws.com/voyonic-ipqqvojqrg/uploads',
'temporaryUrlTTL' => 0,
],
'media' => [
'disk' => 's3',
'folder' => 'media',
'path' => 'https://s3-eu-west-2.amazonaws.com/voyonic-ipqqvojqrg/media',
],
'resized' => [
'disk' => 'local',
'folder' => 'resized',
'path' => 'https://s3-eu-west-2.amazonaws.com/voyonic-ipqqvojqrg/resized',
],
], |
|
Sorry I'm an idiot, I've just noticed the issue |
|
There's your problem: |
|
@seanthepottingshed no worries, just feeding the google machine for future people with similar issues 😉 |


There's your problem:
'temporaryUrlTTL' => 0,. Private files on S3 & Rackspace disks in october take advantage of the temporary URL feature of those drivers for increased security; setting this value to 0 means you're telling the application that you want to create a temporary URL that lasts 0 seconds