Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache error - Invalid Command 'AddType'...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
humbletech99
Veteran
Veteran


Joined: 26 May 2005
Posts: 1229
Location: London

PostPosted: Mon Nov 28, 2005 2:21 pm    Post subject: Apache error - Invalid Command 'AddType'... Reply with quote

Hi, I've got apache2 with a custom httpd.conf but I get the following error:

Code:
Syntax error on line 16 of /path/to/httpd.conf:
Invalid command 'AddType', perhaps mis-spelled or defined by a module not included in the server configuration


I don't know why this error is occurring, the apache is emerged but started with the following line so it uses the pre-made apache conf:

Code:
/usr/sbin/apache2ctl -f /path/to/httpd.conf -DSSL -k start


If I comment out the AddType line that it refers to, the error simply picks the next one when I rerun apache2ctl

Does anybody know why this error occurs?
Back to top
View user's profile Send private message
tSp
Apprentice
Apprentice


Joined: 19 Jan 2004
Posts: 214
Location: Maysville, KY

PostPosted: Mon Nov 28, 2005 2:42 pm    Post subject: Reply with quote

what happens if you move that line to below the DefaultType line or where the other AddType configurations are at?? If it still errors after moving it, what is the complete line?
_________________
tSp
http://www.rhpstudios.com
http://www.xtremewebhosts.com
http://www.maysville-linux-users-group.org
http://www.edwiget.name

Registered Linux User #162711
Back to top
View user's profile Send private message
humbletech99
Veteran
Veteran


Joined: 26 May 2005
Posts: 1229
Location: London

PostPosted: Mon Nov 28, 2005 5:02 pm    Post subject: Reply with quote

I've sorted it, a module needed to be loaded first (can't remember which one now), but I now have a more serious problem, apache keeps segfaulting at every page request and serves nothing. Not sure if it's the php on it or what, but that's a topic for another thread I've just created.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum