Summary: HP-UX: mime.types is not in /etc.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=203999
------- Additional Comments From nhosoi(a)redhat.com 2007-07-27 19:36 EST -------
./admserv/cfgstuff/httpd.conf.in still contains the hardcoded mime.types path:
#
# TypesConfig describes where the mime.types file (or equivalent) is
# to be found.
#
TypesConfig /etc/mime.types
Both RHEL and Solaris has mime.types in /etc. But HP-UX does not have it there,
but in the apache/conf dir:
/opt/hpws/apache/conf/mime.types
------- Additional Comments From nhosoi(a)redhat.com 2007-07-30 20:07 EST -------
Created an attachment (id=160282)
--> (
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=160282&action=...)
cvs diffs
Thank you for the input, Rich.
Files:
Makefile.am
configure.ac
admserv/cfgstuff/httpd.conf.in
m4/httpd.m4
Proposed change:
Introducing httpdconfdir to httpd.conf.in, which is going to be replaced with
the parent directory of the httpd.conf full-path if the directory has
mime.types (for HP-UX). Otherwise, check /etc if mime.types is located in
the directory (for RHELs and Solaris). If mime.types is not found in the both
directories, issue an error.