#1  
Old 7th January 2010, 01:26
bseibenick bseibenick is offline
HowtoForge Supporter
 
Join Date: Dec 2009
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts
Default When do use suexec

I found Till's post here http://www.howtoforge.com/forums/sho...60&postcount=2 on when to use mod_php, fast-cgi or suphp. I am curious as to when to use or not to use suexec.

I am curious in general on that but also when using a CMS such as Joomla. Any other recommendations settings to change when using Joomla would be appreciated as well.

Thanks!
Brian
Reply With Quote
Sponsored Links
  #2  
Old 7th January 2010, 08:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

When you use a cms like joomla, typo3 etc., always use suexec. Suexec enables php and fcgi scripts to run under the user of the website instead of the apache user.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
bseibenick (9th January 2010)
  #3  
Old 16th August 2010, 16:01
007007 007007 is offline
Senior Member
 
Join Date: Jul 2010
Posts: 139
Thanks: 5
Thanked 0 Times in 0 Posts
Default

we must also enable:

CGI, SSI, Ruby?

I have a joomla / ipb with over 10,000 members
Reply With Quote
  #4  
Old 17th August 2010, 00:53
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 479
Thanks: 78
Thanked 39 Times in 33 Posts
Default

I install a few joomla sites:
I do not use cgi or ssi
I always use fastcgi
I always SuExec

I open a jailed shell for the user
I copy across a tar of joomla and expand it
Code:
wget http://www.badbison.com/joomla.tar.gz
tar -xvf joomla.tar.gz
rm joomla.tar.gz
Having done this, in your custom shell, under suExec, all your files will have all the correct permissions for joomla and it's components to run.

Hope this helps
Reply With Quote
  #5  
Old 17th August 2010, 12:24
007007 007007 is offline
Senior Member
 
Join Date: Jul 2010
Posts: 139
Thanks: 5
Thanked 0 Times in 0 Posts
Default

thx

what utility of cgi, ssi and ruby ?
Reply With Quote
  #6  
Old 17th August 2010, 16:03
qb7 qb7 is offline
Member
 
Join Date: Jul 2010
Posts: 50
Thanks: 12
Thanked 4 Times in 4 Posts
Default more information.

Quote:
Originally Posted by Toucan View Post
I install a few joomla sites:
I do not use cgi or ssi
I always use fastcgi
I always SuExec

I open a jailed shell for the user
I copy across a tar of joomla and expand it
Code:
wget http://www.badbison.com/joomla.tar.gz
tar -xvf joomla.tar.gz
rm joomla.tar.gz
Having done this, in your custom shell, under suExec, all your files will have all the correct permissions for joomla and it's components to run.

Hope this helps
when i login wich a jailed shell for the user, i login in the home directori, what directori I browse for I copy joomla tar and expand it?
Reply With Quote
  #7  
Old 17th August 2010, 16:09
qb7 qb7 is offline
Member
 
Join Date: Jul 2010
Posts: 50
Thanks: 12
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by qb7 View Post
when i login wich a jailed shell for the user, i login in the home directori, what directori I browse for I copy joomla tar and expand it?
Can you post step by step this solution?
Thank for all guy..
Reply With Quote
  #8  
Old 17th August 2010, 17:24
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 479
Thanks: 78
Thanked 39 Times in 33 Posts
Default

Open your jailed shell
Move to the root of the shell
Code:
cd ..
cd ..
Move to the web folder for that user
Code:
cd web
You should now be in the web folder
Execute the commands below
Code:
wget http://www.badbison.com/joomla.tar.gz
tar -xvf joomla.tar.gz
rm joomla.tar.gz
Rm index.htm
Reply With Quote
  #9  
Old 17th August 2010, 17:28
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 479
Thanks: 78
Thanked 39 Times in 33 Posts
 
Default

This is a cumbersome way of navigating about the shell but may help. You can insert ls command to help feel your way around the shell jail. The web folder is where you put your typical files for the site.

Also, be aware the commands here will wget a copy of my OLD version of joomla.
Reply With Quote
Reply

Bookmarks

Tags
joomla, suexec

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
suexec allows deleting files which owner is root xerc Installation/Configuration 14 22nd October 2009 23:26
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


All times are GMT +2. The time now is 02:44.


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