SlackBuilds Repository

12.1 > Network > lighttpd (1.4.20)

lighttpd is a fast, secure, and flexible webserver. It is optimized
for high-performance environments, and provides an extensive feature
set, including FastCGI, CGI, Auth, output compression, and URL
rewriting support.

By default, this package uses the "lighttpd" user and group to run
lighttpd as a unpriviliged process. The script will exit if these
do not exist on this machine. We recommend using the following
UID and GID as they do not conflict with any stock Slackware users
and groups, nor with any added by other slackbuilds.org scripts.

lighttpd
========
User: lighttpd UID: 208 GID: 208
Group: lighttpd GID: 208

After that, lighttpd can be started and stopped through the
initialization script that is provided:

/etc/rc.d/rc.lighttpd start
/etc/rc.d/rc.lighttpd stop

If you would like to start lighttpd automatically when the system
is booted, add the following lines to /etc/rc.d/rc.local:

if [ -x /etc/rc.d/rc.lighttpd ]; then
/etc/rc.d/rc.lighttpd start
fi

Conversely, add the following lines to /etc/rc.d/rc.local_shutdown
to stop lighttpd on system shutdown.

if [ -x /etc/rc.d/rc.lighttpd ]; then
/etc/rc.d/rc.lighttpd stop
fi

* PHP users:
Slackware's default php package is meant to work with
httpd(apache). It works fine with lighttpd with a couple of tweaks.

1) Copy the php.ini from /etc/httpd to /etc/lighttpd

2) Uncomment mod_fastcgi from the modules section of
/etc/lighttpd/lighttpd.conf.

3) Rework the fastcgi section of /etc/lighttpd/lighttpd.conf to the
following: (Or just copy this in below the extisting commented out
fastcgi config.)

fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/bin/php-cgi -c /etc/lighttpd/php.ini"
)
)
)

4) Change the group of /var/lib/php from "apache" to "lighttpd".
Otherwise php won't be able to use $_SESSION.

Approved by: David Somero
Maintained by: paul wisehart

Homepage:
http://www.lighttpd.net/

Download Source:
lighttpd-1.4.20.tar.bz2

Source MD5SUM:
ed6ee0bb714f393219a32768d86984d8

Download SlackBuild:
lighttpd.tar.gz
lighttpd.tar.gz.asc (what is this?)

(the SlackBuild does not include the source)

Validated for Slackware 12.1 (Other releases)

See our HOWTO for instructions on how to use the contents of this repository.

Anonymous FTP Access to Repository: ftp://ftp.slackbuilds.org

Access via rsync is also available.
rsync://rsync.slackbuilds.org/slackbuilds

© 2006-2009 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds
Valid XHTML and CSS by WebSight Designs | Hosting by OnyxLight Communications