summaryrefslogtreecommitdiffstats
path: root/network/lighttpd2/README.SLACKWARE
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2012-09-08 11:40:57 +0200
committer Robby Workman <rworkman@slackbuilds.org>2012-09-08 17:28:33 -0500
commit1efbfb7da270de37c67b7bb8a90890cdaf574a71 (patch)
tree24e329b2601bb72b7d0003b27d08274fb5b4b7cd /network/lighttpd2/README.SLACKWARE
parentc5774c9ed118e4a4a506291eea1747faca26f660 (diff)
downloadslackbuilds-1efbfb7da270de37c67b7bb8a90890cdaf574a71.tar.gz
slackbuilds-1efbfb7da270de37c67b7bb8a90890cdaf574a71.tar.xz
network/lighttpd2: Added (light, fast, and secure webserver).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/lighttpd2/README.SLACKWARE')
-rw-r--r--network/lighttpd2/README.SLACKWARE34
1 files changed, 34 insertions, 0 deletions
diff --git a/network/lighttpd2/README.SLACKWARE b/network/lighttpd2/README.SLACKWARE
new file mode 100644
index 0000000000..8caea6bf40
--- /dev/null
+++ b/network/lighttpd2/README.SLACKWARE
@@ -0,0 +1,34 @@
+README.SLACKWARE For lighttpd2
+
+lighttpd2 can be started and stopped through the initialization script that
+is provided:
+ /etc/rc.d/rc.lighttpd2 start
+ /etc/rc.d/rc.lighttpd2 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.lighttpd2 ]; then
+ /etc/rc.d/rc.lighttpd2 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.lighttpd2 ]; then
+ /etc/rc.d/rc.lighttpd2 stop
+ fi
+
+* PHP users:
+Slackware's default php package is meant to work with httpd(apache).
+It works fine with lighttpd assumed the addition of the user lighttpd
+run as to the "apache" group.
+
+gpasswd -a lighttpd apache
+
+Otherwise, php won't be able to use $_SESSION.
+
+This slackbuild already setup php in /etc/lighttpd2/lighttpd.conf
+and build a fastcgi server, spawn-fcgi. This is used as a daemon
+with its own init script, /etc/rc.d/rc.spawn-fcgi (that can be
+started at boot in the same way of rc.lighttpd2).
+
+