Apache suEXEC help
Ashley M. Kirchner
ashley at pcraft.com
Thu Feb 3 05:40:02 UTC 2005
I'm utterly confused here and are at my wits with this. Hopefully
someone can help me out. I'm trying to setup Apache's suEXEC to work
with my setup and just having a hard time. I have users that have their
own domain, and the way Apache's configured is that each virtual host
simply points to said user's 'www' folder (I don't use the ~user
setup.) Without suEXEC this works fine. However, this also means they
need to allow the apache user running their CGI's to write in their file
space. Not a desirable effect. So, how do I setup suEXEC properly for
this?
apache's docroot /var/www/html
users are under /home/user
their space under /home/user/www/
with cgi's under /home/user/cgi-bin/
Right now, Apache complains that the cgi's aren't in docroot, which
if I understand the documentation correctly, should be apache's
docroot. However, they live in the user's directories so they can do as
they wish with them. Moving cgi's to apache's docroot is pointless
because users don't have access to that.
Something just doesn't make sense to me and I'm sure it's so
simple. I just can't see it.
Anyone?
More information about the fedora-list
mailing list