Web Hosting Talk







View Full Version : Limitations sites on RaQ4


Juan
09-04-2001, 06:12 AM
There is a limitation of 250 sites on the Cobalt RaQ4. I have the problem that I have about 150 sites with only an html file which forwards to some geocities-address.

So I want to kill the limitation. Can someone please tell me in which file it is?

microsol
09-04-2001, 06:45 AM
Originally posted by Juan
There is a limitation of 250 sites on the Cobalt RaQ4. I have the problem that I have about 150 sites with only an html file which forwards to some geocities-address.

So I want to kill the limitation. Can someone please tell me in which file it is?

As far as i know this limitation ONLY applies to websites with unique IP's hosted on your server. Apart from the performance (which shouldn't be a big think with redirecting only) you could host easily 500 sites on 1 IP.

Juan
09-04-2001, 06:57 AM
nope, I only use 2 ip's on the machine .....

huck
09-04-2001, 09:04 AM
Juan

I do not think this is a limit for Name based hosting on a Raq4. It is however on a Raq2. I don't know about Raq3s.

If you take a peek in Product_raq.pm in in the Cobalt module directory, you will see a $Sites_max variable -- this is used in a couple of places (Network.pm and Vsites.pm) to limit the number of sites. Maybe all you have to do is up this variable and give it a shot. I could not find a reference to this variable in any other code, so maybe if you just up thise value, you can add more sites. Otherwise, you will want to look for the code that is preventing you from adding sites. There is nothing inherent in linux/apache that prevents you from hosting 1000's of sites on one machine.

Dignus
09-04-2001, 10:47 AM
Originally posted by huck
Juan



I do not think this is a limit for Name based hosting on a Raq4. It is however on a Raq2. I don't know about Raq3s.



If you take a peek in Product_raq.pm in in the Cobalt module directory, you will see a $Sites_max variable -- this is used in a couple of places (Network.pm and Vsites.pm) to limit the number of sites. Maybe all you have to do is up this variable and give it a shot. I could not find a reference to this variable in any other code, so maybe if you just up thise value, you can add more sites. Otherwise, you will want to look for the code that is preventing you from adding sites. There is nothing inherent in linux/apache that prevents you from hosting 1000's of sites on one machine.

yes it is a real limit, I cant add any more virtual sites .... thx for you help ! I guess thats my solution

huck
09-04-2001, 10:52 AM
I only have five sites on my Raq, so I cannot test this. Please post if this hack works.... a lot of people would be very happy. :D