Helpful Information
 
 
Category: Apache Development
HELP! - Apache cannot find the mime.types file!

I am new to apache, and I am having trouble starting the httpd daemon on my linux box.

Attempting to start apache as root I type the following at the shell prompt:

$ httpd -f /usr/wwwroot/emcdev/conf/httpd.conf

Nothing appears to happen, but when I check the error_log I get the message:

[Thu Jan 25 15:05:18 2001] [error] (2) No such file or directory: httpd: could not open mime types log file /usr/wwwroot/emcdev/etc/mime.typs

The mime.types file is in /usr/wwwroot/emcdev/conf - there is no /etc directory there so I do not understand this message.

I have also tried to start the httpd daemon using:

$httpd -d /usr/wwwroot/emcdev

at which point the shell returns the following error:

httpd: could not open config file /usr/wwwroot/emcdev/etc/httpd.conf

Has anyone had this problem? Why is apache keep adding /etc to my ServerRoot directory of /usr/wwwroot/emcdev?

Thanks,
Peter Kapakos

Try to start/stop Apache using apachectl.










privacy (GDPR)