Forum Moderators: phranque
Apart for allowing port 21 what else do I need, there must be a section on Passwords or similar but unable to find.
Do I need another server as well as Apache to do the ftp or is it within the package?
Any help needed even where in the new documentation to read up as I have not found it in simple language yet.
Cheers
Adrian
You need to install an FTP daemon such as vsftpd (my favorite) or proftpd - assuming you are using virtual hosting with each site in a user directory, then the ftpd will simply use the Linux login/password for each user. Careful to disable shell access (SSH and especially telnet) for most users (set their shell to
/bin/false) even if you have sshd running - most users won't want/need shell access so you should restrict it to only those who ask (and who you trust). If it is only you using the server, then I would abandon FTP altogether and rely on SCP over SSH.
The install of Apache is on SUSE10. this is a standalone computer. The firewall am using is Smoothwall Express 2 and it works very well. The webserver is on the DMZ zone and I can access it via my green network side. The DMZ can access the Internet and the only rule I have is to allow port forwarding of port 80 to the webserver.
I have not installed any FTP server on the SUSE10 box yet, but is that what I need to do?
I then need to have a local user and use a virtual host to that user then FTP login would put me into local user directory.
It is only going to serve my own home pages on my home network so was going to leave the default www locations, if this is a bad practive then I will definatly move away from that location.
Just checking my installation options and I can install
kbear, tftp, vsftpd, or obexftp. Not sure which is the correct one to use that I have available on the installation disks to keep it simple.
Again any help appreciated.
Cheers
Adrian
I can not find it in Yast or within xinetd to start so I guess I need to add a line to boot.local
Sometimes I tend to think that at least with the windows readme files it make it a bit easier.
Within Listen.conf I have
Listen 21
Listen 80
When i ftp the IP address 192.168.1.10 I do not get any login or password.
What am I missing?
Cheers
Adrian
I have struggled to find much information with my distro I have printed out the vsftpd.conf file found in /etc/ and I am trying to understand it. I get the impression it should work as is?
With Apache listen.conf set for ports 21 and 80, if I ftp://192.168.1.10 would I expect to get dialog back asking for login and password. I have changed no other fields yet in Apache.
If someone could point me to a newbie guide to setting this up to serve initially only the default web access of /srv/www/index.html as it does now and then allow me ftp access to this location even if it means logging in a root I will be happy to have achieved something.
Cheers
Adrian
I am/was under the impression that I had to allow the ftp service within Apache hence asking it to listen on port 21 as well as 80. Am I wrong on this should all I do is allow Listen 80 and serve htm and html pages.
If ftp is a seperate servivce and not related to apache the I am well confused on some comments about virtual servers!
I think the Sams book on Apache is in order.
.
.
.
.
I have just removed the Listen 21 directive from listen.conf to see if Apache was trying to compete with ftp.
I have shut down and restarted the computer, when I now ftp://192.168.1.10 I now get
"Index of ftp://192.168.1.10/"
No login script or password ,but it is a major step forward for me. I will stop asking questions on ftp on these pages I think as it looks as though it could be off topic.
Cheers
and thanks for the help
Adrian
I will stop asking questions on ftp on these pages I think as it looks as though it could be off topic.
If it's off topic it'll get moved or mentioned ..as jim did neither you are OK ..always be nice to jim however and yes "you" were ( this comment is for watchers ..this fora is cited all over the internet as "the fora" on apache )....he is unique .and modest enough to probably mod this comment out ..he should leave it .:)