Problem Description: The Linux server has installed the FTP components, using SECUREFXP, or other professional FTP tools to upload and download is correct, but there is no way through the browser (using FTP protocol or HTTP protocol access), after a variety of toss did not find a solution, Finally, under the guidance of SU Teacher "will ftp upload directory and Apache application Publishing directory Consistent", Daoteng after the smooth, now the operation is as follows:
1 upload and download using professional FTP Tools normal
2 but access is not available using the browser FTP protocol
3 using the HTTP protocol also does not access
4 start on the Linux server toss, first look at the server has wood has installed FTP service with the command rpm-q VSFTPD
You can see that the FTP service is installed on the Linux server.
5 Enter the FTP profile directory
6 edit vsftpd.conf with VI, if not, add the FTP upload directory at the bottom of the configuration file
Configure Local_root (user name password access) anon_root (anonymous access path)
7 after setting up FTP restart FTP service
8 This time again with the browser FTP protocol access to the following
Enter user name password to access
9 but using the HTTP protocol to access or not access
10 The Apache agent is required to set the application directory to be consistent with the upload directory of the FTP settings
Find httpd.conf file to modify directory
This is the form of an XML tag, so you have to change the tail
11 after modifying, restart Apache, the effect is as follows
12 Understand a bit, Apache and FTP upload directory is set to/home/wxftp/, at this time I use FTP or HTTP access to the path of FTP or HTTP://IP at this time access to the server is set up a directory structure, not our traditional sense of the root directory.
Preliminary understanding of FTP and Apache proxies