Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have several virtual hosts, and I want to run each one of them on a separate user to isolate the websites from each other. I have searched for a solution, but I can't find an up-to-date solution. What's the best way to run each virtual host asa separate user?

I am running Ubuntu 11.10.

share|improve this question
    
Can you clarify what it is you're trying to achieve? Is the goal to make it so that files don't have to be world-readable? Or is the goal to make scripts run as a particular user so each virtual host has its own security context on the machine? –  David Schwartz Oct 25 '11 at 1:46
add comment

1 Answer

up vote 4 down vote accepted

I'm not sure if this is in 11.10 but look into

http://mpm-itk.sesse.net/

It allows you to set a user/group per vhost

share|improve this answer
    
Looks like a yes. –  Shane Madden Oct 25 '11 at 1:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.