Re: [Kepler-Project] Try to make Orbit work on uWSGI

2011-06-30 Thread ykhuang
Thanks for the link, but it is about uWSGI+WSAPI, which I have no problem with. I just can't make the Orbit app work with uWSGI. So I still stick to Orbit/FastCGI. 2011/6/30 Ignacio Burgueño > On Wed, May 25, 2011 at 4:42 AM, ykhuang wrote: > >> Hi, >> >> I ha

[Kepler-Project] Try to make Orbit work on uWSGI

2011-05-25 Thread ykhuang
Hi, I had an old application based on Orbit/WSAPI/Nginx and I tried to use uWSGI to replace existing fastCGI. According to uWSGI document (http://projects.unbit.it/uwsgi/wiki/Lua) , WSAPI is usable with uWSGI and I also did it. I tried to move Orbit application to uWSGI but without any luck. Star

[Kepler-Project] Try to make Orbit work on uWSGI

2011-05-25 Thread ykhuang
Hi, I had an old application based on Orbit/WSAPI/Nginx and I tried to use uWSGI to replace existing fastCGI. According to uWSGI document (http://projects.unbit.it/uwsgi/wiki/Lua) , WSAPI is usable with uWSGI and I also did it. I tried to move Orbit application to uWSGI but without any luck. Star

Re: [Kepler-Project] CGILUa WSAPI non LuaRocks installation

2011-02-21 Thread ykhuang
Hi Craig, Installation by LuaRocks is a combination of wget+tar+gzip(+compilation)+copy. You can play it on a x86 environment and watch where the source is from. Get the source and read embedded rockspec file. Most of the rocks are pure lua script, copy them to correct module path. Some of them re

Re: [Kepler-Project] CGILUA Deployment on ARM Processor WSAPI error

2011-01-04 Thread ykhuang
Hi Tim, Check your lua compilation. There's a conf file specifying run time directory. Since you cross-compiled your Lua, the directory might not match your target file system. YK On Tue, Jan 4, 2011 at 9:13 PM, McClure, Timothy J UTCFS < tim.mccl...@fs.utc.com> wrote: > We did the following

Re: [Kepler-Project] [ANN] WSAPI 1.4

2010-11-20 Thread ykhuang
Will WSAPI provide a better way for cross platform installation? On Sat, Nov 20, 2010 at 8:23 PM, Andre Carregal wrote: > On Fri, Nov 19, 2010 at 4:00 PM, Fabio Mascarenhas > wrote: > > Version 1.4 of WSAPI has just been released. Get it at the github > download page, > > https://github.com/k

Re: [Kepler-Project] How to handle large upload in WSAPI?

2010-09-06 Thread ykhuang
I have successfully integrated Ignacio's code to my web application. Thanks to Ignacio's good work. 2010/9/4 Ignacio Burgueño > On Fri, Sep 3, 2010 at 11:46 AM, Fabio Mascarenhas wrote: > >> More than a starting point, I think. The parse_message_body function >> in this can be reused in an WSA

[Kepler-Project] How to handle large upload in WSAPI?

2010-09-03 Thread ykhuang
Hi, I wrote a WSAPI script to handle POST upload and it works fine with files under size of 4M. When I increase the upload size to 8M, the WSAPI ran out of memory when executing * * *local request = wsapi.request.new(wsapi_env)* I thought it exited when executing parse_post_data(), is it a limita

Re: [Kepler-Project] Re: Need help on WSAPI: file upload via POST

2010-08-31 Thread ykhuang
27;m using ToyCMS example code. > > Some one has experience or know what should I do? > > Thanks. > > Em 8/6/2010 22:06, ykhuang escreveu: > > Hi, > > I found the answer by using other's code snippet when digg

[Kepler-Project] Re: Need help on WSAPI: file upload via POST

2010-06-08 Thread ykhuang
Hi, I found the answer by using other's code snippet when digging in archive. The post data will be stored in table with 'name', 'content-type', and 'contents'. Thanks to the archive. ___ Kepler-Project mailing list Kepler-Project@lists.luaforge.net ht

[Kepler-Project] Need help on WSAPI: file upload via POST

2010-06-08 Thread ykhuang
Hi, I sent this question hours ago to lua-users but found it might be more appropriate to send to kepler-project. I'm writing a file uploading Lua script but can't find the uploaded data when POSTing in multipart/form-data. If I post the data with content type 'application/x-www-form-urlencoded'