2010-02-21

Slitaz -- tazpkg-web


root@slitaz:~# tail -5 /var/log/lighttpd/alanyih.org-access.log
10.0.2.15 www.alanyih.org - [21/Feb/2010:22:06:43 +0000] "GET /cooking/development.html HTTP/1.1" 200 429024 "http://www.alanyih.org/cooking/x-window.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3) Gecko/20090926 Firefox/3.5 (SliTaz GNU/Linux)"
10.0.2.15 www.alanyih.org - [21/Feb/2010:22:07:23 +0000] "GET /cooking/misc.html HTTP/1.1" 200 43727 "http://www.alanyih.org/cooking/development.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3) Gecko/20090926 Firefox/3.5 (SliTaz GNU/Linux)"
10.0.2.15 www.alanyih.org - [21/Feb/2010:22:07:28 +0000] "GET /cooking/non-free.html HTTP/1.1" 200 17516 "http://www.alanyih.org/cooking/misc.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3) Gecko/20090926 Firefox/3.5 (SliTaz GNU/Linux)"
10.0.2.15 www.alanyih.org - [21/Feb/2010:22:07:53 +0000] "GET /cooking/multimedia.html HTTP/1.1" 200 85275 "http://www.alanyih.org/cooking/non-free.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3) Gecko/20090926 Firefox/3.5 (SliTaz GNU/Linux)"
10.0.2.15 www.alanyih.org - [21/Feb/2010:22:08:00 +0000] "GET /cooking/office.html HTTP/1.1" 200 32689 "http://www.alanyih.org/cooking/multimedia.html" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3) Gecko/20090926 Firefox/3.5 (SliTaz GNU/Linux)"
root@slitaz:~#

1. COOKING="/home/slitaz/cooking" ===> COOKING="/home/slitaz"
root@slitaz:~# head -13 /etc/slitaz/tazpkg-web.conf
# tazpkg-web.conf: SliTaz packages Web interface configuration file.
#

# Path to the Web interface.
WEB_INTERFACE="/var/www/vhosts/pkgs"

# Path to xHTML and XML templates.
LIB_DIR="/var/lib/tazpkg-web"

# Path to each version.
STABLE="/home/slitaz/stable"
#COOKING="/home/slitaz/cooking"
COOKING="/home/slitaz"

root@slitaz:~# ls -l /home/slitaz
lrwxrwxrwx 1 root root 16 Feb 21 07:56 src -> /media/cdrom/src
lrwxrwxrwx 1 root root 16 Feb 21 07:56 wok -> /media/cdrom/wok
root@slitaz:~#

2. /etc/lighttpd/lighttpd.conf
line 146
server.document-root = "/var/www/vhosts/pkgs" <====
# server.document-root = "/var/www/vhost/example.com/html"
.