Hi all,

I have returned to freeVSD after a long pause and WAS having strange
problems with Apache under the VS.  I thought I would share this in
case someone else gets the same problems (also please see question at the
end)

I got the following errors in the Apache error_log file...

"[error] (2)No such file or directory:
could not open mime types log file /conf/mime.types."

However, /etc/httpd/conf/mime.types exists (and is readable by
web) and the "TypesConfig" directive is set in httpd.conf
correctly...

<IfModule mod_mime.so>
TypesConfig /etc/httpd/conf/mime.types
</IfModule>

ServerRoot is also set to "/"

I finally figured out that the httpd.conf file is not getting read by
Apache!  Running with

$ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf

Works fine.  Anyone got any ideas why Apache can't find the
httpd.conf?  The compiled in settings look fine to me...

----------------------------------------
$ httpd -V
Server version: Apache/1.3.20 (Unix)  (Red-Hat/Linux)
Server built:   Sep  5 2001 23:12:29
Server's Module Magic Number: 19990320:10
Server compiled with....
 -D EAPI
 -D EAPI_MM
 -D EAPI_MM_CORE_PATH="/var/run/httpd.mm"
 -D HAVE_MMAP
 -D HAVE_SHMGET
 -D USE_SHMGET_SCOREBOARD
 -D USE_MMAP_FILES
 -D USE_SYSVSEM_SERIALIZED_ACCEPT
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="/var/run/httpd.pid"
 -D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
 -D DEFAULT_LOCKFILE="/var/run/httpd.lock"
 -D DEFAULT_XFERLOG="/var/log/httpd/access_log"
 -D DEFAULT_ERRORLOG="/var/log/httpd/error_log"
 -D TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
 -D ACCESS_CONFIG_FILE="conf/access.conf"
 -D RESOURCE_CONFIG_FILE="conf/srm.conf"
----------------------------------------------


Kind Regards,

Ben Kennish
[EMAIL PROTECTED]

------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to