Page 2 of 2

Re: Accessing Public Datasets

PostPosted: Tue Mar 17, 2015 4:26 pm
by wmoore
Dave, I added your "download images" request as a new github issue: https://github.com/will-moore/gallery/issues/1

This is the best place to submit feature requests or bugs.

Cheers,

Will.

Re: Accessing Public Datasets

PostPosted: Thu Mar 19, 2015 12:19 pm
by davemason
Thank you both, this is exactly what I needed and it works perfectly.

The (hopefully) final question is that I'm awaiting our computer services dept to open the ports to the outside world to allow access to our OMERO server. Am I right in thinking that this would require access to both port 80 and 4080 to serve content?

Many thanks for your help so far,

Dave

Re: Accessing Public Datasets

PostPosted: Thu Mar 19, 2015 3:32 pm
by jmoore
Hi Dave,

In production mode, only access to port 80 should be necessary, and 4080 should in fact not be accessible.

Cheers,
~Josh.

Note: if you are serving via HTTPS which for login is certainly suggested, you'll also need port 443.

Re: Accessing Public Datasets

PostPosted: Thu Mar 19, 2015 4:48 pm
by davemason
Perfect.

Also, you're quite right, only port 80 is open. I'm disinclined to have regular users login "directly" as they can always use a VPN to access the on-site login.

This has been really helpful. I can't say it enough but thank you again for all your help!

Dave

Re: Accessing Public Datasets

PostPosted: Fri Mar 20, 2015 1:20 pm
by wmoore
Hi Dave,

I've just been looking to improve the url_filter regex for when you're using the webclient for public users.
I think you should use something like this:

Code: Select all
config set omero.web.public.url_filter '^/(?!webadmin|webclient/(action|annotate_(file|tags|comment|rating|map)|script_ui|ome_tiff|figure_script)|webgateway/(archived_files|download_as))'


The full documentation and testing of this regex can be found at the code I used to develop it:
https://gist.github.com/will-moore/8315580

So you can tweak and test yourself.

I'll update the OMERO docs with this ASAP.

Cheers,
Will.

PS. When you get something up and running, it would be great to hear about it on your blog! :)

Re: Accessing Public Datasets

PostPosted: Fri Mar 20, 2015 3:15 pm
by wmoore
Update: In adding this to the docs, https://github.com/openmicroscopy/ome-d ... /pull/1160 I realised I'd missed the 'logout' part of the filter. Just follow that PR for any further fixes etc.

Will.