Results 1 to 10 of 10
  1. Clayman's Avatar
    Posts
    8 Posts
    Global Posts
    21 Global Posts
       #1  
    Just getting into webOS and running into problem with setting up a web server.

    I am running 3.0.2 webOS and I am trying to install Lighttpd 1.4.25-7 from Preware. When doing so it indicates Optware Bootstrap 1.6.1 and pcre 8.0.0-2 need to be installed, so I indicated to just install these dependents.

    When finished, it indicates installed, but when I try to use it by going to localhost, it indicates that "Unable to Load Page".

    When I go back into Preware and check these three applications (noted above) they are not installed and the configuration file can not be found in /opt/etc... really there is nothing in /opt. I did load the data files for the web page as indicated in /media/internal/www.

    Is the TouchPad capable of running a web server with these packages?
  2. PreRunr's Avatar
    Posts
    344 Posts
    Global Posts
    345 Global Posts
    #2  
    Yes I am running a LLMP (Linux, Lighttpd, MySQL, PHP), its like XAMP, on Pre2, Pre3 and TP (installed same day I got it ie yesterday).
    Attached Images Attached Images
  3. Clayman's Avatar
    Posts
    8 Posts
    Global Posts
    21 Global Posts
       #3  
    Thanks, I reviewed the Preware installation a number of times and got the same result. Then I installed Optware Bootstrap manually first, then manually installed pcre and then lastly installed Lighttpd. This all worked fine and I now see the installed packages and the files in right locations.

    Not sure why the auto dependancy install did not install properly, but manual is fine too.
  4. Clayman's Avatar
    Posts
    8 Posts
    Global Posts
    21 Global Posts
       #4  
    On the TouchPad, what path do you install the web server data in?

    When I load it in /media/internal or /media/internal/www (as recommended) all the images and some of the trash of the web server html will load in the Photos & Video application... resulting in a really messy Photo & Video list.

    I assume that I could load the server into any path and edit the lighttpd.conf file, but I would like to be sure that I make a good choice.
  5. #5  
    Is there a guide anywhere on getting lighty up and running? I've installed it using the step by step method and rebooted but it doesn't seem to do anything. /media/internal/www exists and I added a test.html file in there but it doesn't seem to do anything. Do I have to install php / mysql through other methods and this is just a web server? Unfamiliar with lighty and wondering if I need to install Ubuntu on my partition and get XAMPP or if this is a simpler way to go.
  6. Clayman's Avatar
    Posts
    8 Posts
    Global Posts
    21 Global Posts
       #6  
    Check and see if /opt/etc/lighttpd exists. That was my problem because lighttpd didn't really install even though it said it did. I manually installed Optware Bootstrap first, then manually installed pcre and lastly manually installed lighttpd. Once installed just enter localhost in your browser and it should go right to your test.html file... You might have to specify test.html in the URL... Index.html will auto load.

    You can get info on lighttpd at lighttpd.net.
  7. #7  
    Use nginx
  8. #8  
    I'm getting an error at the end of installing lighttpd through Preware, missing init.d in mobi.optware.lighttpd. Is it just me, or is the current iteration broken? For now, it installs just fine via ipkg-opt, but I can't get the firewall rules configured correctly.
  9. veerar's Avatar
    Posts
    180 Posts
    Global Posts
    192 Global Posts
    #9  
    any updates on this? any way i can load local http files on the touchpad?

    thanks.
  10. #10  
    Commander can open local html files.

    And if anyone is interested - Hiawatha is working on webOS nicely too

Posting Permissions