maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   LigHTTPd web server (https://talk.maemo.org/showthread.php?t=47502)

leke 2010-03-16 10:48

LigHTTPd web server
 
Quote:

LigHTTPd is a compact lightweight web server. It comes preconfigured with PHP-CGI support, but to make PHP work you must also install the PHP-CGI package. The webserver is a background daemon set to start on bootup and serve pages out of the /wwwPHP folder. You can change the configuration by looking at /etc/lighttpd.conf. For more information on LigHTTPD, checkout the homepage: http://www.lighttpd.net
I have the web server installed and working. How do I install the PHP-CGI package for LigHTTPd?

Thanks.

hordeman 2010-03-22 03:47

Re: LigHTTPd web server
 
Check out this thread: we are patiently waiting for it. :) http://talk.maemo.org/showthread.php?t=46305

leke 2010-03-22 12:19

Re: LigHTTPd web server
 
thanks, and just today, I realised we can probably add python to lighttpd.conf and develop with that for now :)

Just getting got my hello_world.py to work.

soeiro 2010-03-22 12:40

Re: LigHTTPd web server
 
That is interesting. I always wind up installing some http server on my Linux desktop at work so that I can easily make files available to others, without the hassle of Windows domain restrictions.

It would be great to have the same ability in the N900. But there is one thing that bugs me, though. What is the memory and performance impact of having lightHttpd running all the time (even when idle)?

hordeman 2010-03-22 19:53

Re: LigHTTPd web server
 
Quote:

Originally Posted by soeiro (Post 577007)
What is the memory and performance impact of having lightHttpd running all the time (even when idle)?

Well, on the N810, I haven't seen any performance impact. So, on the much more powerful N900, I can't imagine there would any impact. Of course, you could always such off the web server via command line.

fpp 2010-03-22 21:59

Re: LigHTTPd web server
 
Quote:

Originally Posted by leke (Post 576993)
thanks, and just today, I realised we can probably add python to lighttpd.conf and develop with that for now :)

Just getting got my hello_world.py to work.

Of course, if you're going to code some web app in Python, you might as well run a python web framework in the first place, with its own (python) http server. I use web2py which works very well on the tablets and N900. See my blog (in the .sig) for details.

tekplay 2010-03-24 00:28

Re: LigHTTPd web server
 
1 Attachment(s)
Quote:

Originally Posted by soeiro (Post 577007)
That is interesting. I always wind up installing some http server on my Linux desktop at work so that I can easily make files available to others, without the hassle of Windows domain restrictions.

It would be great to have the same ability in the N900. But there is one thing that bugs me, though. What is the memory and performance impact of having lightHttpd running all the time (even when idle)?


You could also try Monkey webserver.
http://www.monkey-project.com/

I compiled it and can run it on my n800 for fast light web access.

tar -xzvf monkeywebserver.tar.gz
cp -pR monkey /usr/local/

## to start
/usr/local/monkey/bin/monkey -D (to put in background)
## there is no start up script so kill the pid to stop the service.

## Go through the conf file.The default port is set to 2001. Change that to your convenience

to check with defaults , start the server and then go to
http://127.0.0.1:2001 from your device.

Metalov 2010-04-26 18:49

Re: LigHTTPd web server
 
Is there a way to get it working using my operator's internet access point? (Works very well through WiFi)

michael196 2010-04-26 19:26

Re: LigHTTPd web server
 
Quote:

Originally Posted by Metalov (Post 628740)
Is there a way to get it working using my operator's internet access point? (Works very well through WiFi)

If your operator has open ports (or will set up forwarding), and if it doesnt block such communication, then its possible.

andyfrommk 2010-04-26 19:40

Re: LigHTTPd web server
 
I've installed HTTPi.
The executable is only 10kb and works great, real easy to install


All times are GMT. The time now is 20:56.

vBulletin® Version 3.8.8