Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 23rd May 2011, 22:52
morraine morraine is offline
Junior Member
Join Date: Nov 2008
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default Apache ownership of Directory and ftp access

Hi, I am using ispconfig 3 to manage my debian 6.0 server and have installed a website on it using php_mod.
Now i want to use sugar CRM on the website but i have had to give Apache ownership of the directory containing SugarCRM so that my environment is compatible with the script.

i did this over SSH using:
chown -R www-data:www-data /var/www/example.com/web

Now after doing so sugar gave my environment a clkean bill of health (as it was stuck before this with error of not having certain writable directories even though i had set them to chmod 777)

But now the problem i have is that i cant log back into the directory via ftp with the original user (directory owner) of the website directory.

is there a way to enable the user to access and modify the files via FTP in it as well as Apache having ownership of it?
Reply With Quote
Sponsored Links
Old 24th May 2011, 12:55
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts

PLease undo the chmods that you have done above as they will cause the website to fail. The correct setup is to enable the "suexec" checkbox in the website settings and then use "php-fcgi" as php mode. All files and folders in /var/www/example.com/web have to be owned by the web[ID] user and client[id] group of the website.
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:
morraine (25th May 2011)
Old 25th May 2011, 14:53
morraine morraine is offline
Junior Member
Join Date: Nov 2008
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts

thank you till that sorted every thing out.
Reply With Quote


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
installation gets sigmantation foult on PHP t_ras Installation/Configuration 2 8th March 2009 12:42
Install failure -- Apache 1.3 missing? Allen15 Installation/Configuration 11 24th February 2009 10:53
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 22:12
Mysterious Install Problem tgansert Installation/Configuration 5 9th May 2006 16:35
setup fails on debian 3.1 dtrumbower Installation/Configuration 7 7th March 2006 14:42

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

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