=> nerds only A blog on rails, php, computing, my bass guitar and stuff

Apache2 umask: testserver purposes!

on in Development, Linux

On v2 of my website I wrote a post on configuring a webserver for testing/developing purposes. In that post I explained how to adjust the umask of Apache. I did that by changing the Apache startup script. But, of course, when apache is updated/upgraded, you custom mod will dissapear. In coincidence I stumbled upon a post that explained how to add environment variables to apache without modding the distribution scripts.

All you do is adding the desired variables to “/etc/apache2/envars”. That’s it!