NSLU2-Linux
view · edit · print · history

Optware.AppWeb History

Hide minor edits - Show changes to markup

October 07, 2008, at 05:56 PM by mafo --
Changed lines 21-24 from:
 ->ErrorDocument 404 /default.html 
 \\ in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url).
to:

ErrorDocument 404 /default.html in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url).

October 07, 2008, at 05:55 PM by mafo --
Changed lines 21-24 from:
ErrorDocument 404 /default.html

\\ in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url).

to:
 ->ErrorDocument 404 /default.html 
 \\ in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url).
October 07, 2008, at 05:55 PM by mafo --
Changed lines 21-23 from:

ErrorDocument 404 /default.html \\ in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url).

to:
ErrorDocument 404 /default.html

\\ in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url).

October 07, 2008, at 05:54 PM by mafo --
Changed lines 21-24 from:

ErrorDocument 404 /default.html in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url).

to:

ErrorDocument 404 /default.html \\ in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url).

October 07, 2008, at 05:54 PM by mafo --
Changed lines 21-23 from:

ErrorDocument 404 /default.html\\in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url).

to:

ErrorDocument 404 /default.html in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url).

October 07, 2008, at 05:53 PM by mafo --
Changed lines 21-24 from:

ErrorDocument 404 /default.html\\ in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url).

to:

ErrorDocument 404 /default.html\\in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url).

October 07, 2008, at 05:53 PM by mafo --
Changed line 21 from:

ErrorDocument 404 /default.html

to:

ErrorDocument 404 /default.html\\

October 07, 2008, at 05:52 PM by mafo --
Deleted line 21:
October 07, 2008, at 05:52 PM by mafo --
Changed lines 23-25 from:

in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url.

to:

in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url).

October 07, 2008, at 05:52 PM by mafo --
Changed line 20 from:

A workaround is to set the 404 to the default (index) page ! Put the line

to:

A workaround is to set the 404 to the default (index) page ! Put the line\\

Added line 22:
October 07, 2008, at 05:51 PM by mafo --
Changed lines 20-21 from:

A workaround is to set the 404 to the default (index) page ! Put the line

 ErrorDocument 404 /default.html 
to:

A workaround is to set the 404 to the default (index) page ! Put the line ErrorDocument 404 /default.html

October 07, 2008, at 05:46 PM by mafo --
Changed lines 21-23 from:

ErrorDocument 404 /default.html in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url.

to:
 ErrorDocument 404 /default.html 

in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url.

October 07, 2008, at 05:44 PM by mafo --
Changed lines 20-25 from:

A workaround is to set the 404 to the default (index) page ! Put the line:

ErrorDocument 404 /default.html

in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url.

to:

A workaround is to set the 404 to the default (index) page ! Put the line ErrorDocument 404 /default.html in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url.

October 07, 2008, at 05:42 PM by mafo --
Changed line 21 from:
ErrorDocument 404 /default.html
to:
ErrorDocument 404 /default.html
October 07, 2008, at 05:42 PM by mafo --
Changed line 21 from:
ErrorDocument 404 /default.html
to:
ErrorDocument 404 /default.html
October 07, 2008, at 05:41 PM by mafo --
Changed lines 20-21 from:

A workaround is to set the 404 to the default (index) page ! Put the line: ->ErrorDocument 404 /default.html

to:

A workaround is to set the 404 to the default (index) page ! Put the line:

ErrorDocument 404 /default.html
October 07, 2008, at 05:41 PM by mafo --
Changed line 21 from:

Put the line: ErrorDocument 404 /default.html

to:

Put the line: ->ErrorDocument 404 /default.html

October 07, 2008, at 05:40 PM by mafo --
Changed lines 20-21 from:

A workaround is to set the 404 to the default (index) page ! Put the line: ErrorDocument 404 /default.html

to:

A workaround is to set the 404 to the default (index) page ! Put the line: ErrorDocument 404 /default.html

October 07, 2008, at 05:39 PM by mafo -- workaround 2.1.0.1 not found bug
Changed lines 20-25 from:
to:

