Skip to main content
6
results
Andrew Fletcher
Goal: Restrict content access through username and password entry on an Nginx server. 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...
Andrew Fletcher
Goal: Restrict content access through username and password entry. 1: Apache...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
Updating to PHP 8.1, I found this interesting code stop... Deprecated function: trim(): Passing null to parameter #1 ($string) of type string is deprecated in bales_preprocess() (line 162 of /var/www/{path/to/file}) What is trim(). Very simply, it removes whitespaces (if they exist) at the start or end of a string.