Apache Alias / VirtualHost作为不同的用户运行

我试图创build一个别名或虚拟主机作为不同的用户运行。 下面是Apache httpd.conf一部分,不起作用。 或者,甚至有可能?

 <VirtualHost blah:80> user DifferentUser group DifferentGroup ServerAdmin blah DocumentRoot blah ServerName blah ServerAlias blah ScriptAlias /cgi-bin/ blah DirectoryIndex index.html index.htm default.htm index.shtml index.php ErrorLog logs/blah-error_log CustomLog logs/blah-access_log common <Directory "/blah/"> Options Indexes FollowSymLinks MultiViews ExecCGI AllowOverride all Order Deny,Allow Deny from none Allow from all </Directory> </VirtualHost> 

您可能能够使用某些Linux发行版可用的mpm-itk模块。 如果没有,你可以使用其他技术的特权分离,例如suPHP或这里的其他一些东西。

这是不可能的。 用户和组指令只能在服务器上下文中设置。