Active Topics

 



Notices


Reply
Thread Tools
Posts: 54 | Thanked: 5 times | Joined on May 2008 @ Oulu, Finland
#1
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's Avatar
Posts: 698 | Thanked: 129 times | Joined on Oct 2007 @ CA
#2
Check out this thread: we are patiently waiting for it. http://talk.maemo.org/showthread.php?t=46305
 
Posts: 54 | Thanked: 5 times | Joined on May 2008 @ Oulu, Finland
#3
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.
__________________
Hardware: n810 running the latest supported OS.

Last edited by leke; 2010-03-22 at 13:11.
 
Posts: 292 | Thanked: 131 times | Joined on Dec 2009
#4
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's Avatar
Posts: 698 | Thanked: 129 times | Joined on Oct 2007 @ CA
#5
Originally Posted by soeiro View Post
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's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#6
Originally Posted by leke View Post
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.
__________________
maemo blog
 

The Following User Says Thank You to fpp For This Useful Post:
Posts: 137 | Thanked: 71 times | Joined on Mar 2008
#7
Originally Posted by soeiro View Post
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.
Attached Files
File Type: gz monkeywebserver.tar.gz (117.4 KB, 152 views)
 
Posts: 53 | Thanked: 3 times | Joined on Dec 2009
#8
Is there a way to get it working using my operator's internet access point? (Works very well through WiFi)
 
Posts: 32 | Thanked: 1 time | Joined on Jan 2010
#9
Originally Posted by Metalov View Post
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.
 
Posts: 116 | Thanked: 75 times | Joined on Nov 2009
#10
I've installed HTTPi.
The executable is only 10kb and works great, real easy to install
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:48.