assuming you have ServerA and ServerB
OM is installed on ServerA and available using following URL:
http://ServerA:5080/openmeetings

you need to open Apache config on ServerB and set rules like this:

        <Location /openmeetings>
                Order allow,deny
                Allow from all
                ProxyPass http://ServerA:5080/openmeetings
                ProxyPassReverse http://ServerA:5080/openmeetings
        </Location>

plus additional lines for RTMPT specific queries might be required (search
openmeetings.markmail.org)


On Wed, Jul 1, 2015 at 8:49 PM, Andrea Croci <[email protected]> wrote:

>  Hi Maxim,
>
> that's what I tried too, but it didn't work.
>
>
> On 01.07.2015 16:09, Maxim Solodovnik wrote:
>
> I believe this can be done using mod_proxy
>
> WBR, Maxim
> (from mobile, sorry for the typos)
> On Jul 1, 2015 5:56 PM, "Andrea Croci" <[email protected]> wrote:
>
>>  Hello Group,
>>
>> I have to disturb you again with a new question. Actually this one would
>> be more for the httpd group, and I have posted it there too, but since I
>> didn't receive any reply there, I figure maybe some of you knows the answer
>> to it.
>>
>> The scenario is that I have my website in a hosted server, where I
>> however can't install OM because I don't have administrator rights. The
>> solution I have thought of is to install the program in my server. However
>> my server is now reachable with a DDNS address and I think this doesn't
>> look very professional to the visitors of the website. The website has a
>> top level domain: www.ophaniel.eu, and my server has andreacroci.ddns.net.
>> I have read that it is possible to redirect the ophaniel.eu domain (or a
>> part of it) to another domain, without changing the URL in the addressbar
>> in the browser. This would be a great solution, but it's not working. I
>> have tried all the configurations that I found with google, and they are a
>> lot. I have asked the hosting provider, but he can't help me.
>>
>> The closer I get to something nice is if I make a subdirectory in the
>> ophaniel.eu directory (say "presentations-en/") and I lay there an
>> .htaccess file with a rewrite rule:
>>
>> RewriteEngine on
>> RewriteRule ^(.*) http://andreacroci.ddns.net:5080$1 [P]
>>
>> When I do this, however, I get an error:
>>
>> Proxy Error
>>
>> The proxy server received an invalid response from an upstream server.
>> The proxy server could not handle the request *GET /presentations-en/
>> <http://www.ophaniel.eu/presentations-en/>*.
>>
>> Reason: Error reading from remote server
>>
>> According to the provider the "Proxy server" is their server and the
>> "upstream server" is mine. I have tried to put several versions of
>> ProxyPass and ProxyPassReverse rules in my apache2.conf file, with
>> different values of directory and port, but nothing works. If the Proxy
>> server is the provider's server, I have also thought maybe I have to put
>> these directives in the .htaccess file in their server, but that didn't
>> work either. I'm out of clues on this.
>>
>> Is there anyone here who can tell me what the right configuration for
>> this would be? I will be happy to provide the configuration files you tell
>> me in order to help you.
>>
>> Thank you a lot,
>>
>> Andrea.
>>
>
>


-- 
WBR
Maxim aka solomax

Reply via email to