Comments on How To Set Up Mass Virtualhosting With Apache2 + mod_rewrite + mod_userdir + mod_suexec On CentOS 5.3
How To Set Up Mass Virtualhosting With Apache2 + mod_rewrite + mod_userdir + mod_suexec On CentOS 5.3 This howto shows one method of doing mass virtualhosting using mod_rewrite to dynamically map a list of directories on your filesystem to virtual hosts. Additionally, by rewriting the incoming URL to the user's home directory we can make use of suEXEC to have Apache execute CGI scripts as the owner of the script.
1 Comment(s)
Comments
Hi, thank you for this excellent write-up. When I first started looking for a way to run php web scripts as their owners (and from their home directories), I was expecting a simple, standard solution... boy, was I wrong. Documentation for this type of a setup is few and far between... hard to believe such a basic thing is so diffucult to accomplish in this day and age.
Anyway, your instructions should provide 'the last piece of the puzzle' I need to finish my webhosting setup.
Regards, RT