I have a weird problem I'm trying to solve, but can't find out how. I found that problem when trying to access a php page and only the basic html and css were loaded but the flash didn't. when I tried to download the swf file directly, I encountered an http timeout error.
In order to find the problem I ran some tests:
1) when I downloaded a file via FTP, the download speed was ok.
2) when I downloaded a BIG file (100M) via http - the download speed also was ok.
3) when I downloaded a small file (50K) via http - the download speed was very slow. I tried several file extensions but it gave the same result. This is the reason for the flash swf file to not load successfully - due to a timeout.
Edit: the file is downloaded, but corrupted since data is missing in the middle of the file
The most interesting part is that when I access the same page via localhost or outside of the network (s.a via ppp interface over cellular modem) the files are loaded perfectly. Therefore, the problem is only for LAN.
The server is apache2, over Ubuntu 10.04.