While I'm quite comfortable as a Linux user, my Linux Admin-fu is a bit weak. Thus, I'm here looking for guidance with a CentOS server I'm about to build.
I need to setup an Apache2 web server for a few of our clients. I want each client's web content to be under their home directory (
USERDIR in apache.conf, right?) for the static HTML sites. I want Apache to run as the client (
suexec?). Some of their stuff will be PHP apps and I'm under the impression I'll want to look at
suphp as well then.
So basically I want to look like a small version of a shared web hosting company. Considering how common those are I thought I'd easily find a nice current How-To guide on setting this all up but so far I've had very little luck. I suspect my search words are off.
So the questions (feel free to answer any or all):
- Anyone have some solid links to current/modern guides that would help me set this all up? No, the apache documentation site is not a guide ;-)
- Since I have a mix of static sites and PHP apps do I want/need both suexec and suphp installed? If so, does that introduce any challenges I should be aware of?
- Should I be looking at other options instead of suexec and suphp?
I plan to give the end users SSH, SFTP or SCP access to their stuff (if that affects anything).
Thanks in advance for your help.
[Edit] I should have mentioned this earlier: One key goal of my quest to emulate a shared hosting provider related to file perms and ownership. I'd really like to have to avoid teaching users about needing to change such things just to see their additions / changes.