Go back to fronty page View most popular entries View latest additions Submit tutorials to UnixTutorials.info
UnixTutorials logo

Search results for Lightweight Web Serving with thttpd


Lightweight Web Serving with thttpd

Post date: December 1, 2005, 00:12 Category: Software Views: 7760 Comments
Tutorial quote: The Apache HTTP Server is the most popular web server due to its functionality, stability, and maturity. However, this does not make it suitable for all uses: slow machines and embedded systems may have serious problems running it because of its size. Here is where lightweight HTTP servers come into play, as their low-memory footprints deliver decent results without having to swap data back to disk.

Similarly, these small HTTP servers are suitable to serve static content efficiently so as to allow Apache, mod_perl, mod_python, or even servlet containers to handle dynamic requests without tying up memory-hungry children to serve small images. In other words, these applications can serve as a complement to your existing full-featured web server, not as a replacement.

One of these servers is thttpd, a simple, small, portable, fast, and secure HTTP server. Among its features are support for the HTTP/1.1 standard, CGIs, virtual hosts, and IPv6. This article shows how to install and configure this software under NetBSD. I chose NetBSD not only because it is my preferred OS, but also because it has the ability to run on the most disparate old hardware, where thttpd shows its strengths. I had a Macintosh Performa 630 (a 68LC040 chip at 33MHz) running NetBSD/mac68k 2.0 with thttpd on top of it, serving pages to my home network nicely.

Serving CGI Scripts With Nginx On CentOS 6.0

Post date: October 23, 2011, 09:10 Category: Miscellaneous Views: 19648 Comments
Tutorial quote: This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on CentOS 6.0. While nginx itself does not serve CGI, there are several ways to work around this. I will outline two solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second solution uses a CGI wrapper to serve CGI scripts.

Serving CGI Scripts With Nginx On Debian Squeeze/Ubuntu 11.04

Post date: October 3, 2011, 06:10 Category: Miscellaneous Views: 4319 Comments
Tutorial quote: This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on Debian Squeeze/Ubuntu 11.04. While nginx itself does not serve CGI, there are several ways to work around this. I will outline three solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second and third solution are very similar - both use a CGI wrapper to serve CGI scripts.

LXDE - Lightweight X11 Desktop Environment for Ubuntu

Post date: July 6, 2008, 16:07 Category: Desktop Views: 4678 Comments
Tutorial quote: LXDE is a new project aimed to provide a new desktop environment which is lightweight and fast. It’s not designed to be powerful and bloated, but to be usable and slim enough, and keep the resource usage low. Different from other desktop environments, we don’t tightly integrate every component.

Apache - Serving up the Web

Post date: April 11, 2006, 22:04 Category: Network Views: 7253 Comments
Tutorial quote: The Apache Web Server is installed as part of the OpenBSD base system. This guide will help you configure the web server: (Apache 1.3.12 is released with OpenBSD 2.7 and 1.3.9 with OpenBSD 2.6)

To see how configurable the Apache/OpenBSD combination is we also look at allowing administrators to remotely review the server's status, we setup the system so we allow users on our system to have their own personal web-space. Of course, for the security counscious you probably want to turn some of these things off after you get things up and running.

Measuring the Performance of HTTP Web Servers using ApacheBench (ab)

Post date: January 24, 2010, 06:01 Category: Benchmarks Views: 4662 Comments
Tutorial quote: ApacheBench is a command line utility for measuring the performance of HTTP web servers, in particular the Apache HTTP Server. It was designed to give an idea of the performance that a given Apache installation can provide. In particular, it shows how many requests per second the server is capable of serving.

DNS name serving through NSD

Post date: July 5, 2005, 06:07 Category: Network Views: 3037 Comments
Tutorial quote: Given the sheer importance of name servers in providing Domain Name System (DNS) resolution -- a process used by every Web-facing application to translate domain names into IP addresses and vice versa -- not many people put much thought into the available software alternatives for pulling off this feat. One compelling application is NSD, an alternative to the widely deployed BIND name server.

The Perfect Desktop - gOS 1.0.1

Post date: November 8, 2007, 11:11 Category: Installing Views: 5943 Comments
Tutorial quote: This tutorial shows how you can set up a gOS 1.0.1 desktop that is a full-fledged replacement for a Windows desktop, i.e. that has all the software that people need to do the things they do on their Windows desktops. The advantages are clear: you get a secure system without DRM restrictions that works even on old hardware, and the best thing is: all software comes free of charge. gOS is a lightweight Linux distribution, based on Ubuntu 7.10, that comes with Google Apps and some other Web 2.0 applications; it uses the Enlightenment 17 window manager instead of GNOME or KDE.

Install SquidGuard on Smoothwall

Post date: April 12, 2005, 18:04 Category: Software Views: 10738 Comments
Tutorial quote: squidGuard describes itself as: "An ultrafast and free filter, redirector and access controller for Squid". In my experience, it is the ideal web filter for use with Smoothwall and IpCop since it is lightweight and easy to set up. I use it on an i486, 33Mhz system with 18Mb of Ram and 500Mb of hard drive - and while there is a minor performance hit, the hit is not significant.

This simple how-to describes the steps I took to install squidGuard on my system - it should work for yours too.

Transparent proxying with squid and pf

Post date: May 17, 2005, 08:05 Category: Network Views: 11967 Comments
Tutorial quote: squid is a caching web proxy, it's set up between web browsers and servers, fetching documents from servers on behalf of browsers. It can accelerate web access by caching frequently requested pages and serving them from its cache. It can also be used to filter pop-up ads and malware or to enforce access control (which clients may request what pages based on different authentication methods).

Traditionally, the proxy is an optional component, and browsers are configured to actively use the proxy. Transparent proxying means forcing all web traffic through the proxy without the cooperation (or knowledge) of the clients. Once all browser connections pass through the proxy, outgoing connections to external hosts can be restricted to the proxy, and direct connections from local clients can be blocked.

The OpenBSD packet filter (pf) can be used to redirect connections based on various criteria, including source and destination addresses and ports. For instance, one can redirect all TCP connections with destination port 80 (HTTP) that arrive through an interface connected to local workstations to a squid proxy running on a different address and port.
Web-based applications and online marketing solutions - LumoLink