Ubuntu 20.04 – Installing Linux Kernel 5.8

With the new linux kernel out, Linux Kernel 5.8 to be precise, I thought I would give it a try. I had read online that Kernel 5.7 could fix the brightness issue on HP Envy laptops so the release timing for 5.8 couldn’t have been any better. For Ubuntu, you should grab the kernel files […]

Read more "Ubuntu 20.04 – Installing Linux Kernel 5.8"

CORS – Set Access-Control-Allow-Origin for multiple domains

When there is a requirement to allow multiple request origins, you can do it with the following configuration: SetEnvIfNoCase Origin “https?:\/\/(dev|staging|game|mail)?(.domain.com)(:\d+)?$” ACAO=$0Header always set Access-Control-Allow-Origin %{ACAO}e env=ACAO This needs to go inside the Directory directive in the apache configuration file. With the snippet above, you will be able to allow requests from the following domains […]

Read more "CORS – Set Access-Control-Allow-Origin for multiple domains"