Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #3818 (closed)

Opened 13 years ago

Closed 13 years ago

Bug: nginx.conf fails for nginx 0.8.54

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: OMERO-Beta4.3
Component: General Version: n.a.
Keywords: n.a. Cc: cxallan, cneves
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-02-10 (5)

Description

[omero@CentOS-55-64-minimal ~]$ ./nginx-0.8.54/objs/nginx -c /home/omero/nginx.conf 
[emerg]: unknown directive "if" in /home/omero/nginx.conf:36
[omero@CentOS-55-64-minimal ~]$ grep -B 2 -A 2 if nginx.conf 

        location / {
            if (-f /home/omero/2011-01-11/OMERO.server-Beta-4.2.3-DEV/var/maintenance.html) {
               error_page 503 /maintenance.html;
               return 503;

Change History (2)

comment:1 Changed 13 years ago by jmoore

  • Owner set to jmoore
  • Remaining Time set to 0.1
  • Sprint set to 2011-02-10 (5)
  • Status changed from new to assigned

comment:2 Changed 13 years ago by jmoore

  • Remaining Time changed from 0.1 to 0
  • Resolution set to wontfix
  • Status changed from assigned to closed

This is caused by not configuring with pcre. By using the following:

wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.02.tar.bz2
tar xjf pcre-8.02.tar.bz2
./configure --without-http-cache --with-pcre=`pwd`/pcre-8.02

rather than

./configure --without-http_rewrite_module --without-http-cache

the if clause is recognized.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67816 sec.)

We're Hiring!