#1  
Old 28th August 2008, 02:07
DualFusion DualFusion is offline
Member
 
Join Date: Dec 2007
Posts: 67
Thanks: 4
Thanked 1 Time in 1 Post
Default Using suExec

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
Reply With Quote
Sponsored Links
  #2  
Old 28th August 2008, 10:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,676
Thanks: 819
Thanked 5,317 Times in 4,170 Posts
Default

Quote:
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?
Yes, this are the nescessary steps.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th August 2008, 11:41
DualFusion DualFusion is offline
Member
 
Join Date: Dec 2007
Posts: 67
Thanks: 4
Thanked 1 Time in 1 Post
Default

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

Thanks
Reply With Quote
  #4  
Old 29th August 2008, 13:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
 
Default

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

Code:
SuexecUserGroup user group
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
add web site serr57 Installation/Configuration 18 13th April 2008 11:40
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 14:22
Suexec Not Working helfrez Installation/Configuration 1 13th October 2006 15:52
SuExec compiling qtam0 Server Operation 6 24th September 2006 02:25
SuExec linutzy Server Operation 1 16th August 2005 23:09


All times are GMT +2. The time now is 20:53.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.