A workaround is to set the 404 to the default (index) page ! Put the line: ErrorDocument 404 /default.html in the appWeb.conf and this page is shown if no page is found (and when someone does not add a page in the url.

February 09, 2008, at 06:32 PM by Tobias Lochner --
Changed lines 4-5 from:
to:

Looking for up-to-date ipkg package of AppWeb!

February 07, 2008, at 04:21 PM by Tobias Lochner --
Changed lines 5-7 from:

The newest stable version of AppWeb is 2.4. Could someone please upadate the install-package to this version. Thanks in advance.

to:

The newest stable version of AppWeb is 2.4. Could someone please upadate the install-package to this version? Thanks in advance.

February 07, 2008, at 04:21 PM by Tobias Lochner --
Changed lines 5-7 from:

The newest stable version of AppWeb is 2.4. Could someone please upadate the install-package to this version. Thanks ind advance.

to:

The newest stable version of AppWeb is 2.4. Could someone please upadate the install-package to this version. Thanks in advance.

February 07, 2008, at 04:20 PM by Tobias Lochner -- Asking for new version of install-package
Added lines 5-9:

The newest stable version of AppWeb is 2.4. Could someone please upadate the install-package to this version. Thanks ind advance.


September 03, 2007, at 11:44 PM by Harald Biehl -- Please help: How to install a working appweb
Added lines 4-9:

I don't like the bug of 2.1.0-1: Please could anybody can explain how to install an older working version of AppWeb. I tried everything with ipkg (-force-downgrade etc.) but nothing worked.


August 24, 2007, at 01:23 PM by Jens Prager --
Changed lines 185-186 from:

In certin contexts functions contained in the PHP-Expansions can not be located (e.g. sem_get() results in 'Fatal: Call to undefined function...')

to:

In certin contexts functions contained in the PHP-Expansions can not be found (e.g. sem_get() results in 'Fatal: Call to undefined function...')

Changed line 190 from:

appWeb can not locate the php.ini. Therewith the setting in the php.ini have no effect.

to:

appWeb can not find the php.ini file. Therewith the setting in the php.ini have no effect.

Changed line 195 from:

Restart appWeb

to:

Restart appWeb.

August 24, 2007, at 01:21 PM by Jens Prager --
Added line 182:
Changed lines 187-190 from:

Workaround: appWeb can not locate the php.ini. Therewith the setting in the php.ini have no effect.

            Create a link in the appWeb working directory to the php.ini
               ->ln -s /opt/etc/php.ini /opt/var/appWeb/php.ini
            Restart appWeb
to:

Workaround:

appWeb can not locate the php.ini. Therewith the setting in the php.ini have no effect. Create a link in the appWeb working directory to the php.ini

ln -s /opt/etc/php.ini /opt/var/appWeb/php.ini

Restart appWeb

August 24, 2007, at 01:20 PM by Jens Prager -- appWeb can not locate php.ini
Added lines 180-189:

Problems integrating PHP into appWeb

In certin contexts functions contained in the PHP-Expansions can not be located (e.g. sem_get() results in 'Fatal: Call to undefined function...')

Workaround: appWeb can not locate the php.ini. Therewith the setting in the php.ini have no effect.

            Create a link in the appWeb working directory to the php.ini
               ->ln -s /opt/etc/php.ini /opt/var/appWeb/php.ini
            Restart appWeb
March 15, 2007, at 06:47 AM by etherkidd -- appweb 2.1.0-1 index
Added lines 4-8:

Bug in 2.1.0-1

I installed this in march so for people who just started the ipkg install, this bug will cause indexes not to work. For example instead of seeing index.html after starting you will get a 404 error. This error is found in this link http://www.appwebserver.org/forum/viewtopic.php?t=597&highlight=index If you want appweb you need to install the previous version.

April 29, 2006, at 11:00 PM by OliverJ -- Workaround for httpPassword
Changed lines 158-174 from:

For more information look at the mailing list archives where I documented the progress in some detail.

to:

For more information look at the mailing list archives where I documented the progress in some detail.


Workaround to create httpPassword files for Windows-users

Download Windows version of AppWeb from http://www.appwebserver.org/downloads/appWeb/index.html

Unzip file

Run setup and install AppWeb within Windows

Look for file httpPassword.exe within program files directory

Create httpPassword-files as needed

Transfer files to AppWeb installation directory (e.g. /opt/var/appWeb)

April 28, 2006, at 03:35 PM by Paul -- New Path of appWeb.conf edited
Changed lines 13-14 from:

It should be at /opt/etc/appWeb.conf

to:

It should be at /opt/etc/appWeb.conf [Edit: it's /opt/var/appWeb/appWeb.conf now]

July 19, 2005, at 10:25 AM by MattMcNeill --
Changed lines 152-154 from:

Any further tips would be greatly appreciated.

to:

This is because before the binary version of bldout is created a symlink is created to the busybox 'cat'. But, in doing so, busybox can't tell what binary is being called and complains. Ignore the messages and let it continue, they will clear up eventually when the binary version of bldout has completed.

I have managed to build appWeb natively and also built it with PHP and run some scripts with a bit of hacking around, although the php libs are not properly located and more complicated scripts fail.

I have not managed to get appweb 2.0.x building and running properly yet.

For more information look at the mailing list archives where I documented the progress in some detail.

April 16, 2005, at 07:57 PM by MattMcNeill -- Experience of trying to natively compile appWeb
Changed lines 122-125 from:

I found that the httpPassword utility doesn't work because some libraries have been missed from the ipkg (namely libmpr.so). I have only got a native build environment working, and appWeb will only build on i386 due to the fact that its build scripts use two binaries (bldout and genDepends - from FSF, stallman) and the sources are not provided (neither could I find them on google) so I hit a dead end there.

I'm now looking at thttpd.

to:

I found that the httpPassword utility doesn't work because some libraries have been missed from the ipkg (namely libmpr.so). I have only got a native build environment working, and I've hit a dead end. I got as far as:

  • followed setting up the native compilation environment for unslung packages
  • did make appweb
  • build failed since downloaded source contains two binary files (bldout and genDepend) which need to be deleted so that the bootstrap configure builds them natively.
  • did make appweb
  • build failed since /dev/null was read only on unslung 3.17. Made it a+rw.
  • did make appweb
  • got a lot further then hit a funny problem with busybox in some make files. I isolated it within an example makefile rules.mk which has a line:
 @echo "    rm -f $(CLEANIT)" | $(BLDOUT)

which is expanding to:

 @echo "rm -f ./bldout.o ./getopt.o *.a *.o *.lo *.tmp *.bak core *.out *.map *.sym" | bldout

which would cause busybox to report as follows:

 BusyBox v0.60.4 (2004.05.28-07:40+0000) multi-call binary

 Usage: busybox [function] [arguments]...
   or: [function] [arguments]...

        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use, and BusyBox
        will act like whatever it was invoked as.

 Currently defined functions:
        [, ash, basename, busybox, cat, chmod, chown, cp, dd, df, dmesg,
        echo, free, halt, hostname, id, ifconfig, insmod, kill, killall,
        klogd, ln, ls, lsmod, mkdir, mknod, mkswap, mount, mv, pidof,
        ping, ps, pwd, reboot, rm, rmmod, route, sh, sleep, swapoff, swapon,
        sync, syslogd, tar, test, touch, umount, vi

Any further tips would be greatly appreciated.

April 16, 2005, at 10:46 AM by MattMcNeill --
Changed lines 119-121 from:
to:

Experience

I found that the httpPassword utility doesn't work because some libraries have been missed from the ipkg (namely libmpr.so). I have only got a native build environment working, and appWeb will only build on i386 due to the fact that its build scripts use two binaries (bldout and genDepends - from FSF, stallman) and the sources are not provided (neither could I find them on google) so I hit a dead end there.

I'm now looking at thttpd.

January 25, 2005, at 02:41 AM by JefferyS --
Changed line 4 from:

How to install AppWeb

to:

How to install AppWeb

Added lines 46-121:

Setting AppWeb to port 80

First you have to change the port of the current web server that does the NSLU2 management pages.

Bring up in a browser the NSLU2 management pages. By default it is 192.168.1.77.
Click on Administration (it may ask you for the username and password)
On the submenu under Administration click on System
Scroll all the way down to the bottom of the page to the Location section.
Under the second check box (Enable UPnP? Support) there is a box with the number 80 in it. Change that number to something like 8080 so the management pages will be on port 8080. So now when you need to pull up the management pages you need to type in something like this: 192.168.1.77:8080
Click on the Save button at the bottom of the page. It will make the change immediately so if you try to click on anything else you will get an error from the browser. Just go to the url that you typed in to get to these pages and put :8080 after the ip address and you should be working again.

Now to change the AppWeb port

Telnet into your box.
Go to the /opt/etc directory(cd /opt/etc)
Edit the appWeb.conf file.
Scroll down a bit till you find a line that says: Listen 7777
Change the 7777 to 80
Save the file and exit.
Now restart appWeb by typing in: /opt/etc/init.d/S81appweb
Now go back to your browser and type in the ip address of your slug without anything after the last number (192.168.1.77)

You should see the same page as you saw above when installing appWeb.

If you get a browser error you may need to make a few more changes.

Try rebooting the NSLU2 first before going through the following.

There seams to be a problem with not having enough entropy. I really don't know what the means but here is a way to get around the problem.

Go to /opt/etc/init.d
Edit a file called S81appweb (this is the file that starts appweb)

This is how it should look now:

#!/bin/sh
if [ -n "`pidof appWeb`" ]; then
    /bin/killall appWeb 2>/dev/null
fi
/opt/sbin/appWeb -f etc/appWeb.conf &

You need to add two lines to this file so it looks like this:

#!/bin/sh
if [ -n "`pidof appWeb`" ]; then
    /bin/killall appWeb 2>/dev/null
fi
rm /dev/random
ln -s /dev/urandom /dev/random
/opt/sbin/appWeb -f etc/appWeb.conf &

Save and Exit the file.

Now type in /opt/etc/init.d/S81appweb to restart appWeb.

Go back to your browser and try to get to the appWeb server again.

If it still doesn't work I would restart the NSLU2 and try again.

It works for me so if you have problems you may want to Ask for help. There could be other issues that may be stopping appWeb from working.

January 24, 2005, at 01:42 AM by JefferyS --
Added lines 3-45:

How to install AppWeb

Install Openssl if not already installed.

Install Openssh if not already installed.

Install AppWeb

After the install you will want to modify the configuration file to your preference. It should be at /opt/etc/appWeb.conf

Some things you will probably want to change is:

  • Server Name.
  • The Port that appWeb listens on, by default it is 7777.

Note: The management pages for the NSLU2 are on a different web server that is set to port 80. That will need to be changed before you set appWeb to port 80.

But I would start the server with the default setting to make sure it works.

Run /opt/etc/init.d/S81appweb to restart AppWeb

You can look in the ./share/hdd/conf/opt/var/appWeb/logs/error.log file to see if there are any errors.

To see if the server started you can do ps to list the processes that are running.

You should see a line like:

900 ttyp0 root 3716 R /opt/sbin/appWeb -f etc/appWeb.conf

If appWeb is not there, then there was an error and you will need to check the error.log file to see what failed.

To see if you can connect to the server you can type in ipaddress_of_nslu2:7777 (for the default port) in a web browser.

For Example: 192.168.1.77:7777

You should get a page that says:

Mbedthis AppWeb Sample Home Page
If you installed the Documentation, click here to view it.

One thing that will stop it from running is not having the Openssl and Openssh packages installed. If you don't want to use these packages you will need to edit the appWeb.conf file and comment out the entries for Openssl and Openssh.

January 05, 2005, at 05:09 PM by bobtm --
Changed line 1 from:

AppWeb is a very fast, small-footprint, standards-based, portable server, specifically developed for use by embedded devices and applications.

to:

AppWeb is a very fast, small-footprint, standards-based, portable server, specifically developed for use by embedded devices and applications. More information can be had on http://www.appwebserver.org/

January 05, 2005, at 09:24 AM by rwhitby --
Changed lines 1-2 from:

Describe AppWeb here.

to:

AppWeb is a very fast, small-footprint, standards-based, portable server, specifically developed for use by embedded devices and applications.

view · edit · print · history · Last edited by mafo.
Based on work by mafo, Tobias Lochner, Harald Biehl, Jens Prager, etherkidd, OliverJ, Paul, MattMcNeill, JefferyS, and bobtm.
Originally by rwhitby.
Page last modified on October 07, 2008, at 05:56 PM