HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Virtual Hosting With PureFTPd And MySQL On CentOS - What about Apache integration? (http://www.howtoforge.com/forums/showthread.php?t=59046)

Totenkopf 11th October 2012 10:08

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?

falko 12th October 2012 12:51

You must use FastCGI with suExec or PHP-FPM instead of mod_php.

Damieen 12th October 2012 13:06

Quote:

Originally Posted by falko (Post 286598)
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.


All times are GMT +2. The time now is 10:31.

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