I am seeing the to many connections error constantly due to my phpproxy script. Is there any way to limit the connections to it? I have other sites hosted on that server so i dont really like it when they cut out here and there.. any sugestions?
yes its one of the bigger shared godday plans. i also have 1and1 and qoozz would one of those be better suited for it? my biggest concern is i don't want it to make any other site unavailable
Well most proxy issues stem from hot linking of images and other files. What you want to do is prevent large files from going through the proxy for one. The next is to make custom modifications to expire out proxy URL's. With about 20 minutes of work I was able to almost stop hotlinking entirely (the current system used does not do it that well). The way I did it was started changing the query strings around. So one user see's index.php?dijdi=3298ue298u42983u49824u892489 the next see's index.php?vjxv=sa098di230940923049920340940. If someone managed to do multi proxy then hit my proxy it would get by. However this url would expire in 12 hours thus making it really useless. As a result only actual real proxy users made use of the proxy which meant less hits but the strain was way way down.
so you think it is hot links? If it changes the links would that hurt you for search engines? I have a crap load of things linked in some how from random searches. The problem is yet again trying to get to one of my other sites on that server Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Apache/1.3.33 Server at www.visualfunhouse.com Port 80
The big issue with proxy's is the hotlinking You need to ask yourself do you gain anything from a bunch of people not visiting your proxy site and simply getting images through your proxy. The answer is pretty simple there they are costing you money with no return. So google indexing these images or whatever they hot linked through your proxy are sort of useless to you.
Good call, why would people hot linking through a proxy and not just the original source of the image? Ill work on making it anti hotlinking tonight thanks for the advice
If the source site blocks , it would block the proxy. The hotlinkers would then move to another proxy. Bad analogy: they are robbing a bank and making it look like you did it.
Cracked a members only site usually and they want all the images to go through the proxy to avoid any automatic detection closing down the account.
Godaddy does NOT allow proxy sites hosted. Watch out, they will shut you down soon. I'd suggest moving over to one of the many reputable hosts that live here on DP if you are serious. Look for DP'er "thewird"...he runs wdservers.com. great stuff at a great price...they are who I use.
I will try to contact him later, if its cheap enough i will. I installed the an anti hotlinking script last night, and still this morning i got a few of those capacity/connection errors.
Ok i installed a script into phpproxy scrip for anti hotlinking and i also did a second one through the .htaccss file and still seeing the to many connections/capacity error. Any other ideas to limit connections?