Hi all,

Apologies for cross-posting this, but the users list hasn't provided
any responses, so I thought I might see if the developers can shed any
light on this for me ?

Cheers
Dave

---

I've configured myself a setup where I have spawn-fcgi starting a
number of fastcgi trac processes (trac.fcgi), which nginx talks to
using a unix socket.  All seems to be working fine, but I'm seeing a
situation where I do things like add a new ticket, but then have to
reload the page in my browser to see the change - if I just click on
"View Tickets" and "Active Tickets" the change isn't there.

Are there any issues with Trac / nginx / FastCGI (using spawn-fcgi)
that I haven't found via Google yet ?

--

for those interested my spawn-fcgi is started as follows:

TRAC_ENV="/home/trac/trac.worker" /usr/local/bin/spawn-fcgi -s /tmp/
trac-fastcgi.sock -n -f /home/trac/trac.worker.deploy/cgi-bin/
trac.fcgi -P /var/run/trac-spawn-fcgi/trac.pid -u trac -g trac

and my nginx conf is:

       location /trac {
           root /home/trac/trac.worker.deploy;

           set             $path_info      "";
           set             $script_name    /trac;

           if ($fastcgi_script_name ~ "^/trac(/.+)$") {
               set     $path_info      $1;
           }

           fastcgi_pass   unix:/tmp/trac-fastcgi.sock;
           fastcgi_index   trac.fcgi;
           include         fastcgi_params;
           fastcgi_param   SCRIPT_FILENAME /home/trac/
trac.worker.deploy/cgi-bin/trac.fcgi;
           fastcgi_param   QUERY_STRING    $query_string;

           fastcgi_param   CONTENT_TYPE    $content_type;
           fastcgi_param   CONTENT_LENGTH  $content_length;

           fastcgi_param   REQUEST_METHOD  $request_method;
           fastcgi_param   REMOTE_ADDR     $remote_addr;
           fastcgi_param   SERVER_NAME     $server_name;
           fastcgi_param   SERVER_PORT     $server_port;
           fastcgi_param   HTTP_COOKIE     $http_cookie;
           fastcgi_param   SCRIPT_NAME     $script_name;
           fastcgi_param   PATH_INFO       $path_info;
           fastcgi_param   REMOTE_USER     $remote_user;
       }

       location /trac/chrome {
           alias /home/trac/trac.worker.deploy/trac/htdocs/;
       }

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to