PDA

View Full Version : FTP: Failed to write Array/.htaccess (My Solution)


dahweeds
18th November 2008, 15:02
Hello.
I hope this helps someone who had the same problem.
I have tried the OpenSource Control panels.
vhcs and ISPConfig.
I followed the install guide for vhcs here:
http://www.debianadmin.com/a-successfull-installation-guide-to-vhcs2-on-debian-etch-40.html
it gave me the instructions about proftpd setup, which ultimately caused ftp trouble with my ISPConfig install too.

....
then open /etc/proftpd/proftp.conf to stop some errors from ProFTPD:

#vi /etc/proftpd/proftpd.conf

UseIPv6 off

Then, add some security fixes to it:

DefaultRoot ~
IdentLookups off
ServerIdent on “FTP Server Ready”

I messed it up by typing:
DefaultRoot~
With no space between the curly and DefaultRoot.
You might have a similar problem.
I know I came by a long post on this site about this error message while I was trying to figure this out. But I did not see this cure in there.

Now ISPConfig FTP works, but I wonder if this code is even necessary. Maybe someone can comment about whether if it is useful or not.

Thanks for looking,
Have a nice day.

from david.

till
18th November 2008, 18:11
If you would have followed the ISPConfig installation instructions instead of the instructions for another control panel which is incompatible with ISPConfig, you wont had this problem.

Now ISPConfig FTP works, but I wonder if this code is even necessary. Maybe someone can comment about whether if it is useful or not.

This is not just useful, its nescessary for a secure setup, please see the installation instructions for your linux distribution that you find on the ispconfig documentation page.