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
•
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
•
Installing PHP on OSX and it installed PHP 8.2.x. However, for my...
Andrew Fletcher
•
Goal: Restrict content access through username and password entry.
1: Apache...
Andrew Fletcher
•
Trying to have a chat recently, and Microsoft Teams would not open on MAC OS....
Andrew Fletcher
•
How do you generate a .pem file from an existing .ppk key?
Is putty on your...
Andrew Fletcher
•
Like many devs at the moment, looking for log4j2 on your server... how to do?
First I used the command
find / -name log4j2.xml -type fWhich in turn produced the following results
/opt/solr-8.5.2/server/resources/log4j2.xml
/var/solr/log4j2.xml
Version
Ok, so log4j2 exists on the server the client is using... in Solr. How about determining the version number?
The version here matters as 2.15.0 is good to go. To find the version use
sudo find / -name 'log4j*'
The output of...
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
•
Ha you have read it before, one of those throw away lines that is written "just...
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...