VaKo Posted December 22, 2006 Share Posted December 22, 2006 I've recently been playing around with building a virtual hosting server based on FreeBSD 6.1 and virtualmin. Everything from installing the base system to recompiling the kernel to enable quotas has gone smoothly, with google filling in the holes nicely. But I'm stuck on enabling the suexec module in apache to allow virtualmin to configure. I've got as far as working out that I need to re-compile apache with... CONFIGURE_ARGS= --enable-suexec --with-suexec-bin=/usr/local/sbin/suexec ...somewhere in the make file. Do I need to create a new .if entry or can I just add the 2 CONFIGURE_ARGS to the other ones? Are the .if entrys for creating the make config menus? And are there more CONFIGURE_ARGS I need to enable suexec? I've looked at the apache documentation but I can't find anything FreeBSD specific. I know enough to know that FreeBSD is different to Linux, but I don't know exactly how. Quote Link to comment Share on other sites More sharing options...
VaKo Posted December 29, 2006 Author Share Posted December 29, 2006 cd /usr/ports/www/apache22/ cp Makefile Makefile.old edit Makefile CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} --enable-layout=FreeBSD --with-perl=${PERL5} --with-port=${WITH_HTTP_PORT} --with-expat=${LOCALBASE} --with-iconv=${LOCALBASE} --enable-http --enable-suexec --with-suexec-bin=/usr/local/sbin/suexec make install clean And thats how you enable suexec. Quote Link to comment Share on other sites More sharing options...
Wildknaap Posted January 4, 2007 Share Posted January 4, 2007 Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.