sFTP to /var/www/html for custom application

cleardev

New member
Joined
Apr 2, 2014
Messages
3
A similar questions was posted years back but I'm not sure what the best solution is.

I'd like to set up an application (myapplication) similar to webmail that anyone can reach via domain.com/myapplication/

I can do this with httpd-aliases.conf
and then placing the application in myapplication=/var/www/html/myapplication
That works.

The issue I'm having is setting up the permissions and FTP access.

I understand that it has to be owned by webapps to prevent suPHP from choking.
I can't figure out how to create an account that can FTP into /var/www/html/myapplication and upload files.
I tried adding a user to the webapps group and then creating a symlink to that folder from their home directory.

If anyone knows a good solution (other than sFTPing in as root) I'd appreciate it.

Here's the older post I had viewed.
http://forum.directadmin.com/showthread.php?t=24649

Another question:
Does webapps have access to write to users folders i.e. /home/user/domains/mydomain.com/public_html
or would the public_html folder have to have webapps as the group?

Thanks,

-J
 
Back
Top