Apache upgrade
by rullzer on Sep.04, 2007, under Annoying things, Linux
So today it was time for the big Apache update at my home server.
Of course PHP had to be recompiled but other than that Apache started like a brand new car. Or so it seemed.
I tried visiting one of the sites hosted on the server but I got denied. I tried an other site but again denied. After going trough the logs and the (main) config file I only discovered that the permission was denied by Apache. Now it comes. The Apache config file has been split. So I had to check /etc/apache/modules.d as well. It would have been nice to have that in big blinking text after the emerge… But it turns out that the default settings were that Apache denied everyone…. now what is that about…. A webserver which default setup is to deny everyone….
But with that it wasn’t done.
A new issue with the new Apache is that not all the env vars are set correctly. The user you run under is Apache which it should be but the ~ is set to /root. So the svn viewer a friend of mine made wasn’t working anymore. Now that was fixed in the end by a simple adjustment in the calling of the code. But never the less it is an annoying thing that it isn’t set correctly. But I’m probably not the only one with the problem so maybe a new revision is already on its way.
Apache 2.2 is running sweet now. So take your time for it if you are doing the upgrade. But upgrading in general is not a bad idea of course.




