Thread: apache2-mpm-itk
View Single Post
  #13  
Old 19th May 2009, 17:44
demia demia is offline
Junior Member
 
Join Date: May 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to change mpm-itk user from php?

Hi,

I have somewhat simple problem. i have x.com everyone is welcome, but when you login from a php form you will be able to see your files and folders.

each users files will be on a separate /x/y/[user id] folder.

So, on my x.com vhost directive i need to assign guest user at first then when user logs in i have to change the mpm-itk user so that user can work with his files.


Do you know how to change this user dynamically? and i have thousands of users and each login should change user to corresponding unix-user.

thanks.
D
Reply With Quote