Actually it did give me an error.
++++++++

bash-2.05# /var/apache/bin/apachectl configtest
Syntax error on line 825 of /var/apache/conf/httpd.conf:
Invalid command 'AddType1', perhaps mis-spelled or defined by a module
not included in the server configuration

+++++++++++

However I was finally able to solve this by adding "ClearModuleList" and
then adding ALL the modules again. "httpd -l" showed that mod_mime.c was
pre-compiled with httpd and I don't know why it wasn't considering the
statement under " <IfModule mod_mime.c>".
However clearing helped. It is working now.

Thanks.


-----Original Message-----
From: Chris Hewitt [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 18, 2003 11:13 AM
To: Naman Latif

>
Namen,

It could be the mod_mime is not there so the <IfModule> condition is not

being filled. In these circumstances I purposely put a syntax error in, 
restart Apache and see if it complains. Try changing AddType to, say, 
AddTypeFred and restart Apache. If it does not complain then you will 
know that the mod_mime condition is not being fulfilled.

Hope this helps.

Chris

Reply via email to