How to change public address

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to change public address

Hugo Palma-4

I have artifactory installed on host A on port 8081 but the service is
available to the outside world through host B on port 80. So the public url
to access it is http://B/artifactory.

The problem is that all maven spinets that artifactory generates for
inclusion are using the http://A:8081/artifactory url.
So, is there a way i can configure artifactory to use a different host and
port ?

Thanks.
--
View this message in context: http://www.nabble.com/How-to-change-public-address-tp24286170p24286170.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: How to change public address

Yoav Landman
Administrator
Hi,

How do you proxy the requests from B to A? If you are using HTTPD + mod_proxy, you need to make sure the original host is preserved on the request (http://wiki.jfrog.org/confluence/display/RTF/Running+Behind+Apache+HTTPD).
You can also verify that the original host is preserved by checking that the simple artifact browsing links are correctly pointing at URLs on B.

HTH,

Yoav

On Wed, Jul 1, 2009 at 11:36 AM, HugoPalma <[hidden email]> wrote:

I have artifactory installed on host A on port 8081 but the service is
available to the outside world through host B on port 80. So the public url
to access it is http://B/artifactory.

The problem is that all maven spinets that artifactory generates for
inclusion are using the http://A:8081/artifactory url.
So, is there a way i can configure artifactory to use a different host and
port ?

Thanks.
--
View this message in context: http://www.nabble.com/How-to-change-public-address-tp24286170p24286170.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------

_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: How to change public address

Hugo Palma-4

The ProxyPreserveHost configuration should fix it, thanks.
Have to upgrade the apache version first though.

Cheers,
Hugo


Yoav  Landman wrote:

>
> Hi,
>
> How do you proxy the requests from B to A? If you are using HTTPD +
> mod_proxy, you need to make sure the original host is preserved on the
> request (
> http://wiki.jfrog.org/confluence/display/RTF/Running+Behind+Apache+HTTPD).
> You can also verify that the original host is preserved by checking that
> the
> simple artifact browsing links are correctly pointing at URLs on B.
>
> HTH,
>
> Yoav
>
> On Wed, Jul 1, 2009 at 11:36 AM, HugoPalma <[hidden email]> wrote:
>
>>
>> I have artifactory installed on host A on port 8081 but the service is
>> available to the outside world through host B on port 80. So the public
>> url
>> to access it is http://B/artifactory.
>>
>> The problem is that all maven spinets that artifactory generates for
>> inclusion are using the http://A:8081/artifactory url.
>> So, is there a way i can configure artifactory to use a different host
>> and
>> port ?
>>
>> Thanks.
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-change-public-address-tp24286170p24286170.html
>> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Artifactory-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>

--
View this message in context: http://www.nabble.com/How-to-change-public-address-tp24286170p24303954.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users