4
我正在使用Amazon EC2服务器。设置一个Ubuntu系统和ProFTPD服务器。然后我创建一个用户上传文件。有用。FTP服务器不允许我上传.htaccess文件
但我无法上传.htaccess文件。它返回以下错误:
Response: 257 "/public_html" is the current directory
Command: TYPE A
Response: 200 Type set to A
Command: PORT 192,168,1,2,200,20
Response: 200 PORT command successful
Command: STOR .htaccess
Response: 550 .htaccess: Permission denied
Error: Critical error
Status: Disconnected from server
我管理的事情通过webmin和通过终端通过SSH。我尝试以下步骤:
DenyFilter * * /(有人对FTP的配置文件此行)
新增GLOBAL这样的: ListOptions “香格里拉”
但没有任何工程。
一个有趣的事情是,我可以上传.htaccess文件到除“的public_html”的其他目录..