VirtualHost with different users?

VirtualHost with different users?

am 30.03.2010 18:33:14 von Lars Nielsen

Hi,

Is there a way that I can just add a normal user to my system and then
run a virtual host as that user?

Sys: Debian lenny
apache 2.2.9
php 5.3.1

regards

Lars Nielsen
lars@mit-web.dk


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: VirtualHost with different users?

am 31.03.2010 04:12:51 von Nilesh Govindrajan

On 03/30/2010 10:03 PM, Lars Nielsen wrote:
> Hi,
>
> Is there a way that I can just add a normal user to my system and then
> run a virtual host as that user?
>
> Sys: Debian lenny
> apache 2.2.9
> php 5.3.1
>
> regards
>
> Lars Nielsen
> lars@mit-web.dk
>
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

SuExec. Read the docs for SuExec.

--
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com
मेरा भारत महान !
मम भारत: महत्तम भवतु !

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: VirtualHost with different users?

am 01.04.2010 14:04:53 von Jonas Eckerman

On 2010-03-30 18:33, Lars Nielsen wrote:

> Is there a way that I can just add a normal user to my system and then
> run a virtual host as that user?

Thowthoutgt:

1: Why? If you just want PHP and CGI applications to run as that user,
check out suexec and running PHP as fastcgi.

2: We're using mpm-itk to do this on a couple of systems. It's a MPM
based on prefork made for just this purpose. It works fine here.

regards
/Jonas
--
Jonas Eckerman
Fruktträdet & Förbundet Sveriges Dövblinda
http://www.fsdb.org/
http://www.frukt.org/
http://whatever.frukt.org/

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org