Alright, Before I get started trying to rewrite apache trying to do this I wanted to see if anyone out there knew if there might be a way to do virtual servers on a linux box.
Now, I know about the regular LVS stuff but thats not going to help me. Here is what I'm trying to do:
1. I want my users to be able to type in thier web page and get to it on my computer. (That means that DNS servers around the world are going to have to be pointing at my server.
2. I want them to be able to ftp and have full access to thier allocated space on my server but only have access to thier files. (Which means that 1st my machine is going to have to determine where there "root" access point is, and not only with ftp (thats easy) but with ssh as well, so my server is going to have to put them into a virtual server.
3. I know I could do all this with LVS but I don't have the money to pay for indevidual IP addresses for everyone. So here is my Idea: I wonder if it might be possible to use the local host network (127.0.0.0) to set up virtual servers using LVS. Then I could have one client be 127.0.0.2 and .3, .4 and so forth. Now that I think about it though I don't know if I could set it up with that address so I could use my eth0 to set up a 10.0.0.0 network inside my computer that would do the same thing. Here's the problem though. How am I going to make my computer say user UserX = 10.0.0.3 when they log in using ssh. And Also how would I make Apache say ok I know where is it's at one of my fake 10 network addresses, my database says it's 10.0.0.3.
Anyway I think I explained it well enough that you can figure out my problem. Thanks for your help! And if I left something out, just let me know!
Thanks
Dworkin
Now, I know about the regular LVS stuff but thats not going to help me. Here is what I'm trying to do:
1. I want my users to be able to type in thier web page and get to it on my computer. (That means that DNS servers around the world are going to have to be pointing at my server.
2. I want them to be able to ftp and have full access to thier allocated space on my server but only have access to thier files. (Which means that 1st my machine is going to have to determine where there "root" access point is, and not only with ftp (thats easy) but with ssh as well, so my server is going to have to put them into a virtual server.
3. I know I could do all this with LVS but I don't have the money to pay for indevidual IP addresses for everyone. So here is my Idea: I wonder if it might be possible to use the local host network (127.0.0.0) to set up virtual servers using LVS. Then I could have one client be 127.0.0.2 and .3, .4 and so forth. Now that I think about it though I don't know if I could set it up with that address so I could use my eth0 to set up a 10.0.0.0 network inside my computer that would do the same thing. Here's the problem though. How am I going to make my computer say user UserX = 10.0.0.3 when they log in using ssh. And Also how would I make Apache say ok I know where is it's at one of my fake 10 network addresses, my database says it's 10.0.0.3.
Anyway I think I explained it well enough that you can figure out my problem. Thanks for your help! And if I left something out, just let me know!
Thanks
Dworkin