[ome-devel] [ome-users] OMERO 5 public user
Aleksandra Tarkowska
A.Tarkowska at dundee.ac.uk
Mon Oct 28 15:58:55 GMT 2013
Dear Jianguo
I've just reviewer our documentation to make it more clear. Changes will be visible within a few days.
Raised issues come down to the regular expression. This is something you need to be careful and really understand what you are doing. The best is to start from Python documentation http://docs.python.org/2/library/re.html
If you just want public user has access to images using web gateway viewer only please set filter to: '/webgateway' just drop caret
Kind regards
Ola
On 28 Oct 2013, at 14:25, Jianguo Rao <JIANGUO.RAO at igmm.ed.ac.uk<mailto:JIANGUO.RAO at igmm.ed.ac.uk>> wrote:
Hi Will,
Thanks for join the helper team!
I can confirm that it makes a BIG difference.
If I set
omero config set omero.web.public.url_filter '^/(?!webadmin)'
I can view
http://your_host/omero/webgateway/img_detail/IMAGE_ID/
without login.
BUT if I set
omero config set omero.web.public.url_filter '^/webgateway'
view
http://your_host/omero/webgateway/img_detail/IMAGE_ID/
will redirect to login page!
I can also confirm that the both configurations lead to the same system error messages already reported earlier, when visited /omero/webgateway/. I just done a retest to confirm these.
BR,
Jianguo
Quoting Will Moore <will at lifesci.dundee.ac.uk> on Mon, 28 Oct 2013 13:57:39 +0000:
Hi Jianguo,
What happens now when you go to your_host/omero/webgateway/ ?
I don't think the url regex configuration will change the original error you are getting?
Only allowing 'webgateway'...
$ bin/omero config set omero.web.public.url_filter '^/webgateway'
shouldn't cause a problem when visiting
http://your_host/omero/webgateway/img_detail/IMAGE_ID/
Then you won't be allowing access to /webclient/ for public users.
Cheers,
Will.
On 28 Oct 2013, at 12:29, Jianguo Rao wrote:
Dear Ola,
As I said, your suggest configuration is works fine. But it seems I have a new issue-- the urls such as:
http://your_host/omero/webclient/
http://your_host/omero/
etc.
will, all automatically login as public user and it seems public user has blocked other user from login.
After some experiments, I find a way for other user to login, using the following url:
http://your_host/omero/webclient/loglin/
Hope this is useful for other OMERO users.
BR,
Jianguo
Quoting Aleksandra Tarkowska <A.Tarkowska at dundee.ac.uk> on Mon, 28 Oct 2013 09:34:25 +0000:
Dear Jianguo
Lets clarify how your config should look like by default:
1. Please stop omeroweb:
$ bin/omero web stop
2. Check the configuration:
omero.web.debug=True
omero.web.public.enabled=True
omero.web.public.password=PASSWORD
omero.web.public.server_id=1
omero.web.public.url_filter=^/(?!webadmin)
omero.web.public.user=USERNAME
omero.web.server_list=[["localhost", 4064, "omero"]]
3. Please make sure you set those values correctly, then start omeroweb
$ bin/omero web start
4. Then go to:
1. open http://your_host/omero/webclient/img_detail/IMAGE_ID/ <- it should show image strait away
Please remember IMAGE_ID must be valid image owned by PUBLIC USER
If this doesn't work please send me all log files stored in OMERO_DIR/var/log
Kind regards
Ola
The University of Dundee is a registered Scottish Charity, No: SC015096
--
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
_______________________________________________
ome-devel mailing list
ome-devel at lists.openmicroscopy.org.uk
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel
_______________________________________________
ome-devel mailing list
ome-devel at lists.openmicroscopy.org.uk
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel
--
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
_______________________________________________
ome-devel mailing list
ome-devel at lists.openmicroscopy.org.uk
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel
The University of Dundee is a registered Scottish Charity, No: SC015096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20131028/0d511fdb/attachment-0001.html>
More information about the ome-devel
mailing list