[OpenIndiana-discuss] proxybase and pkg.depotd

Gabriele Bulfon gbulfon at sonicle.com
Thu Mar 15 09:40:42 UTC 2012


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.


More information about the OpenIndiana-discuss mailing list