Page 5 of 7 FirstFirst 1234567 LastLast
Results 81 to 100 of 122
  1. #81  
    Anybody have a link to a tutorial/howto/faq for the lightppd.conf file thats in the WebOS version? I wanted to limit Lighty to respond only to 127.0.0.1 (aka localhost) but haven't got that to work yet.

    Yeah, I'm that guy who's possibly overly security conscious. The idea that anyone on a public wifi node can see lightty and possibly use it as a hack intrusion makes me twitchy.

    Any chance of it shipping with 2 conf files in the future, one for the dyndns/web-accessing types and one for us security-conscious users who just want to run tiddlywiki locally without sharing their phone?
  2. #82  
    I hear ya !, I cant believe noone has responded to ya on this. A cell phone with a network hack intrusion can be serious. Not that you have critical secrets to help our economy locked away on one of your pc's at home, and you wanna wait to spring it on all of us when things get a little worse, but the idea that ANYONE, can crash into and ruin all the effort you put into setting up and running said services on your said server(s) is down right frustrating. Not to mention how rude it is for someone to do that for no apparent reason.
    I agree, you'd have to be CRAZY to put your self out there like that for all your friends and the public to see. Besides, the load on your Palm Pre alone being in constant contact with servers like google and bing would surely have the battery down when you needed to make a phone call the most, even if you did make a googlebot instruction page. On the other hand, if you gave one of these to your teenager with google maps html page on it, so you can see where the phone is, then you could justify all the effort. That is, if you thought dooing so would somehow make you a better parent.

    I do hope someone responds to you soon.
  3.    #83  
    Quote Originally Posted by kigmatzomat View Post
    Anybody have a link to a tutorial/howto/faq for the lightppd.conf file thats in the WebOS version? I wanted to limit Lighty to respond only to 127.0.0.1 (aka localhost) but haven't got that to work yet.
    lighttpd fly light

    -- Rod
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
  4. mhous33's Avatar
    Posts
    99 Posts
    Global Posts
    108 Global Posts
    #84  
    I made some icons from the lighttpd .svg for anyone who wants to make a shortcut to "http://localhost/ in the launcher...
    Attached Images Attached Images
  5. #85  
    Installed Lighty, along with the required Optware Bootstrap and pcre... pointed browser to localhost... BAM... Lighty is working! Tested it over my LAN... BAM... and it's working over that.

    Now to get it to work over EVDO and setup the dynamic DNS updater. Also need to sign up for a dynamic DNS service... any recommendations?

    Thank you very much to the WebOS Internals team for making this just silly easy to install... it's almost a crime.
  6. #86  
    I have a question...

    I see a lighttpd.conf file in /opt/etc/lighttpd and also in /var/opt/ect/lighttpd . Both files look identical, though I just scanned through them quickly. Any reason for that?
  7.    #87  
    Quote Originally Posted by DrHeathenScum View Post
    I have a question...

    I see a lighttpd.conf file in /opt/etc/lighttpd and also in /var/opt/ect/lighttpd . Both files look identical, though I just scanned through them quickly. Any reason for that?
    /opt is a bind mount of /var/opt

    -- Rod
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
  8. #88  
    Ahh, I was thinking that may have been the case.

    I got another one...

    if by default, Lighty binds to all interfaces, and I don't see anything in the config file for only binding to wifi and localhost... isn't it setup by default to only work over wifi and localhost?
  9.    #89  
    Quote Originally Posted by DrHeathenScum View Post
    Ahh, I was thinking that may have been the case.

    I got another one...

    if by default, Lighty binds to all interfaces, and I don't see anything in the config file for only binding to wifi and localhost... isn't it setup by default to only work over wifi and localhost?
    Look in /etc/event.d/mobi.optware.lighttpd

    -- Rod
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
  10. #90  
    I'm having problems with this one...
    Installed it, I can see the line with parent directory and nothing else. Why can't I see the files I put in?

    And yes, the files are in the "www" folder. And, I tried the same thing on my friend's pre and it works just fine.

    Help please
  11. #91  
    Quote Originally Posted by rwhitby View Post
    Look in /etc/event.d/mobi.optware.lighttpd

    -- Rod
    Ahh, firewall rules... roger that... was looking for an egg in the horse stable. Thank you for the assistance
  12. #92  
    I've attempted to install lighttpd via preware and by following the guide on webos-internals.org (Lighttpd - WebOS Internals) and everything seems to install properly; however, when I try to browse to any php files, I get nothing but a 403 forbidden error. I tried the gps.php file from the webos-internals article first, and then just a simple <?php echo 'hello world'; ?> when I couldn't get that one to work, both returned the error. Is there anything that I am missing?
  13. nullr's Avatar
    Posts
    136 Posts
    Global Posts
    152 Global Posts
    #93  
    Quote Originally Posted by sunmorgus View Post
    I've attempted to install lighttpd via preware and by following the guide on webos-internals.org (Lighttpd - WebOS Internals) and everything seems to install properly; however, when I try to browse to any php files, I get nothing but a 403 forbidden error. I tried the gps.php file from the webos-internals article first, and then just a simple <?php echo 'hello world'; ?> when I couldn't get that one to work, both returned the error. Is there anything that I am missing?
    Probably something in the config file. I had the same error and googled it. Ended up uncommenting something in the config file and now it works. Ive attached my config file for reference (had to zip for forum to accept it). If you replace yours with my config file the server runs on port 9999 and the root directory is /media/internal/htdocs/ or if you plug your phone in USB mode just make a folder under the root called "htdocs" and put your server files in there much easier to manage than moving around in terminal. The access log is also saved to this folder so you can see who has accessed your server from the web or your PRE's note viewer. I also followed that tutorial for the google thing and had problem with the php file when I pasted the code in the terminal it was getting cut and wrapped around (instead of one line) which broke the code. If you need the track.php file let me know I can upload it too.
    Attached Files Attached Files
  14. nullr's Avatar
    Posts
    136 Posts
    Global Posts
    152 Global Posts
    #94  
    Quote Originally Posted by kigmatzomat View Post
    Anybody have a link to a tutorial/howto/faq for the lightppd.conf file thats in the WebOS version? I wanted to limit Lighty to respond only to 127.0.0.1 (aka localhost) but haven't got that to work yet.

    Yeah, I'm that guy who's possibly overly security conscious. The idea that anyone on a public wifi node can see lightty and possibly use it as a hack intrusion makes me twitchy.

    Any chance of it shipping with 2 conf files in the future, one for the dyndns/web-accessing types and one for us security-conscious users who just want to run tiddlywiki locally without sharing their phone?
    Have you tried scanning ports on a pre? Over EV you are better off pick pocketing the phone, hacking it then replacing it. On wifi slightly better chance but still slow. Just set a high numbered/random port and they will probably wont get to it or not try it as a webpage. You can also set logins and such. The lighttpd.conf is a normal one you can just take and replace with any other lighttpd config its not a Pre special one. Any lighttpd tutorial should work on the Pre just like a normal server. Just google what you want to do for lighttpd any tutorial should work.
  15. #95  
    Quote Originally Posted by nullr View Post
    Probably something in the config file. I had the same error and googled it. Ended up uncommenting something in the config file and now it works. Ive attached my config file for reference (had to zip for forum to accept it). If you replace yours with my config file the server runs on port 9999 and the root directory is /media/internal/htdocs/ or if you plug your phone in USB mode just make a folder under the root called "htdocs" and put your server files in there much easier to manage than moving around in terminal. The access log is also saved to this folder so you can see who has accessed your server from the web or your PRE's note viewer. I also followed that tutorial for the google thing and had problem with the php file when I pasted the code in the terminal it was getting cut and wrapped around (instead of one line) which broke the code. If you need the track.php file let me know I can upload it too.
    Ok, I went over both your's and my conf files, and can't find any differences, but I copied yours over anyways and still get the 403 forbidden error...doing some googling, I haven't really found anything too useful...I noticed in the config file you provided that the "mod_fastcgi" part was commented out, I thought that needed to be uncommented (as was expressed in some of the google results), but no dice. Is it necessary to have a .htaccess file in the htdocs folder? I'm running out of ideas...
  16. nullr's Avatar
    Posts
    136 Posts
    Global Posts
    152 Global Posts
    #96  
    Quote Originally Posted by sunmorgus View Post
    Ok, I went over both your's and my conf files, and can't find any differences, but I copied yours over anyways and still get the 403 forbidden error...doing some googling, I haven't really found anything too useful...I noticed in the config file you provided that the "mod_fastcgi" part was commented out, I thought that needed to be uncommented (as was expressed in some of the google results), but no dice. Is it necessary to have a .htaccess file in the htdocs folder? I'm running out of ideas...
    Are you restarting the lighttpd server after you make changes to the config so that it loads the new config?

    Try

    sudo /opt/etc/init.d/S80lighttpd restart

    Does it give you forbidden for everything? If you put a picture or txt file and put the complete url does it give you the same error?

    If that does not work try reinstalling. If the preware version does not work try the CLI way. I always preffered this tutorial. Just follow steps 1 then 5-8)
  17. #97  
    Quote Originally Posted by nullr View Post
    Are you restarting the lighttpd server after you make changes to the config so that it loads the new config?

    Try

    sudo /opt/etc/init.d/S80lighttpd restart

    Does it give you forbidden for everything? If you put a picture or txt file and put the complete url does it give you the same error?

    If that does not work try reinstalling. If the preware version does not work try the CLI way. I always preffered this tutorial. Just follow steps 1 then 5-8)
    Yes, restarting using the same command (without the sudo, which my phone reports is not found...not sure if that is because of using novaterm, or what). I can view html files just fine, I only get the 403 on php files. I'm going to try removing and then re-installing lighttpd and php-fcgi and see if I get better results (it worked for ez-ipupdate...)
  18. #98  
    Quote Originally Posted by sunmorgus View Post
    Yes, restarting using the same command (without the sudo, which my phone reports is not found...not sure if that is because of using novaterm, or what). I can view html files just fine, I only get the 403 on php files. I'm going to try removing and then re-installing lighttpd and php-fcgi and see if I get better results (it worked for ez-ipupdate...)
    Reinstalling did it!!! I must have messed something up the first time around...
  19. PreRunr's Avatar
    Posts
    344 Posts
    Global Posts
    345 Global Posts
    #99  
    I want to install the XAMPP (or LAMP or LLMP) on the Touchpad. So I followed the optware instructions and have put LLMP on my Pre 2 as a test. I have setup SSH2 access and use WinSCP/ or putty to work on the Pre 2. I then used your Preware to install Lighty which ensures that its available at startup. However MySQL need to be started by hand via shell access. Ideally I would like to stop and start these services just like the XAMPP control panel. So I looked through webosinternals and these forums and found reference to an Upstart Manager and a Gui for it. It appears this is what I want but until I see it I dont actually know for sure. But when I installed the Upstart Manager Gui using Preware and launched it I got a "This.Broke.Horribly" message on the display. Will my approach work?
    Last edited by PreRunr; 06/29/2011 at 06:53 PM.
  20.    #100  
    You can drop an upstart script in /var/palm/event.d/

    -- Rod
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
Page 5 of 7 FirstFirst 1234567 LastLast

Posting Permissions