download servers
I have very popular download site with 4 serversall of them is AMD Athlon XP 2000+ with 700 RAM
the main server for the site portal & forum
the other 3 servers for the files some of these files between 100-500 MB
I protect the 3 servers with .htaccess so no one can download any file on these servers not coming from my site but this make problem to my site vistors they can't resume any file from these servers even they used download manager
Also I have problem with these servers they become slow & some times not accessable to the visitors when there high requests
here is the .htaccess file i use it with these servers
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://mysite.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mysite.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://server2.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.server2.com/.*$ [NC]
RewriteRule .*\.(zip|ZIP)$ - [NC,F]
and here is the httpd.conf of these servers
Timeout 300
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 20
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
MaxClients 2048
MaxRequestsPerChild 30000
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 2048
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
anyone can help to fix this or give me good idea for my problem