0
1
Is it possible to serve files using SFTP instead of HTTP for Apache? I'm trying to host files on Apache and the files are 100MB+.
0
1
Is it possible to serve files using SFTP instead of HTTP for Apache? I'm trying to host files on Apache and the files are 100MB+.
2
No. Apache is an HTTP server, not an SSH/SFTP server.
HTTP is perfectly suitable for distributing files as large as multiple gigabytes. 100 MB isn't even especially big; Apache should handle that just fine.
I found this: httpd.apache.org/mod_ftp . Am I mistaken that it overrides HTTP file transfer and servers files using FTP instead? – tyleax – 2018-10-24T18:51:49.193
2@tyleax mod_ftp is for FTP. It has nothing to do with SFTP, what is a completely different protocol. – Martin Prikryl – 2018-10-24T18:55:06.903
2@tyleax That module is not strictly speaking a part of Apache HTTPD. It's distributed separately, and the most recent release was just over 10 years ago. It's unlikely to be a viable option. – duskwuff -inactive- – 2018-10-24T18:55:09.170