Tag Archives: apache

Get domain from URL

How to get the domain from the URL? It depends! Lately i’ve spent some time trying to figure out the best way to solve this problem. Scenario: a website reachable through two different second-level domains (and a bunch of third-level … Continue reading

Posted in Software | Tagged , , | Leave a comment