Apache port compile error

Donald J. O'Neill duncan.fbsd at gmail.com
Sat Nov 25 09:59:09 PST 2006


On Saturday 25 November 2006 05:31, VeeJay wrote:
> Hi
>
>
> When compiling apache20 from ports and enabling/diabling knobs, I am
> writing the make command as follow;
>
> #make WITHOUT_MODULES="charset-lite include env setenvif status autoindex
> asis cgi negotiation imap actions userdir alias so"
> WITH_MODULES="mpm=prefork access auth log_config mime dir"
>
> #make install
>
>
> And after compiling with above command, I am getting this error when
> running apache
>
>
> # /usr/local/sbin/apachectl start
>
> Syntax error on line 41 of /usr/local/etc/apache2/httpd.conf:
> Invalid command 'Order', perhaps mis-spelled or defined by a module not
> included in the server configuration
>
>
> Even though I have added "access, auth" modules already.... in the make
> command...
>
>
> Please help!!!

What's on line 40, 41, and 42 of your httpd.conf?

I you just want a working apache20, skip what you're doing and just do a "make 
install". 

Is there a reason that you would want to use apache20 rather than apache22? 
Just curious.

Don


More information about the freebsd-questions mailing list