Re: [opensuse-buildservice] can't enable anonymous access
Adrian Schroeter wrote on June 12 2010:
I know that you can enable anonymous access from /srv/www/obs/api/config/options.yml. Is that all you have to do? I can't seem to get it to work.
yes, but you need to configure both:
allow_anonymous: true webui_host: build.opensuse.org
webui_host specifies which webui is allowed with anonymous access.
But _what_ do I put into webui_host? "localhost"? An IP address? What if I have to specify multiple webui hosts' addresses? --- 16:44 ares:../api/config # cat options.yml #exception_recipients: ['webclient_noreply@opensuse.org'] # add also webui_host setting if you want allow anonymous read access via webui allow_anonymous: true webui_host: ares.medozas.de #build.opensuse.org # should be set always webui_url: http://ares.medozas.de:80/ # make use of # http://blog.lighttpd.net/articles/2006/07/22/x-sendfiles-new-friend-x-rewrit... # note that you need to enable the proxy-core option to allow this #use_lighttpd_x_rewrite: true --- As it stands like that, no anonymous viewing is allowed right now, and it's impossible to figure out. Yes, lighttpd has been restarted. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Friday 25 June 2010 16:45:36 Jan Engelhardt wrote:
Adrian Schroeter wrote on June 12 2010:
I know that you can enable anonymous access from /srv/www/obs/api/config/options.yml. Is that all you have to do? I can't seem to get it to work.
yes, but you need to configure both:
allow_anonymous: true webui_host: build.opensuse.org
webui_host specifies which webui is allowed with anonymous access.
But _what_ do I put into webui_host? "localhost"? An IP address?
The string which comes as vhost identify header in lighttpd
What if I have to specify multiple webui hosts' addresses?
You need to provide a patch to support this ;) bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Friday 2010-06-25 20:10, Adrian Schröter wrote:
allow_anonymous: true webui_host: build.opensuse.org
webui_host specifies which webui is allowed with anonymous access.
But _what_ do I put into webui_host? "localhost"? An IP address?
The string which comes as vhost identify header in lighttpd
Aye, and webui_url? With :80 or without.. with http:// or not. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Friday 2010-06-25 20:16, Jan Engelhardt wrote:
On Friday 2010-06-25 20:10, Adrian Schröter wrote:
allow_anonymous: true webui_host: build.opensuse.org
webui_host specifies which webui is allowed with anonymous access.
But _what_ do I put into webui_host? "localhost"? An IP address?
The string which comes as vhost identify header in lighttpd
Aye, and webui_url? With :80 or without.. with http:// or not.
Anyway, allow_anonymous: true webui_host: ares.medozas.de webui_url: http://ares.medozas.de/ Does not allow anonymous visiting. Why is that? Jan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Adrian Schröter
-
Jan Engelhardt