David wrote:
> Hello all:
>
> I'm experimenting with SUSE Linus 10.1 to create a LAN web server.
>
> My primary goal is to have Apache running so that we can build and test
> web pages.
>
> Currently I've got Apache up and running. I can copy files locally into
> www/htdocs and they can be read locally (http://127.0.0.1) and over the
> LAN (http://192.168.1.133).
>
> I now want to upload files into the www/htdocs subdirectory from the LAN.
>
> Questions:
>
> 1. I assume that I'll need an FTP package to upload web pages into
> www/htdocs. Am I right?
> 2. Can I use VSFTPD as the FTP package to upload web pages into
> www/htdocs?
>
> If the answers to both these questions are "Yes" then I'll need a bit of
> coaching on VSFTPD configuration.
>
> 1. Should I create a user so that LAN users can upload files into the
> www/htdocs subdirectory?
> 2. What kind of permissions shoud the new user have?
> 3. How do I configure VSFTPD to upload files from this user into
> www/htdocs as the default directory?
>
> Any other comments or pointers on this situation would be appreciated.
David
A more secure (even though it is on a LAN) is to use the sftp server that is
part of the ssh package. Most modern FTP clients have a SFTP option to
allow connections.
The server is included and started with the default ssh configuration but
the firewall configuration needs to be modified.
Let me know if you need more details and I will check up on the
configuration used here.
Jim
--
Pye, James Pye, chmod 007
The Ultimate Open Source