Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
5
Newest
 Excavator
Impact
~2k people reached

Jun
23
answered Docker containers can't resolve DNS on Ubuntu 14.04 Desktop Host
Apr
8
awarded  Excavator
Apr
8
revised Soft limit vs Hard limit?
Removed tautology.
Apr
8
suggested approved edit on Soft limit vs Hard limit?
Jan
11
awarded  Autobiographer
Dec
31
answered PHP Fatal error: Class 'PDO' not found
Dec
26
awarded  Supporter
Feb
6
comment How to configure Web/FTP Server so that it downloads .sh files instead of showing its content
I'm sure this is a right solution if Web server was handling the requests. However, in my case FTP seems to handle the requests directly. So Apache doesn't seem to be interfering. Is there a way to configure FTP server?
Feb
6
awarded  Editor
Feb
6
revised How to configure Web/FTP Server so that it downloads .sh files instead of showing its content
Added more details to the question.
Feb
6
comment How to configure Web/FTP Server so that it downloads .sh files instead of showing its content
vsftpd and Apache.
Feb
3
comment How to configure Web/FTP Server so that it downloads .sh files instead of showing its content
I found mime.types file. It already has "application/x-sh sh". What else should I do?
Feb
3
comment How to configure Web/FTP Server so that it downloads .sh files instead of showing its content
I got the following. It seems to be seeing the file as binary. But what's then? > Last-Modified: Tue, 31 Jan 2012 19:04:53 GMT > TYPE I < 200 Switching to Binary mode. > SIZE APP-linux.i386.sh < 213 39885273 Content-Length: 39885273 > REST 0 < 350 Restart position accepted (0). Accept-ranges: bytes
Feb
2
awarded  Student
Feb
2
asked How to configure Web/FTP Server so that it downloads .sh files instead of showing its content