[OpenIndiana-discuss] proxybase and pkg.depotd

Michael Stapleton michael.stapleton at techsologic.com
Thu Mar 15 15:33:42 UTC 2012


Try using just

"http://pkg.sonicle.com"

Mike

On Thu, 2012-03-15 at 10:40 +0100, Gabriele Bulfon wrote:

> Hi,
> I'm a bit confused about how to use the proxybase on pkg.depotd.
> I have a server running on OI mirror on port 8151, not public.
> I want it to be reversed proxy by my public apache like that: pkg.sonicle.com/oi-mirror
> So i configured apache as:
> ProxyPass                    /oi-mirror             http://dev.sonicle.com:8151
> ProxyPassReverse        /oi-mirror             http://dev.sonicle.com:8151
> then tried:
> pfexec svccfg -s svc:/application/pkg/server:oi-mirror setprop pkg/proxy_base = astring: "http://pkg.sonicle.com/oi-mirror"
> and it gives error when accessing a package manifest with the browser.
> I tried also (that sounds strange...):
> pfexec svccfg -s svc:/application/pkg/server:oi-mirror setprop pkg/proxy_base = astring: "http://dev.sonicle.com:8151/oi-mirror"
> no way.
> How should it be done?
> thanx!
> Gabriele.
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss




More information about the OpenIndiana-discuss mailing list