Hello All!
So, we've installed cPanel for the first time on a fresh CentOS 7 VM. We're developing a new website, and have decided to host it locally. We've created an A host record to the development subdomain, which works perfectly and displays the cPanel landing page. We've added in the modules the developer will need, and there's only one thing left to do: give him an FTP login which will directly access htdocs as the root (assuming of course that cPanel keeps the default Apache document root). Easy, right? Nope.
I've tried ProFTPd (currently on) as well as PureFTP. I have added the user into the ftp and proftpd groups manually. The user connects to ftp, authenticates properly, then fails to retrieve the directory listing, timing out and resetting the connection. I have tried everything I can think of, including changing pureftpd.conf with the following: DefaultRoot /usr/local/apache/htdocs instead of the default value, to no avail. There have been no other changes to the default cpanel configuration, other than a chmod of /apache/htdocs to allow all users access.
I'm definitely spinning my wheels at this point, and any help would be greatly appreciated!
/etc/redhat-release:CentOS Linux release 7.2.1511 (Core)
/usr/local/cpanel/version:11.56.0.21
/var/cpanel/envtype:vmware
CPANEL=release
Server version: Apache/2.4.18 (Unix)
Server built: May 18 2016 12:44:09
Cpanel::Easy::Apache v3.32.13 rev9999
PHP 5.5.35 (cli) (built: May 18 2016 12:54:22)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
mysql Ver 14.14 Distrib 5.6.30, for Linux (x86_64) using EditLine wrapper
So, we've installed cPanel for the first time on a fresh CentOS 7 VM. We're developing a new website, and have decided to host it locally. We've created an A host record to the development subdomain, which works perfectly and displays the cPanel landing page. We've added in the modules the developer will need, and there's only one thing left to do: give him an FTP login which will directly access htdocs as the root (assuming of course that cPanel keeps the default Apache document root). Easy, right? Nope.
I've tried ProFTPd (currently on) as well as PureFTP. I have added the user into the ftp and proftpd groups manually. The user connects to ftp, authenticates properly, then fails to retrieve the directory listing, timing out and resetting the connection. I have tried everything I can think of, including changing pureftpd.conf with the following: DefaultRoot /usr/local/apache/htdocs instead of the default value, to no avail. There have been no other changes to the default cpanel configuration, other than a chmod of /apache/htdocs to allow all users access.
I'm definitely spinning my wheels at this point, and any help would be greatly appreciated!
/etc/redhat-release:CentOS Linux release 7.2.1511 (Core)
/usr/local/cpanel/version:11.56.0.21
/var/cpanel/envtype:vmware
CPANEL=release
Server version: Apache/2.4.18 (Unix)
Server built: May 18 2016 12:44:09
Cpanel::Easy::Apache v3.32.13 rev9999
PHP 5.5.35 (cli) (built: May 18 2016 12:54:22)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
mysql Ver 14.14 Distrib 5.6.30, for Linux (x86_64) using EditLine wrapper
Last edited by a moderator: