Minor: 'web config' output not parseable by Apache24
 Posted: Thu Sep 08, 2016 9:07 pm
Posted: Thu Sep 08, 2016 9:07 pmWhen I:
and then run 'apachectl configtest' I get:
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:
Thanks as always,
Jim
			- 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