public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] OT - Apache, userdir, and CGI with suexec
@ 2006-07-12  1:32 Michael Sullivan
  0 siblings, 0 replies; only message in thread
From: Michael Sullivan @ 2006-07-12  1:32 UTC (permalink / raw
  To: gentoo-user

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?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-12  1:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-12  1:32 [gentoo-user] OT - Apache, userdir, and CGI with suexec Michael Sullivan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox