I configured apache server for few sites. All works perfectly in local network.
But when I try to download files from external network - there are some problems.
I can download file only if it size is no more then 255 bytes.
wget http://128.0.24.242/README.md
--2019-06-28 20:21:06-- http://128.0.24.242/README.md
Connecting to 128.0.24.242:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2215 (2.2K) [application/x-genesis-rom]
Saving to: ‘README.md.3’
README.md.3 0% ] 0 --.-KB/s in 0s
2019-06-28 20:21:06 (0.00 B/s) - Connection closed at byte 0. Retrying.
And all works it file has size less then 256 bytes:
wget http://128.0.24.242/README2.md
--2019-06-28 20:21:48-- http://128.0.24.242/README2.md
Connecting to 128.0.24.242:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 255 [application/x-genesis-rom]
Saving to: ‘README2.md’
README2.md 100%=============================================================================================================================>] 255 --.-KB/s in 0s
2019-06-28 20:21:48 (77.8 MB/s) - ‘README2.md’ saved [255/255]
Can anyone help with this? I have no idea what is wrong. Disabling firewall didn’t help
If you’re running the command from your Apache server,
wget isn’t related to Apache, so it won’t be an Apache problem.
You’ll have to look at some other cause.
Consider how big your file is, only a few megabytes? Tens or hundreds of megabytes or larger?
Are you behind a firewall that might be filtering? Or something installed on your machine besides openSUSE?
I found this in the apache coniguration mime.types:
application/x-genesis-rom gen md
What means that a file that ends in .md is send by HTTP as application/x-genesis-rom. But that seams to be some ROM files for (game) consoles. Could it be that those have a restriction?