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」的其他目錄..