developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
12
results
Andrew Fletcher
•
Recently, I encountered an issue where my local Docker environment refused to connect to AWS S3, although everything worked seamlessly in AWS-managed environments. This challenge was not just a technical hurdle; it was a crucial bottleneck that needed resolution to ensure smooth Drupal deployments across various AWS environments (dev, staging and production).
Integrating AWS S3 into a local Docker container running Drupal 10 is more than just a technical setup; it’s a transformation that will...
Andrew Fletcher
•
The issue of over 300 simultaneous database connections in the context of AWS...
Andrew Fletcher
•
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
•
Working in an AWS ec2 environment, my goal is to access the server via...
Andrew Fletcher
•
Tailwind CSS is a highly customisable framework that delivers developers the...
Andrew Fletcher
•
Goal: Restrict content access through username and password entry.
1: Apache Utilities Package
First, update your server’s package index:
sudo apt updateCheck if the utilities package exists in your environment by executing the command
dpkg --get-selections | grep apacheResponse:
apache2-utils install
libapache-pom-java installSo it exists. But what do you do if it doesn't exist?
How come I need to install apache-utils? To restrict access you will be using a utility called...
Andrew Fletcher
•
Creating a bash script
Bash scripts are files containing code that tell your...
Andrew Fletcher
•
The magically descriptive error 401 Forbidden "message": "Access...
Andrew Fletcher
•
If you are like me you probably have searched for clues to and found little......
Andrew Fletcher
•
In Drupal 8.x hiding the subject line is a quick task.
In the admin area of your...
Andrew Fletcher
•
You have been working hard on getting comments being added (POST) through REST in Drupal 8. However, now you are seeing the following Assigning the wrong user against a new comment - and most likely the new comment is being assigned to the site admin.
The error here is related to the _embedded uuid.
What to do
You need to check that you have the correct uuid for both the entity_id and the uid
entity_id -...
Andrew Fletcher
•
For others that have spent countless hours getting this to work and are...