httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Glauberman" <rglauber...@michaeli-gymnasium.de>
Subject Re: [users@httpd] mime module in Apache
Date Tue, 02 Nov 2004 23:10:33 GMT
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 www.VirtualHost.com
> DefaultLanguage ru
> LanguagePriority ru
>
>
> But I also noticed the docs on Content Negotiation at: 
> http://httpd.apache.org/docs/content-negotiation.html
> 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:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message