httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curtis Vaughan <>
Subject Re: [users@httpd] mime module in Apache
Date Tue, 02 Nov 2004 23:53:18 GMT
Whereas httpd is not a recognized command under my Debian Apache 
install, I useed the command "apache -l", which produces:

Compiled-in modules:
suexec: enabled; valid wrapper /usr/lib/apache/suexec

So, since it is not compiled into apache, I would want to know how to 
load it dynamically.
Since the modules.conf file points to the directory 
/usr/lib/apache/1.3/ with respect to "LoadModule", I go there and find 
that there are the following mime related files:

There is no mod_mime.c file on the system ("find / -name mod_mime.c" at 
least didn't find any). So the question again is what do I need to do?
Would it best for me to compile mod_mime in or to load it dynamically? 
Or, perhaps which will be easier for me to do?

Thanks for any input.

On 02 Nov, 2004, at 15:10, Ralf Glauberman wrote:

> Make sure that mod_mime is compiled into apache or loaded dynamically. 
> You can get a list of build-in modules by calling httpd -l (it is a 
> L), dynamically loaded modules have LoadModule dirctives in the 
> config-files.
>> Using apache 1.3.31 on Debian 3.0 (kernel 2.6)
>> When I try to add the following line:
>> AddModule mod_mime.c
>> to /etc/apache/modules.conf I get an error trying to start up apache.
>> Running config test I get:
>>> apachectl configtest
>>> Syntax error on line 8 of /etc/apache/modules.conf:
>>> Cannot add module via name 'mod_mime.c': not in list of loaded 
>>> modules
>> What do I need to do?
>> Also, let me explain why I am adding this module. Perhaps I'm going 
>> about it wrong.
>> We are now hosting a Russian language web page. When you go to that 
>> page it won't start up in Russian no matter what you do on the client 
>> side.  I thought there was a problem with the "charset=" line in the 
>> html file. But then I was told that the problem is that you have to 
>> enable apache to use a foreign language as a possible default 
>> language.
>> One thing I did was add the following text in httpd.conf for this 
>> virtual host:
>> <VirtualHost *>
>> DocumentRoot /var/www/VirtualHost/
>> ServerName
>> DefaultLanguage ru
>> LanguagePriority ru
>> But I also noticed the docs on Content Negotiation at: 
>> which led me to the idea that I need to install a mime module. 
>> Anyhow, I'm quite confused at this point and hope somebody can give 
>> me some direction.
>> Curtis Vaughan

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message