path-style for S3 conf
Good afternoon
When using S3 bucket , UNA defaults to using virtual-hosted-style path for the file. Is there any way to change this to a normal path-style? So that the file path is
s3"."myendpoint"."com/bucket/test"."png
and not
bucket"."s3"."myendpoint"."com/test"."png
as it is now. I have tried changing various parameters in the file:
una/plugins/akeeba/s3/src/Configuration"."php
in particular the $useLegacyPathStyle parameter from false to true. I also changed the path formation in the file:
una/inc/classes/BxDolStorageS3"."php
It was like this:
$sPath .= $this->_sBucket . '.s3"."amazonaws"."com';
return $sPath . '/' . $this->getObjectBaseDir($isPrivate);
I changed to:
$sPath .= 's3"."amazonaws"."com' . '/' . $this->_sBucket;
return $sPath . '/' . $this->getObjectBaseDir($isPrivate);
Unfortunately, all this didn't change anything and the path to the s3 bucket always remained in virtual-hosted-style format. I checked the changes in the docker container itself via docker exec -it una /bin/bash and all the file changes there were when the container was built, however this had no effect. Can someone please tell me what I need to change in the configuration to get the path-style format reference?
Thanks