Very strange issue at work.
I have a very basic Apache configuration. Has a
<Directory ...> section within which there is an
Options +Indexes directive that isn't being honoured (I just get a 404 error when trying to access the directory listing).
The Apache I've build is set to be installed in
/usr/local/apache22 however I've got a copy in a different path and am calling it with:
LD_LIBRARY_PATH=/tmp/apache22/lib /tmp/apache22/bin/httpd -f /tmp/test.conf
The configuration gets loaded successfully but doesn't honour the
Option Indexes directives. In addition an error log is correctly being written to when requesting a bad URL, however the access log is NOT being written to when accessing a good URL.
A friend has tried the same configuration on a different machine using a differently compiled web server and it functions fine. So the configuration is not at fault. I'm wondering if perhaps Apache silently fails when not located in its destined directory...