We're Hiring!

Minor: 'web config' output not parseable by Apache24

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.

Minor: 'web config' output not parseable by Apache24

Postby jimlong » Thu Sep 08, 2016 9:07 pm

When I:

Code: Select all
$ bin/omero web config apache > httpd-omero.conf
# mv -vi ~omero/OMERO.server/httpd-omero.conf


and then run 'apachectl configtest' I get:

Code: Select all
# apachectl configtest
AH00526: Syntax error on line 70 of /etc/httpd/conf.d/httpd-omero.conf:
Either all Options must start with + or -, or no Option may.


Code: Select all
# cat -n /etc/httpd/conf.d/httpd-omero.conf | grep -2w 70
    68    Alias /static /home/omero/OMERO.server-5.2.5-ice36-b28/lib/python/omeroweb/static
    69    <Directory "/home/omero/OMERO.server-5.2.5-ice36-b28/lib/python/omeroweb/static">
    70        Options -Indexes FollowSymLinks
    71        Order allow,deny
    72        Allow from all


I will patch the .conf file to say "Options -Indexes +FollowSymLinks" but I just thought I'd mention this minor hiccup.

Just as information, I am using:

Code: Select all
# yum list installed | grep http
httpd.x86_64                            2.4.6-40.el7.centos.4          @updates
httpd-devel.x86_64                      2.4.6-40.el7.centos.4          @updates
httpd-tools.x86_64                      2.4.6-40.el7.centos.4          @updates


Thanks as always,

Jim
jimlong
 
Posts: 13
Joined: Tue Aug 16, 2016 9:12 pm

Re: Minor: 'web config' output not parseable by Apache24

Postby atarkowska » Thu Sep 08, 2016 9:23 pm

Hi Jim

for Apache 2.4 use
Code: Select all
bin/omero web config apache24  > httpd-omero.conf

sorry looks like it is not clearly stated in the doc
Code: Select all
bin/omero web config -h
will show you all the option

NOTE: Likely Apache will be deprecated and removed soon, why not use nginx?

Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest