We're Hiring!

Invalid application host - configuring apache

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.

Invalid application host - configuring apache

Postby maffy » Thu Dec 16, 2010 12:19 pm

I'm having problems setting up the web side to my server. I have the server set up and can log in fine and use the development web service, but when I follow the instruction to set it up for apache I get an error and I'm not sure where to go from here.
My server is Ubuntu 10.04 server. Everything else seems to be working, but when following the guide and I get the following:

Code: Select all
$ bin/omero web config apache
Invalid application host: http://<machine_name>.<domain>/

(doesn't actually say <machine_name>.<domain>, I have substituted the DNS name of the machine which resolves fine). I had set omero.web.application_host as the instructions show.

Any pointers where to look to resolve it? Nothing I can see in the logs and I don't find anything online about this error.
maffy
 
Posts: 2
Joined: Thu Dec 16, 2010 12:06 pm

Re: Invalid application host - configuring apache

Postby cxallan » Fri Dec 17, 2010 9:30 am

It just requires the port to be specified explicitly. In the future we'll make this more flexible and in the mean time I've made this difference very pronounced on the "Web on Production" install page. An example:

Code: Select all
$ bin/omero config set omero.web.application_host 'http://blah.blah/'
$ bin/omero web config apache
Invalid application host: http://blah.blah/
$ bin/omero config set omero.web.application_host 'http://blah.blah:80/'
$ bin/omero web config apache
###
### Stanza for OMERO.web created 2010-12-17 09:24:13.225374
###
FastCGIExternalServer ".../OMERO-TRUNK/var/omero.fcgi" -host 0.0.0.0:4080

<Directory ".../OMERO-TRUNK/var">
    Options -Indexes FollowSymLinks
    Order allow,deny
    Allow from all
</Directory>

<Directory ".../OMERO-TRUNK/lib/python/omeroweb/media">
    Options -Indexes FollowSymLinks
    Order allow,deny
    Allow from all
</Directory>

Alias /appmedia .../OMERO-TRUNK/lib/python/omeroweb/media
Alias / ".../OMERO-TRUNK/var/omero.fcgi/"
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: Invalid application host - configuring apache

Postby maffy » Fri Dec 17, 2010 1:14 pm

As simple as that, can't believe I didn't try that to be honest.

Many thanks, all working.
maffy
 
Posts: 2
Joined: Thu Dec 16, 2010 12:06 pm


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest