Apache suEXEC execute script on user dir basis?

Posted by Blame on Server Fault See other posts from Server Fault or by Blame
Published on 2013-10-22T08:38:42Z Indexed on 2013/10/22 9:58 UTC
Read the original article Hit count: 337

Filed under:
|

Iam looking for a way to run a script with different users. I dont want to hardcode the users in the config... and I found some information that it should be possible that the user goes to... lets say:

Code:

http://localhost/~user1/myscript.cgi

and the script gets executes as user 'user1'.

Does anybody know if that is possible? If not, do I have to make a new vhost config for every user?

Thanks a lot! Greets, Kodak

© Server Fault or respective owner

Related posts about apache2

Related posts about suexec