Date: Fri, 3 Aug 2012 17:29:27 +0700 From: Roby Sadeli <liweitian@gmail.com> To: freebsd-questions@freebsd.org Subject: installing rt40 from ports Message-ID: <CAHNgfndArCetkByOcBgXUHog1u_HnQpaXKNgzg=DfsiJc=Dx9Q@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi. I am planning to deploy rt40 (sqlite backend) with nginx (fastcgi). (nginx-devel and rt40 from /usr/ports) After installing rt40, I setup the initial database by executing /usr/local/sbin/rt-setup-database --action init I have no problem using the standalone server: /usr/local/bin/standalone_httpd and rt40 works as expected. I have tried setting up rt40 using nginx with no success. I try running fcgi from command line: /usr/local/bin/spawn-fcgi -n -u www -g rt -p 9000 -- /usr/local/sbin/rt-server.fcgi but always starts for a moment, then crashes. My nginx.conf is as follows: location /rt/ { root /usr/local/share/rt40/html; fastcgi_pass 127.0.0.1:9000; fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; fastcgi_param PATH_INFO $fastcgi_script_name; } # location /rt/ location /rt/NoAuth/ { alias /usr/local/share/rt40/html/NoAuth/; } # location /rt/NoAuth/ Please help me. Thanks. Fyi, my system is: FreeBSD 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHNgfndArCetkByOcBgXUHog1u_HnQpaXKNgzg=DfsiJc=Dx9Q>