Logo

Charles Steinkuehler's LEAF/LRP Website

Home ] Up ] Contents ] Links ] Search ] Contribute ] Mirrors ] c0wz mirrror ] Support ]

thttpd
bind-8 ] dhclient ] dhcpd ] dnscache ] Extended Scripts ] Hard Disk Addon ] ifconfig ] IPSec 1.91 ] LaBrea ] LCDProc ] LRP-CD ] mawk ] nmap ] RAID ] ramdisk ] sniffit ] [ thttpd ] Utilities ] webalizer ] weblet/sh-httpd ]

 

DOWNLOAD CONFIG MAN PAGES NOTES FILES SOURCE

thttpd is a simple, small, portable, fast, and secure HTTP server.  For more information, see http://www.acme.com/software/thttpd/


DOWNLOAD

thttpd 2.19
File Protocol Speed Site
thttpd.lrp http Fast

LEAF Sourceforge site

thttpd.lrp http Slow Local download

cgi-bin programs & sample web pages

File Protocol Speed Site
www-data.lrp http Fast

LEAF Sourceforge site

www-data.lrp http Slow Local download

Previous Versions

(see NOTES below)

thttpd 2.16
thttpd-2.16.lrp http Slow Local download

thttpd 2.16

mime-type dat=application/x-ns-proxy-autoconfig

thttpd.dat http Slow Local download

CONFIG

  1. Install the thttpd package
  2. Install the www-data package
  3. Edit network.conf to open port 80 for http requests
  4. Reboot to load your new network settings & start thttpd
  5. thttpd should be running with a small sample web page
  6. If necessary, you can edit the configuration file for thttpd to change how it operates, or edit the throttling configuration file to prevent thttpd from hogging all your network bandwidth.  See the thttpd man page for details on these config files
  7. Copy your Web data to the LRP box.  Make sure you correctly set the file permissions
  8. thttpd is VERY picky about file permissions.  IF YOU HAVE THE WRONG FILE PERMISSIONS, YOUR WEB PAGES WILL NOT BE ACCESSABLE!
  9. If you do not plan on using the sample cgi-bin files, you should probably delete them.  Since they are statically linked, they are pretty big.

MAN PAGES


NOTES

  1. thttpd is VERY picky about file permissions.  Data files should be mode 644 (rw-r--r--), directories should be 755 (rwxr-xr-x) if you want to allow indexing and 711 (rwx--x--x) to disallow it, and CGI programs should be mode 755 (rwxr-xr-x) or 711 (rwx--x--x).  See the man page above for more details.  IF YOU HAVE THE WRONG FILE PERMISSIONS, YOUR WEB PAGES WILL NOT BE ACCESSABLE!
  2. The program files and web files are packaged seperately, to make backup easier if you are running a small web server out of your ram disk, and to make migration of the data files to a hard disk or other non-volitile storage media easier.
  3. This version of thttpd was compiled without the new explicit errors flag (see man pages above), the .lrp extension was added to the list of known mime-types as application/octet-stream, and the default mime-type was set to application/octet-stream (to avoid the all too common netscape download problems).  Other mime-types thttpd knows about are listed in the mime_types.txt file in the source code.  Mime-types can only be defined at compile time, they cannot be set at run-time.
  4. The previous version, 2.16, is also provided.  This version has a default mime-type of text/plain, so may be more appropriate for some sites.  An additional binary, thttpd.dat, is also provided.  The only difference between this binary and the one included in the version 2.16 LRP file is the definition of the mime-type for .dat files, which is application/x-ns-proxy-autoconfig in thttpd.dat, and text/plain in the 'regular' thttpd.  Most folks can safely ignore all of the version 2.16 version files.

FILES

 9/11/00  10:22          31,090  thttpd.lrp

-rwxr-xr-x root/root       740 Jul 01 13:49 1999 etc/init.d/thttpd
drwxr-xr-x root/root         0 Sep 11 05:52 2000 etc/thttpd/
-rw-r--r-- root/root       899 Mar 03 08:38 2000 etc/thttpd/thttpd.conf
-rw-r--r-- root/root      1100 May 10 04:53 1999 etc/thttpd/thttpd.throttles
-rwxr-x--- root/root     58580 Sep 11 05:53 2000 usr/sbin/thttpd
-rw-r--r-- root/root       113 Mar 03 08:39 2000 var/lib/lrpkg/thttpd.conf
-rw-r--r-- root/root       435 Jul 01 14:14 1999 var/lib/lrpkg/thttpd.help
-rw-r--r-- root/root        68 Jul 01 14:11 1999 var/lib/lrpkg/thttpd.list
-rw-r--r-- root/root         5 Jul 01 14:13 1999 var/lib/lrpkg/thttpd.version

 9/11/00  10:18         149,873  www-data.lrp

drwxr-xr-x root/root         0 Sep 11 05:49 2000 var/www/
drwxr-xr-x root/root         0 Sep 11 05:49 2000 var/www/cgi-bin/
-rwxr-xr-x root/root    150268 Sep 11 05:50 2000 var/www/cgi-bin/redirect
-rwxr-xr-x root/root    184484 Sep 11 05:50 2000 var/www/cgi-bin/ssi
-rw-r--r-- root/root      5212 Mar 03 05:38 2000 var/www/index.htm
-rw-r--r-- root/root      1366 Mar 03 05:38 2000 var/www/ssi_exam.htm
-rw-r--r-- root/root       194 Mar 03 05:52 2000 var/lib/lrpkg/www-data.conf
-rw-r--r-- root/root       985 Mar 03 05:50 2000 var/lib/lrpkg/www-data.help
-rw-r--r-- root/root        34 Mar 03 05:52 2000 var/lib/lrpkg/www-data.list
-rw-r--r-- root/root         5 Mar 03 05:44 2000 var/lib/lrpkg/www-data.version

SOURCE

 

Local Web Statistics
Send feedback about this web site.
Last modified: December 04, 2001