File README of Package webif

This is the webif2 from xWRT packaged for SUSE.
It has only seen a few adaptions to support a few config
screens; so expect most things NOT to worka

It's really only there for demo purposes.

What works:
- Switching Colors and Themes
  (the latter needs reloads; there seems to be some caching
   going on)
- Language switching (in firefox ...)
- Package lists
- Graphs might work (but my browser did not get them updated)

To use the web interface, start a web server serving
/usr/share/webif/www, e.g.
thttpd -u root -p 8080 -d / -dd /usr/share/webif/www -c "/cgi-bin/**"
Don't do this if you don't trust everybody that can reach port
8080 of your machine. You can probably screw your settings ...

For thttpd, you can place some .htpasswd files ...
{ echo -n root:; grep root /etc/shadow | sed -e 's/root://' -e 's/:.*//'; } >/usr/share/webif/www/cgi-bin/webif/.htpasswd 
For apache, you need to create .htaccess files in addition.

For the YaST modules to work, you need to set a password in /root/.vnc/passwd
with vncpasswd.
Note that this is not yet secure, as there's no encryption, so authentication
goes over the wire unencrypted. No session management either.

openSUSE Build Service is sponsored by