Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 92808 invoked from network); 3 Nov 2004 01:02:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Nov 2004 01:02:26 -0000 Received: (qmail 22716 invoked by uid 500); 3 Nov 2004 01:01:56 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 22680 invoked by uid 500); 3 Nov 2004 01:01:55 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 22665 invoked by uid 99); 3 Nov 2004 01:01:55 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of curtis@npc-usa.com designates 216.254.0.202 as permitted sender) Received: from [216.254.0.202] (HELO mail2.speakeasy.net) (216.254.0.202) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 17:01:53 -0800 Received: (qmail 708 invoked from network); 3 Nov 2004 01:01:52 -0000 Received: from dsl017-040-162.sea1.dsl.speakeasy.net (HELO crab.npc-usa.com) ([69.17.40.162]) (envelope-sender ) by mail2.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 3 Nov 2004 01:01:52 -0000 Received: from [10.0.1.12] (OSX [10.0.1.12]) by crab.npc-usa.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id TR9TBT88; Tue, 2 Nov 2004 17:01:41 -0800 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <005801c4c13c$9431d9b0$0100a8c0@MEDIONPC> References: <1230E2F8-2D1F-11D9-9750-000393934006@npc-usa.com> <001f01c4c131$282afa40$0100a8c0@MEDIONPC> <5EDD5A8A-2D2A-11D9-9750-000393934006@npc-usa.com> <005801c4c13c$9431d9b0$0100a8c0@MEDIONPC> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Curtis Vaughan Date: Tue, 2 Nov 2004 17:01:50 -0800 To: users@httpd.apache.org X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked Subject: Re: [users@httpd] mime module in Apache X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Actually the line: LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so is in my /etc/apache/module.s.conf file Also, I have removed the line: >>>> AddModule mod_mime.c which I had manually added from the modules.conf file. Was that a mistake? I also note that according to the modules.conf file I shouldn't make any changes to the file, but instead I should # Autogenerated file - do not edit! # This file is maintained by the apache package. # To update it, run the command: # /usr/sbin/apache-modconf apache So, does this mean that after I added the AddModule mod_mime.c line, I should have issues the command /usr/sbin/apache-modconf apache ? Curtis On 02 Nov, 2004, at 16:32, Ralf Glauberman wrote: > you should have everything you need, just ad the line > "LoadModule mime_module modules/mod_mime.so" > to your apache-configs, make sure that the path is correct for your > system, the admodule-line has to be in the configs, don't worry about > the file not existing, it is, well, inside the .so-file. the order of > the addmodule and the loadmodule-dirctive was important, but i don't > remember as i have only been working with apache2 for some time, so, > you will have to try it. > >> Whereas httpd is not a recognized command under my Debian Apache >> install, I useed the command "apache -l", which produces: >> >> Compiled-in modules: >> http_core.c >> mod_so.c >> mod_macro.c >> 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: >> >> 040mod_mime_magic.info >> 050mod_mime.info >> 050mod_mime_ssl.info >> mod_mime.so >> mod_mime_magic.so >> mod_mime_ssl.so >> >> 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: >>>> >>>> >>>> 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 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 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 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