diff options
author | Paul Wisehart <wise@lupulin.net> | 2010-05-12 17:43:42 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:43:42 +0200 |
commit | 33600556ed1dca13f60555278b06e6c14d074cea (patch) | |
tree | d23255828a059fbe7a3ac9c0e23e31ed492163f4 /network/lighttpd/README | |
parent | 53979f7b2ebfe5f96ff3f7e9f23dcad7fcd7939a (diff) |
network/lighttpd: Updated for version 1.4.22
Diffstat (limited to 'network/lighttpd/README')
-rw-r--r-- | network/lighttpd/README | 55 |
1 files changed, 5 insertions, 50 deletions
diff --git a/network/lighttpd/README b/network/lighttpd/README index d8623f000f430..62ca3b139d230 100644 --- a/network/lighttpd/README +++ b/network/lighttpd/README @@ -7,54 +7,9 @@ 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. +and groups, nor with any added by other SlackBuilds.org scripts. + User: lighttpd UID: 208 GID: 208 + Group: lighttpd GID: 208 - 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. +Be sure to see README.SLACKWARE (in this directory, and also installed +with the package documentation) for configuration and setup information. |