LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Apache Server won't serve up large files (https://www.linuxquestions.org/questions/linux-networking-3/apache-server-wont-serve-up-large-files-195459/)

perrond 06-19-2004 06:13 PM

Apache Server won't serve up large files
 
I'm using Knoppix 3.4 off of my hard drive. I started up Apache and have a very simple test web page at http://dans.homelinux.net

If you try and click on the link for the Warriors of The Net movie it won't connect. The movie is there and the link is correct.

Are there Apache settings to allow large file download and are there Apache settings to control the bandwidth given to each client/user?

I had the same problem when I tried to put a large jpeg as a background. It eventually downloaded it but it took awhile.

Any suggestions?

trickykid 06-19-2004 08:10 PM

Its downloading, just a very slow connection. This has nothing to do by default with Apache, there is no limit on size of file downloads, etc.

Technonotice 06-20-2004 09:03 AM

Apache slowing down the transfer speed will only happen if you have mod_throttle (an Apache module) installed which by default it wouldn't be and certainly not with Knoppix. Is it slow when you access it from the same (or a local) box? Is the network speed of the box working ok?

perrond 06-21-2004 09:42 AM

Comcast
 
I think I found out that the problem is Comcast. I think they throttle port 80 since they discourage the use of it for personal web servers. That's the only thing that makes sense. Every other aspect of my internet speed is blazing fast. Oh, well. At least I know how to run Apache. I'm sort of new to Linux and I've toyed with about 5 other distros. Knoppix 3.4 seems to be the most complete and rewarding for a newbie.

Technonotice 06-21-2004 10:53 AM

If you think it's Comcast throttling inbound port 80, you could try moving Apache to a different port (change the Port value in httpd.conf). To access it, then do: http://dans.homelinux.net:81/

If you did need it on port 80, you could always use virtual hosts (help: 1, 2) on Apache so you have a different website for (say) port 81 (the new location) and then on port 80, you put a page that redirects to http://dans.homelinux.net:81/ (using a meta refresh or an Apache redirect).

Remember, depending on the connection, with a 128Kbps uplink, you're going to transfer about 12-13Kbytes/sec max but I don't know what transfer rates you are achieving.

HTH :)


All times are GMT -5. The time now is 04:03 AM.