Yes, there are still static web-sites. A long time ago, they were uploaded over FTP. Now many use more secure protocols.
So here are some links and notes to allow this on a Linux based host running OpenSSH.
- [WayBack] SDB:SFTP server with Chroot – openSUSE
- [WayBack] OpenSSH/Server – Wikibooks, open books for an open world – The SFTP Server Subsystem
- [WayBack] OpenSSH/Cookbook/File Transfer with SFTP – Wikibooks, open books for an open world
- [WayBack] ssh – OpenSSH: Difference between internal-sftp and sftp-server – Server Fault
- [WayBack] How can I chroot sftp-only SSH users into their homes? – Ask Ubuntu
- “internal-sftp”
I got to the above via these two links:
- [WayBack] Allowing SFTP user to specific root directory only – Unix & Linux Stack Exchange
- [WayBack] [SOLVED] setting default folder location upon SFTP login
An alternative might be web-dave, but that would probably mean some hassle to separate uploading the site from accessing the site.
[Archive.is] How To Set Up WebDAV With Apache2 On OpenSUSE 12.2
–jeroen