Question mark and query strings in Apache Rewrite Rules

The apache rewrite module is very useful for defining precise URLs according to our needs, hiding also what we don’t want to expose to the final user. The RewriteCond means “execute the next RewriteRule only if this is true”. An example can be a redirect in the case of image […]

Read More…

The JSON format, this unknown

Meta language JSON

It has happened to me many times that issues discussed and re-discussed a million times, came back into vogue as doubts, perhaps trivial but always dangerous, being able to give rise to unknown outputs. I’m talking about the very useful JSON (JavaScript Object Notation) format, often useful in case of […]

Read More…

JWT: the Token-Based Authentication

In the era of microservices and distributed applications, traditional session-based authentication often falls short. Enter JSON Web Tokens (JWT), a compact and self-contained mechanism for encoding user information. This article dives into the heart of JWTs, exploring their workings, benefits, and implementation with JavaScript and Java code examples. Anatomy of […]

Read More…

My regular expressions list

At least once in your life as a developer you will need a regular expression to solve some kind of filter / search / query on strings. Whenever this happened, you probably turned to the internet. This is why I decided to compile a mini list with some of the […]

Read More…

Simple operations with HTTPD

configuration and operations with Apache HTTPD

I want to show you today how to do little operations and configurations when you have to setup a new application on an Apache HTTPD installation.The following are classic daily operations that a system administrator does, which can be tricky if done once in a while. Configure a virtual host […]

Read More…