Thread: apache2-mpm-itk
View Single Post
Old 19th May 2009, 18: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?


I have somewhat simple problem. i have 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 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.

Reply With Quote