Re: Is it possible to use oxf.http.proxy.port property by itself without specifying the oxf.http.proxy.host?

Posted by Alessandro Vernet on
URL: https://discuss.orbeon.com/Is-it-possible-to-use-oxf-http-proxy-port-property-by-itself-without-specifying-the-oxf-http-proxy-h-tp1575266p1580354.html

Is each app server running on the same machine corresponding to
http://ourdemoserver1|2|3.com/? If it is, then you could use <property
as="xs:string"  name="oxf.http.proxy.host" value="localhost"/>. If it
is not, then Orbeon Forms has no way of figuring out what is the IP of
the server it has to contact unless you specify it.

Alex

On Tue, Mar 2, 2010 at 8:35 AM, npujol73 <[hidden email]> wrote:

>
> Hi,
>
>  We are setup in a proxied environment where our app server responds to
> multiple hosts
>
> http://ourdemoserver1.com/
> http://ourdemoserver2.com/
> http://ourdemoserver3.com/
>
> In addition our app server is actually running on port 8080 whereas the
> proxy exposes the app server on port 80.
> I am in separate deployment setup and I can make things work by adjusting
> the url-rewriting property to
>
> <property as="xs:anyURI" name="oxf.url-rewriting.service.base-uri"
> value="http://ourdemoserver1:8080/jobs"/>
>
> Problem is the host name really depends on which host was solicited so
> hardcoding the hostname in the property above is incorrect. I was trying to
> play with the property below but could not get it working:
>
> <property as="xs:integer" name="oxf.http.proxy.port" value="8080"/>
>
> Question:  Is is possible to use oxf.http.proxy.port without having to
> specify oxf.http.proxy.host so that I can have orbeon use the hostname that
> was used to solicit the form but override the port ? Also is there a better
> way to do this ?
>
> Thanks
>
> --
> View this message in context: http://n4.nabble.com/Is-it-possible-to-use-oxf-http-proxy-port-property-by-itself-without-specifying-the-oxf-http-proxy-h-tp1575266p1575266.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet