We're Hiring!

having another website alongside omero on windows

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

having another website alongside omero on windows

Postby achessel » Mon Jan 16, 2012 2:50 pm

hi all,

Sorry if that question is bit trivial, but my knowledge of web servers, and IIS in particular, is a bit lacking... I recently finally got OMEROweb to work (and played a bit with the whole django framework, really quite powerful), but it seems now all url coming to the server are interpreted by django's parser, thus hiding wharever else was there.

The solution I found somewhere would be to install django on another virtual directory: when installing omero iis, it says "Configured Virtual Directory: /", thus getting any address on the server. I tried to modify omero_web_iis.py, where that seem to be defined, to /omero; it did say "Configured Virtual Directory: /omero" when started but is not working as expected afterward. What should I do and is there a proper way to do it? Is there something obvious I missed?

additional question: while tinkering with stuff, I manually deleted the handler mapping that was redirecting all request to the omero django server, trying to reset everything to before I installed omeroweb. But it does not seems to install itself again if I reinstall OMEROweb... (so now omero web is not working anymore. But the rest is...)

many thanks

(btw it's omero 4.3.3 on windows server 2008, iis 7.5)
achessel
 
Posts: 67
Joined: Fri Jan 14, 2011 1:58 pm

Re: having another website alongside omero on windows

Postby cxallan » Mon Jan 16, 2012 3:19 pm

Unfortunately OMERO 4.3.3 does not support relocating to a subpath or virtual directory such as /omero. It is however something that we currently have working in the development tree so this functionality will be present in OMERO 4.4.0. At the moment your only solution to the "hiding" effect is to use virtual hosting.
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: having another website alongside omero on windows

Postby achessel » Tue Jan 17, 2012 1:33 pm

Ah, ok, thanks for the answer. And, hum, do you have a tentative ETA for 4.4.0?

Any idea for my second question?

I wrote:additional question: while tinkering with stuff, I manually deleted the handler mapping that was redirecting all request to the omero django server, trying to reset everything to before I installed omeroweb. But it does not seems to install itself again if I reinstall OMEROweb...
achessel
 
Posts: 67
Joined: Fri Jan 14, 2011 1:58 pm

Re: having another website alongside omero on windows

Postby cxallan » Tue Jan 17, 2012 2:17 pm

The tentative date for OMERO 4.4.0 is sometime late spring, early summer 2012 but right now that's very rough.

When you say "But it does not seems to install itself again if I reinstall OMEROweb", what do you mean? Running bin/omero web iis?
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: having another website alongside omero on windows

Postby achessel » Thu Jan 19, 2012 11:10 am

I did 'bin/omero web iis --remove', but a mapping remained (in the 'handler mapper' section of iis) that (AFAIK?) redirected all request to the web server to omero, thus still hiding everything. I deleted it manually; now everything is back to pre-omeroweb (I think), but if I try to reinstall omeroweb, by rerunning 'bin/omero web iis', that mapping is not coming back, so omero web is not working... (again, I am not a web server expert, so it could be me doing it wrong...)
achessel
 
Posts: 67
Joined: Fri Jan 14, 2011 1:58 pm

Re: having another website alongside omero on windows

Postby jmoore » Thu Jan 19, 2012 11:21 am

Have you tried calling "iisreset" after any calls to "bin\omero web iis" ?

~Josh.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: having another website alongside omero on windows

Postby achessel » Thu Jan 19, 2012 12:02 pm

yes, iisreset everytime you do smthing seem to do the trick. I had to reset iis or the website each time I touched to django stuff as well, so it make sense I guess...

many thanks for the help...
achessel
 
Posts: 67
Joined: Fri Jan 14, 2011 1:58 pm

Re: having another website alongside omero on windows

Postby jmoore » Thu Jan 19, 2012 12:16 pm

Glad to hear it. ~J.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest