Re: [Ledger-smb-devel] LedgerSMB and nginx

2012-04-14 Thread Pongrácz István
Ok, I found Compile module: CGI::Compile via cpan Now the system started, testing will be made later, now I have to leave. Cheers, István eredeti üzenet- Feladó: "Mikkel Høgh" [email protected] Címzett: "Development discussion for LedgerSMB" ledger-smb-devel@l

Re: [Ledger-smb-devel] LedgerSMB and nginx

2012-04-14 Thread Pongrácz István
Hi, Thank you for the hint, I did not know this plack. I installed plack itself and some dependencies, but starting gives me an error: Can't locate CGI/Compile.pm I did not found perl compile module yet. Thank you again. Cheers, István eredeti üzenet- Felad

Re: [Ledger-smb-devel] LedgerSMB and nginx

2012-04-12 Thread Mikkel Høgh
Have you tried using Plack? That seems to work for me: http://mikkel.hoegh.org/blog/2012/04/05/deploying-ledgersmb-with-nginx-and-plack-on-freebsd/ On 10/04/2012, at 16.27, Pongrácz István wrote: > > Ok, > > +1 problem: cannot open uploaded documents, because when I try to download, I > got

Re: [Ledger-smb-devel] LedgerSMB and nginx

2012-04-10 Thread Pongrácz István
Ok, +1 problem: cannot open uploaded documents, because when I try to download, I got only a "string". I guess the raw postgresql data. I got: x23646566696e65204528662920696e7420662829207b72657475726e20303b7d0a instead of: #define E(f) int f() {return 0;} Cheers, István ---

Re: [Ledger-smb-devel] LedgerSMB and nginx

2012-04-10 Thread Pongrácz István
Hi, I have a fresh openvz container with debian squeeze + backports as follows: * nginx 1.1.17 + fcgiwrap via unix socket * postgresql 9.1 * lsmb 1.3.14 Only problem, I got empty PDF/PS files, so, something not ok with the printing system (pdflatex or whatever), anyway, it is working well. Lat

Re: [Ledger-smb-devel] LedgerSMB and nginx

2012-04-03 Thread Jeff Kowalczyk
Robert James Clay writes: > > On Mon, 2012-04-02 at 05:58 -0400, Mikkel Høgh wrote: > > I had a hard time getting LSMB set up, due to its use of old-school CGI, > > which is not supported by our webserver of choice, nginx. > > Have you tried using something like FcgiWrap (fcgiwrap package on

[Ledger-smb-devel] LedgerSMB and nginx

2012-04-02 Thread Robert James Clay
On Mon, 2012-04-02 at 05:58 -0400, Mikkel Høgh wrote: > I had a hard time getting LSMB set up, due to its use of old-school CGI, > which is not supported by our webserver of choice, nginx. Have you tried using something like FcgiWrap (fcgiwrap package on Debian)? That's what I use to take the