5 .\" The contents of this file are subject to the terms of the
6 .\" Common Development and Distribution License (the "License").
7 .\" You may not use this file except in compliance with the License.
9 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 .\" or http://www.opensolaris.org/os/licensing.
11 .\" See the License for the specific language governing permissions
12 .\" and limitations under the License.
14 .\" When distributing Covered Code, include this CDDL HEADER in each
15 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 .\" If applicable, add the following below this CDDL HEADER, with the
17 .\" fields enclosed by brackets "[]" replaced with your own identifying
18 .\" information: Portions Copyright [yyyy] [name of copyright owner]
22 .\" Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
24 .TH lighttpd 1M "October 2009" "SunOS 5.11" "System Administration Commands"
26 lighttpd \- a fast, secure and flexible webserver
36 The Lighttpd Web Server consists of a server daemon, a watchdog process, loadable server modules, configuration files and documentation.
42 The following paths specify the installation locations for Lighttpd:
49 The string \fB[version]\fR should be expanded
50 to \fB"MAJOR.MINOR"\fR. For example, \fB/usr/lighttpd/1.4/*\fR.
57 \fB\fB/etc/lighttpd/[version]\fR\fR
61 Contains lighttpd configuration files. A new install contains a single, default configuration file \fBlighttpd.conf\fR.
68 \fB\fB/etc/lighttpd/[version]/conf.d\fR\fR
72 Contains additional server configuration files. These files generally require some customisation and are therefore not automatically loaded by the main configuration file.
80 \fB\fB/usr/lighttpd/[version]/sbin\fR\fR
84 Contains the lighttpd executable and the lighttpd-angel watchdog process.
91 \fB\fB/usr/lighttpd/[version]/man\fR\fR
95 Contains man pages for the server and utility programs.
97 Add this directory to your MANPATH to read the Lighttpd man pages. See
105 \fB\fB/usr/lighttpd/[version]/lib\fR\fR
109 Contains the Lighttpd loadable modules. These can be loaded by using directives in the configuration file.
116 \fB\fB/var/lighttpd/[version]/docroot\fR\fR
120 The default location for content as specified by the server.document-root directive in the Lightpd configuration file.
127 \fB\fB/var/lighttpd/[version]/logs\fR\fR
131 This is the default location for the Lighttpd log files.
133 The formats, names, and locations of the files in this directory can
134 be altered by various configuration directives in the \fBlighttpd.conf\fR file.
137 .SH SERVICE MANAGEMENT FACILITY
140 The \fBlighttpd14\fR package for Solaris (\fBweb/server/lighttpd-14\fR) includes all of the files necessary to register Lighttpd with the Service Management Facility described in \fISMF(5)\fR. The following procedure describes the steps to automate service management for lighttpd.
147 The the full name of the lighttpd service is svc:/network/http:lighttpd14
148 This can be abbreviated to lighttpd14 which is the \fBinstance name\fR of the service.
154 To enable the lighttpd14 service.
158 example% svcadm enable lighttpd14
162 The state of the service instance changes to \fBonline\fR,
163 and the lighttpd14 service instance is now available:
167 example% svcs lighttpd14
169 online 11:22:17 svc:/network/http:lighttpd14
178 To disable the lighttpd14 service instance,
182 example% svcadm disable lighttpd14
186 The state of the service instance changes to \fBdisabled\fR,
187 and the lighttpd service instance is no longer available:
191 example% svcs lighttpd14
193 disabled 11:35:15 svc:/network/http:lighttpd14
199 .SH USER AUTHORIZATIONS
202 You can use \fBRBAC(5)\fR to authorize otherwise non-privileged users to manage
203 the \fBlighttpd14\fR service.
204 To allow a user to manage the \fBlighttpd14\fR service states, add a line to
205 \fB/etc/user_attr\fR of the form:
209 <username>::::type=role;profiles=Lighttpd 14 Administration,All
214 Where <username> is the name of the user being granted the authorisation. If the user already has an entry in \fB/etc/user_attr\fR, add the "Lighttpd 14 Administration" profile to his or her entry.
218 .SH SPAWN-FCGI CHANGES
220 Version 1.4.23 of the Lighttpd web server sees the refactoring of the spawn-fcgi utility into a separate source distribution and as a result, spawn-fcgi has been spun out into a separate package named web/fastcgi/spawn-fcgi. The Lighttpd packages install web/fastcgi/spawn-fcgi as a dependency and provide symbolic links from the original locations of the spawn-fcgi executable and manpage to the locations delivered by the spawn-fcgi package, i.e.:
224 /usr/lighttpd/1.4/bin/spawn-fcgi -> /usr/bin/spawn-fcgi
226 /usr/lighttpd/1.4/share/man/man1/spawn-fcgi.1
227 -> /usr/share/man/man1/spawn-fcgi.1
232 These symbolic links may be removed in a future update of the Lighttpd packages
236 .SH CONFIGURATION OPTIONS
239 At this time, use of multiple Lighttpd worker processes is discouraged and is not supported by the Lighttpd community. From version 1.4.23 the supplied configuration file has the following line removed:
243 server.max-worker = 4
248 The result of this change is that by default, Lighttpd will be run with a single worker process
255 \fBattributes(5)\fR, \fBlighttpd(8)\fR, \fBspawn-fcgi(8)\fR, \fBlighttpd-angel(8)\fR
258 http://www.lighttpd.net
262 In addition to the documentation and man pages included with Solaris,
263 more information is available at http://www.lighttpd.net\&.
266 The Lighttpd man pages are provided with the programming modules. To
267 view the manual pages for the Lighttpd modules with the man command, add \fB/usr/lighttpd/[version]/man\fR to the MANPATH environment variable.
268 See \fBman(1)\fR for more information. Running \fBcatman(1M)\fR on
269 the Lighttpd manual pages is not supported.