Configure Apache to use different Unix User Accounts (www-data) per Site.

Posted by BrainCore on Stack Overflow See other posts from Stack Overflow or by BrainCore
Published on 2009-08-16T10:02:08Z Indexed on 2010/06/17 22:53 UTC
Read the original article Hit count: 415

Filed under:
|
|
|

An Apache 2.x Webserver with default configurations from the ubuntu/debian repositories will use the www-data unix account for apache2 processes handling web requests. Assuming that apache is serving two different sites (domain1.com and domain2.com), is it possible for apache to use unix user www-data1 when handling requests to domain1.com, and use unix user www-data2 when handling requests to domain2.com? The motivation is to isolate the code for each domain name from one another.

© Stack Overflow or respective owner

Related posts about apache

Related posts about unix