Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Proxy question |
|
Author |
|
Dalehutch
Joined: 03 Nov 2006 Posts: 1 Location: Denver, CO
|
Posted: Sat 19 May '12 17:43 Post subject: Proxy question |
|
|
Greetings!
I have to admit, I have been using Apache for well over 10 years now and I never needed this. But now I a totally newbie on this topic. Proxy!
Here is what I would like to do. I have Apache v2.2.22 up and running on an Unbuntu 12.04 server. All my virtual servers works fine. But what I would like to do is test the BigBlueButton meetings server. The server is on a separate Ubuntu server. what I would like to do is this.
Main Website -> www.mysite.com is on my main webserver.
meetings server -> www.meetings.mysite.com is redirected to the other server
I have tried to add the virtual server proxy lines into the www.mysite.com settings and I keep getting the infamous 500 error.
Any suggestions on the correct settinsg would be greatly appreciated! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 22 May '12 15:06 Post subject: |
|
|
I guess www.meetings.mysite.com should show the content of the BigBlueButton meetings server.
Of that you need a reverse proxy. Would have been nice if you posted your trial config... however.
First you need to load the needed modules in apache. Create the symlink your self to the right directory or use a2enmod.
You need proxy_module, proxy_http_module,headers_module
the vhost for www.meetings.mysite.com
<VirtualHost *:80>
ServerName meetings.mysite.com
ServerAlias www.meetings.mysite.com
ProxyPass / http://192.168.100.100/
ProxyPassReverse / http://192.168.100.100/
</VirtualHost> |
|
Back to top |
|
maba
Joined: 05 Feb 2012 Posts: 64 Location: Germany, Heilbronn
|
Posted: Mon 28 May '12 17:35 Post subject: |
|
|
See previous post. In addition you might need to explicitly turn
ProxyPreserveHost on
or
ProxyPreserveHost off
Regards
maba |
|
Back to top |
|
|
|
|
|
|