Personal tools
You are here: Home Members rnapier's Home Apache
Document Actions

Apache

Fetch and configure:

 cd /usr/ports/www/apache2
 make fetch
 make configure WITH_SUEXEC=YES SUEXEC_USERDIR=. SUEXEC_DOCROOT=/

Patch suexec to remove gid checks (line 548)

Build:

 make

Stop Apache:

 apachectl stop

Install:

make deinstall reinstall

Restart apache:

 apachectl startssl

This needs to be fixed to work directly with the ports directory (shouldn't need the patch). One possibility is to force all cgi's into a cgi-bin dir instead of using .cgi in random places. Then webit could make the cgi-bin directory (and its contents) group-owned by the user (and suexec would be happy again).


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: