Using suExec

Discussion in 'Server Operation' started by DualFusion, Aug 28, 2008.

  1. DualFusion

    DualFusion New Member

    I have been looking into suexec for a while and have not found a good tutorial for this at all. I have looked at the Apache docs, but they are limited. What would be some steps for using suexec in /home when its already installed on the server and recompiled with the new doc root?

    Would I have to create a user and group, create dir in /home for the user and then a public_html dir within that one? Then go to suexec and add the user and group to it and assign it in the vhost or something?

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, this are the nescessary steps.
     
  3. DualFusion

    DualFusion New Member

    Can you show me how this would work under ubuntu and how suexec knows under which user to execute from?

    Thanks
     
  4. falko

    falko Super Moderator ISPConfig Developer

    You must add a line like this to your vhost configuration:

    Code:
    SuexecUserGroup user group
     

Share This Page