Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th October 2012, 10:08
Totenkopf Totenkopf is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Virtual Hosting With PureFTPd And MySQL On CentOS - What about Apache integration?

Greetings!

I've just done configuring my PureFTPd on a CentOS 6 and everythingn works fine, except of the integration of PureFTPd as uploading solution into an Apache dir.

First, what i want to do:

I want to give a FTP User, who logs in over an MySQL stored FTP account, the control over an apache directory, so he can upload scripts, which gets executed via apache

My problem:

I'm messing up with the access rights and groups. If i just managed to grant access on my ftpuser for FTP, i cant access the uploaded files with apache anymore, and if i can access and execute my scripts via apache, i cant upload anything anymore.

How shall i configure the umask setting and the groups/folder owners to upload with the "ftpuser" files into my apache dir, where "apache" is able to run them?
Reply With Quote
Sponsored Links
  #2  
Old 12th October 2012, 12:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

You must use FastCGI with suExec or PHP-FPM instead of mod_php.
__________________
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
  #3  
Old 12th October 2012, 13:06
Damieen Damieen is offline
Junior Member
 
Join Date: Sep 2012
Location: new york
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko View Post
You must use FastCGI with suExec or PHP-FPM instead of mod_php.
Well I am too agree with this idea to solve your problem. As I am also using fastCGI with suExec and doing well.
__________________
.
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
Problems with Virtual Hosting With PureFTPd And MySQL [Falko HowTo] posa HOWTO-Related Questions 0 12th September 2012 09:29
Falko help -Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Manage bobbob Installation/Configuration 2 25th April 2012 13:47
Virtual Hosting With PureFTPd And MySQL quota problem GaulHahn Server Operation 3 29th July 2008 14:32
Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) sEby HOWTO-Related Questions 3 22nd January 2008 03:21
Virtual Hosting with PureFTPd and MySQL - FC7 chalee HOWTO-Related Questions 1 6th September 2007 22:19


All times are GMT +2. The time now is 18:45.


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