I use userdir on Apache on my server box. In /etc/apache2/httpd.conf I have UserDir set to webspace/html instead of public_html. I want to create a webspace/cgi-bin directory for each of my users to store (and access) their CGI scripts in (cgi-bin should be outside the DocumentRoot for security purposes), and I want the CGI scripts to execute as the users they belong to. However, I read somewhere that Apache with CGI under UserDirs will trip if not configured properly at compile time. I think I need to alter something in the ebuild for Apache, and I think it's value of the USERDIR variable, but what do I need to change it to to get this to work? The document root of all users is ~/webspace/html, but the user's CGI directory is ~/webspace/cgi-bin. What do I need to change the USERDIR variable in the ebuild to to get this to work?
-- [email protected] mailing list

