Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Could you elaborate a bit on what you're trying to do and what errors you get?
What I see in your config are 3 ip-based vhosts where the 2 of them are running as reverse proxies for 2 backend ssl servers. I don't think it's necessary as you can achieve the same either with a Redirect directive, or mod_rewrite.
Regarding the 1st vhost, I also don't see why you're using an AliasMatch. You can have the same results if you use mod_userdir. Thus a request for http://x.x.x.x/~foo/bar.html will parse the /home/foo/public_html/bar,html page.
Also you're using localhost as the ServerName for all 3 vhosts. Why is that?
I don't get any error. I want apache to serve requests from my 3 servers...
right now i'm using dns to spread requests
what makes it "backend ssl"?
Quote:
Regarding the 1st vhost, I also don't see why you're using an AliasMatch. You can have the same results if you use mod_userdir. Thus a request for http://x.x.x.x/~foo/bar.html will parse the /home/foo/public_html/bar,html page.
it's directadmin default configs
Quote:
Also you're using localhost as the ServerName for all 3 vhosts. Why is that?
it was just for testing, so i didn't changed that
Last edited by Stephan_Craft; 06-24-2011 at 04:49 PM.
I don't get any error. I want apache to serve requests from my 3 servers...
right now i'm using dns to spread requests
If you don't get errors, please explain what you mean when saying it's not working. And since you don't use a different ServerName for each vhost, how exactly are you using dns?
If you don't get errors, please explain what you mean when saying it's not working. And since you don't use a different ServerName for each vhost, how exactly are you using dns?
i'm using external dns server, and i simply set 3 ip address from 1 domain
how i know it's not working?
when i change domain to 1 ip in my dns server, i don't see any traffic sent to other servers
i'm using external dns server, and i simply set 3 ip address from 1 domain
how i know it's not working?
when i change domain to 1 ip in my dns server, i don't see any traffic sent to other servers
Sorry but I don't seem to understand you. If you want to use the apache vhosts functionality through dns, you need a different ServerName for each IP.
Based on your current apache configuration, the dns is of no use in this case. You should use just IPs, like http://28.87.264.98 to visit directadmin (whatever is this), http://192.168.1.2 to be redirected to the 1st ssl server and http://192.168.2.1 for the 2nd
Or else, try:
I agree. I think you don't understand what a reverse proxy does. Better have a look here to clarify things.
Quote:
just want to configure apache proxy server that will spread the load on my 3 servers! that's all! nothing to do with dns...
If you want to spread the load, you need a load balancer.
But I don't think this is the case here, as the 3 backend servers are serving different content. At least this is what I can understand from your initial post.
no, they are serving exactly the same content and connected to the same DB
Then you need a load balancer.
Have a look at the link in my previous post. Also this example could be of help. Or you can use google, to see how you can use load balancer for your application.
Hellow friends,When i try to do reverse proxying with one of the application servers where there is onscreen login keyboard,the keyboard is not displayed by the reverse proxy server...
May please anyone tell me what to do so that onscreen keyboard can display as when i directly type http://192.168.x.y:5009/AKN/Log.jsp/ the keyboard displays and that is very important for security reasons.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.