Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.
(Answer) (Category) Java Apache Project : (Category) Trash :
Invalid command 'SetHandler' starting Apache
I get this error when trying to start httpd:

> >
> > ............................
> > Syntax error on line 99 of
> > /usr/local/src/ApacheJServ-1.0/example/jserv.conf:
> >
> > Invalid command 'SetHandler', perhaps mis-spelled or
> > defined by a module not included in the server configuration
> >............................

It doesn't say this in the documentation, but when "Include"ing 
the 'jserv.conf' entry in the httpd.conf, make sure it occurs
AFTER the 'LoadModule mod_mime'.  This is because mod_mime
loads the 'SetHandler' directive.
                     
I added the Include entry at the end of httpd.conf and error
no longer occurs.

Andrew Mackay
amackay11ATyahooDOTcom
[Append to This Answer]
Previous: (Answer) New Item
Next: (Answer) (EMERGENCY) ajp11: cannot scan servlet headers
This document is: http://java.apache.org/faq/?file=255
[Search] [Appearance] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.709.
Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.