maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Lighttpd in Nokia N9! I want to run this application in my phone. (https://talk.maemo.org/showthread.php?t=88015)

guisoliver 2012-11-26 16:06

Lighttpd in Nokia N9! I want to run this application in my phone.
 
I was developing the SmartControl to the Nokia N900 but i saw that the Nokia N9 is so friendly to the common user but i already had some problems with the geek part of Nokia N9.

I already tried to install some console apps from Fremantle, since the Harmattan and Fremantle have some changes related with graphical interface libraries. A Fremantle GUI application to run correctly in Harmattan will require a special kit of packages.

But i think that a Linux console application for Fremantle (Maemo 5), Diablo (Maemo 4) or Harmattan (Meego or Maemo 6?) can do same thing and a console application can be compatible in these three versions of Maemo.

So, i installed the Lighttpd from Maemo 5 repositories and i already installed in Nokia N9 but i think that was not fully compatible. Lighttpd was running but was not possible to access the webpage and the port 80 was not open.

Well, i am continue trying to get a better solution to get a functional CGI HTTP server in Nokia N9 that can be embedded in a specific solution.

ladoga 2012-11-27 07:46

Re: Lighttpd in Nokia N9! I want to run this application in my phone.
 
I've been using python SimpleHTTPServer as it comes with Harmattan (no need to install anything)
Code:

$ develsh
$ python -m SimpleHTTPServer 80

Have you tried running lighthttpd with develsh? It should give you permission to use port 80.

knobtviker 2012-11-27 08:25

Re: Lighttpd in Nokia N9! I want to run this application in my phone.
 
That is nice, I am using it in 1 project but you need to subclass it to get any more details about files.
If you want lighttpd on N9, here you go, I tested this and it works:
http://elblogdelqt.blogspot.com/2011...r-on-n950.html

guisoliver 2012-11-27 19:34

Re: Lighttpd in Nokia N9! I want to run this application in my phone.
 
Quote:

Originally Posted by knobtviker (Post 1298787)
That is nice, I am using it in 1 project but you need to subclass it to get any more details about files.
If you want lighttpd on N9, here you go, I tested this and it works:
http://elblogdelqt.blogspot.com/2011...r-on-n950.html

Your tip was useful to me! Lighttpd now works in my cellphone. If i install the php5-cgi from Maemo 5, it will work too in Harmattan?

eccenux 2012-12-12 17:12

Re: Lighttpd in Nokia N9! I want to run this application in my phone.
 
Quote:

Originally Posted by ladoga (Post 1298780)
I've been using python SimpleHTTPServer as it comes with Harmattan (no need to install anything)
Code:

$ develsh
$ python -m SimpleHTTPServer 80

Have you tried running lighthttpd with develsh? It should give you permission to use port 80.

It doesn't come with Harmattan but you can install it with apt-get.
http://wiki.meego.com/Getting_starte...rmattan_Python


All times are GMT. The time now is 02:33.

vBulletin® Version 3.8.8