Date: Sun, 17 Jul 2005 17:24:24 -0500 From: Chris Casey <chris.casey@gmail.com> To: freebsd-questions@freebsd.org Subject: How to configure Apache21 port with suexec enabled and suexec_docroot change Message-ID: <8f44b8a3050717152423d65099@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
On a machine with an up to date ports system running 5.4, I'm trying to use Apache21 port, I know that suexec is not enabled by default and I know there should be a "make WITH_SUEXEC_MODULES=3Dyes" option, but when I try this I get some info about how to structure the options and then it appears to start the make process. Is this normal? Output: www# make WITH_SUEXEC_MODULES=3Dyes WITH_SUEXEC_DOCROOT_MODULES=3D/home =20 To enable a module category: WITH_<CATEGORY>_MODULES To disable a module category: WITHOUT_<CATEGORY>_MODULES =20 Per default categories are: AUTH AUTHN AUTHZ DAV MISC Categories available: AUTH AUTHN AUTHZ DAV EXPERIMENTAL LDAP MISC PROXY SSL SUEXEC THREADS To see all available knobs, type make show-options To see all modules in different categories, type make show-categories You can check your modules configuration by using make show-modules =20 =3D=3D=3D> Vulnerability check disabled, database not found =3D=3D=3D> Extracting for apache-2.1.4 =3D> Checksum OK for apache21/httpd-2.1.4-alpha.tar.bz2. =3D> Checksum OK for apache21/powerlogo.gif. =3D=3D=3D> apache-2.1.4 depends on file: /usr/local/bin/perl5.8.6 - found =20 Secondly, I would like to run the SUEXEC_DOCROOT option so I can specify a different directory from which to run CGI, like /home. The reason is for Virtual hosts. I've read that CGIWrap is a good/better substitute for this, but alas I would like to be able to take advantage of Webmin/Virtualmin/Usermin for easy administration and I know suexec support is available in those programs, but not CGIwrap. Does anyone know the syntax when installing this port that will enable suexec and change the docroot to /home? If so can you give an example? I'm aware the 1.3 port has suexec enabled already, but I couldn't find any syntax examples in the port to even try and change the docroot. =20 Thanks for the help. Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8f44b8a3050717152423d65099>