Thanks Again C A and Jonathan:
I guess that means the W3C validation suites aren't sufficient to
ferret out this problem. Now I know where Firefox's error counsel is,
thanks.
That was my guess. I believe that the OP does not have a complete
"default" http.conf but is missing most of it's configuration
There should be LoadModule directives in the global part of the
httpd.conf The one missing I think is
LoadModule mime_module modules/mod_mime.so
That loads the standard mime types. You could just add
AddType test/css .css
as a hack in the httpd.conf or .htaccess file, but he should really just
add the standard modules in httpd.conf. May Ubuntu/Debian servers add
the modules by having a mods-enabled folder, but old RH and Mandrake
included them in the httpd.conf
A little OT here, the OP should get himself the O'Reilly "pony" boot,
but some typical modules to install are:
LoadModule alias_module /usr/lib/apache2/modules/mod_alias.so
LoadModule auth_basic_module /usr/lib/apache2/modules/mod_auth_basic.so
LoadModule authn_file_module /usr/lib/apache2/modules/mod_authn_file.so
LoadModule authz_default_module
/usr/lib/apache2/modules/mod_authz_default.so
LoadModule authz_groupfile_module
/usr/lib/apache2/modules/mod_authz_groupfile.so
LoadModule authz_host_module /usr/lib/apache2/modules/mod_authz_host.so
LoadModule authz_user_module /usr/lib/apache2/modules/mod_authz_user.so
LoadModule autoindex_module /usr/lib/apache2/modules/mod_autoindex.so
LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so
LoadModule dir_module /usr/lib/apache2/modules/mod_dir.so
LoadModule env_module /usr/lib/apache2/modules/mod_env.so
LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so
LoadModule negotiation_module /usr/lib/apache2/modules/mod_negotiation.so
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
LoadModule setenvif_module /usr/lib/apache2/modules/mod_setenvif.so
LoadModule status_module /usr/lib/apache2/modules/mod_status.so
I'm so confused right now I don't know what to do.
In August I downloaded Apache 2.2.13.
I built it from source using Sun's compiler:
$ ./configure --prefix=<Install directory name>
$ make
$ make install
This went without a hitch.
Something I do periodically, for instance today, as root, is run:
find / -depth -print > /opt/local/find_all.
This gives me a list of every file on my system.
I've searched find_all for a file called "mod_mime.so" and found
that no such file exists on my system.
I've searched for "mod_alias.so", "mod_auth_basic.so",
"mod_authn_file.so" and "mod_cgi.so".
Nothing.
A search of the Apache site for "mod_mime.so" turns up a section
titled "Apache Module mod_mime", but a search of that page for
"mod_mime.so" comes up empty.
The module identifier is "mime_module".
The source file is "mod_mime.c". Is there a C file by that name on
my system? Yes there is!
But has it been built? Is it in a library somewhere? I went to
the install directory's lib directory and ran "nm" against the
libraries there. I found nothing.
Where can I find this default httpd.conf file?
I have downloaded the sample files for O'Reilly's Apache book, ran
find and grep only to find the term "mime" is used by one httpd.conf
file. The httpd.conf file for the "site.simple" example. And that
reference is "TypesConfig conf/mime.types".
Speaking of the O'Reilly's Apache book, third edition, on page 40
they recommend against starting with a massive httpd.conf file and
modifying it to fit. They say "It is much better to start with a
completely minimal file and add to it what is absolutely necessary."
Which explains the current state of my httpd.conf files.
I don't know what to do now.
It's into the wee hours here on the US West coast, time for bed.
As I've said so many times in this thread. I appreciate the effort
you two have made to help me.
Thanks
Larry