Difference between revisions of "Drupal"
From Wasya Wiki
Line 13: | Line 13: | ||
allow from all | allow from all | ||
</Directory> | </Directory> | ||
+ | </pre> | ||
+ | |||
+ | <pre> | ||
+ | { | ||
+ | "Version": "2012-10-17", | ||
+ | "Statement": [ | ||
+ | { | ||
+ | "Sid": "Statement0", | ||
+ | "Effect": "Allow", | ||
+ | "Action": [ | ||
+ | "s3:ListBucket", | ||
+ | "s3:ListBucketVersions" | ||
+ | ], | ||
+ | "Resource": [ | ||
+ | "arn:aws:s3:::<ze bucket>" | ||
+ | ] | ||
+ | }, | ||
+ | { | ||
+ | "Sid": "Statement1", | ||
+ | "Effect": "Allow", | ||
+ | "Action": [ | ||
+ | "s3:PutObject", | ||
+ | "s3:GetObject", | ||
+ | "s3:DeleteObjectVersion", | ||
+ | "s3:DeleteObject", | ||
+ | "s3:GetObjectVersion", | ||
+ | "s3:GetObjectAcl", | ||
+ | "s3:PutObjectAcl" | ||
+ | ], | ||
+ | "Resource": [ | ||
+ | "arn:aws:s3:::<ze bucket>/*" | ||
+ | ] | ||
+ | } | ||
+ | ] | ||
+ | } | ||
</pre> | </pre> |
Revision as of 21:34, 23 August 2023
composer create-project drupal/recommended-project:9.5.10 html php core/scripts/drupal generate-theme fluffiness
composer require 'drupal/devel:^5.1' composer require 'drupal/s3fs:^3.3'
<Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>
{ "Version": "2012-10-17", "Statement": [ { "Sid": "Statement0", "Effect": "Allow", "Action": [ "s3:ListBucket", "s3:ListBucketVersions" ], "Resource": [ "arn:aws:s3:::<ze bucket>" ] }, { "Sid": "Statement1", "Effect": "Allow", "Action": [ "s3:PutObject", "s3:GetObject", "s3:DeleteObjectVersion", "s3:DeleteObject", "s3:GetObjectVersion", "s3:GetObjectAcl", "s3:PutObjectAcl" ], "Resource": [ "arn:aws:s3:::<ze bucket>/*" ] } ] }