I just finished updating my apache server to version apache-2.0.49 and now all of my modules are placed in the wrong folder. I have a feeling some other files have been misplaced as well but I haven't checked it out yet. I believe it has to do with an ebuild problem since it defines where everything is placed. Here is what is wrong: Code: tux apache2 # pwd; ls /etc/apache2 apache2-builtin-mods conf extramodules lib logs modules Code: tux modules # pwd; ls /etc/apache2/modules build conf extramodules lib logs modules Then doing an ls inside /etc/apache2/modules/modules lists all of the modules. If I try to start apache, I get this error: Code: tux modules # /etc/init.d/apache2 start * Apache2 has detected a syntax error in your configuration files: Syntax error on line 23 of /etc/apache2/conf/apache2.conf: Cannot load /etc/apache2/modules/mod_auth.so into server: /etc/apache2/modules/mod_auth.so: cannot open shared object file: No such file or directory Changing line 23 from: Code: LoadModule access_module modules/mod_access.so to Code: LoadModule access_module modules/modules/mod_access.so will correct the problem (you would have to change this for every LoadModule. Another quick fix is to mv all of the modules to the original modules directory. Can someone fix this?
You have to change ServerRoot to /usr/lib/apache2 in /etc/apache2/conf/apache2.conf (next time take a look at the diffs etc-update gives you ;))
Are the modules in /etc/apache2/modules/modules used at all now? If not, which files can I safely clean out that are no longer in use?
If you read the apache-2.0.49 ebuild, you'll see that there's a warning message in there, telling you which directories you should now remove from /etc/apache2. This message unfortunately scrolls up the screen pretty quickly when you upgrade your apache installation. Best regards, Stu
*** Bug 45606 has been marked as a duplicate of this bug. ***
*** Bug 45639 has been marked as a duplicate of this bug. ***