Category Archives: Uncategorized

Where does PHP get $_SERVER[‘SERVER_NAME’] – Apache versus NGINX

Have you ever wondered where PHP gets the domain name of its server?  I know, the answer is $_SERVER[‘SERVER_NAME’] – but where does that value actually come from?

Posted in Uncategorized | Tagged , , | Comments Off on Where does PHP get $_SERVER[‘SERVER_NAME’] – Apache versus NGINX

Understanding NGINX location rules

NGINX is great. Fast, efficient, etc. But the “location” rules are a bit cryptic and not very well explained in the manuals. There are 4 types of location rule, and are applied with the following priorities:

Posted in Uncategorized | Tagged | Comments Off on Understanding NGINX location rules

Exodus – Leaving GEDCOM behind…

In an earlier article, I discussed ideas for a relational database to replace GEDCOM for storing genealogical data. Since writing it, I have put my words into action, and migrated all my genealogy research into this database. This has revealed … Continue reading

Posted in Uncategorized | Tagged , | 4 Comments