Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-26-2004, 12:27 PM   #1
LQ Newbie
Registered: Jul 2004
Posts: 27

Rep: Reputation: 15
Apache2.0.52, t1lib-5.0.2, php-apache2-5.0.2

Hi at all,

i installed the three packages mentioned in the subject and downloaded from linuxPackage site. Then i followed the howto at the same site i downloaded software to configure the software. At the end i tried to execute the following command:

# /etc/rc.d/rc.httpd start

but i saw this error message:

Syntax error on line 12 of /etc/apache2/mime.types:
Invalid command 'application/activemessage', perhaps mis-spelled or defined bya module not included in the server configuration

So i read some mailing list. At the end i read a post in witch was suggest to load the mime module so i add this command at the top of the file /etc/apache2/httpd.conf:

LoadModule php5_module lib/apache2/

...but now running the command to start apache i see this error message:

Syntax error on line 12 of /etc/apache2/mime.types:
Invalid command 'application/activemessage', perhaps mis-spelled or defined bya module not included in the server configuration

Can anyone help me? Please write me the commands step by step as i'm a beginner of apache and php.

Thanks at all in advance.
Old 03-27-2008, 04:00 PM   #2
LQ Newbie
Registered: Mar 2008
Location: Brasil, Camaquã/RS
Distribution: DEB
Posts: 1

Rep: Reputation: 0
Correction of this problem mime.type

Despite the time that passed this message, reply because this same situation happened me now.

Correction of this problem was only remove mime.types file that I had put in a place where inconvenience set the apache. In my case, had placed a copy in / etc/apache2/conf.d. Big mistake!

I am sure that this will answer to another colleague.

For admirers of LINUX, a hug.

Apesar do tempo que passou esta mensagem, respondo porque esta mesma situação aconteceu comigo agora.

A correção deste problema foi só remover o arquivo mime.types que eu havia colocado num lugar incoveniente quando configurei o apache. No meu caso, havia colocado uma cópia dentro de /etc/apache2/conf.d. Grande erro!

Tenho certeza que esta resposta servirá a outro colega.

Aos admiradores do LINUX, um abraço.

Gilberto Reinke
Old 04-04-2011, 09:09 PM   #3
LQ Newbie
Registered: Apr 2011
Posts: 1

Rep: Reputation: 0
Thank you, and a fix

Thank you! That fixed my problem.

Specifically from conf.d directory:
cd ..
mkdir conf
mv conf.d/mime.types conf

and edit http.conf from:
TypesConfig conf.d/mime.types
TypesConfig conf/mime.types


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 apache2-common WebDav timgerr Linux - Networking 1 08-25-2005 10:41 PM
php5 apache2 mysql4 don't work, php does not seem to read php.ini atom Linux - Software 5 03-24-2005 12:05 PM
how to uninstall apache2 which is installed by emerge apache2 flybirdlong Linux - Software 1 07-17-2004 12:46 PM
PHP 4.3.4 on Apache2 wenberg Linux - Software 3 02-08-2004 01:03 PM
Apache2 and PhP wolfwolf Linux - Networking 0 03-13-2003 12:43 AM

All times are GMT -5. The time now is 05:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration