I'm running Apache 1.3.9-4 under Red Hat 6.1, and am having a strange
problem using the ServerRoot directive.
I'm trying to run Apache with the configuration files moved to
/etc/httpd.public instead of their usual location /etc/httpd. So I added
this directive to the top of the httpd.conf file:
and started Apache with the flag:
However, it now fails to start up with the error message:
No such file or directory: could not open mime types log file
The log file is getting properly written in
/etc/httpd.public/logs/error_log, so I know the ServerRoot directive is
being at least partially taken into account.
If I create a dummy mime.types file at the above location
(/etc/httpd/conf/mime.types) then Apache starts - but why is it still
looking for anything in /etc/httpd? And furthermore, I never had a
mime.types file in the original configuration. Why wasn't Apache
I've also tried using the -d argument, which doesn't seem to make any
difference. Any help solving this mystery would be greatly appreciated!
My goal is not that complicated; I just want to move the /etc/httpd
directory somewhere else and still have Apache work properly.
joseph morrison, president e-smith, inc. tel (613) 236-0743