diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2007-04-01 23:22:00 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2007-04-01 23:22:00 +0000 |
commit | 0eda512062b60e0ed6ff8ab0782a4b21d675a43f (patch) | |
tree | 2b8acfa374f80edb8cae89a2effc5648981a0d05 /www-servers | |
parent | Marked ~hppa (bug #173024). (diff) | |
download | gentoo-2-0eda512062b60e0ed6ff8ab0782a4b21d675a43f.tar.gz gentoo-2-0eda512062b60e0ed6ff8ab0782a4b21d675a43f.tar.bz2 gentoo-2-0eda512062b60e0ed6ff8ab0782a4b21d675a43f.zip |
Bug #170951, use UNIX sockets for fastcgi processes instead of TCP sockets, to fix the cases where the fastcgi processes are not respawned on graceful.
(Portage version: 2.1.2.2)
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/lighttpd/ChangeLog | 7 | ||||
-rw-r--r-- | www-servers/lighttpd/files/conf/mod_fastcgi.conf-1.4.13-r2 | 17 | ||||
-rw-r--r-- | www-servers/lighttpd/lighttpd-1.4.13-r2.ebuild | 11 |
3 files changed, 32 insertions, 3 deletions
diff --git a/www-servers/lighttpd/ChangeLog b/www-servers/lighttpd/ChangeLog index 06ef95137c99..8a78fd0673ee 100644 --- a/www-servers/lighttpd/ChangeLog +++ b/www-servers/lighttpd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-servers/lighttpd # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/ChangeLog,v 1.105 2007/04/01 22:55:08 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/ChangeLog,v 1.106 2007/04/01 23:22:00 robbat2 Exp $ + + 01 Apr 2007; Robin H. Johnson <robbat2@gentoo.org> + +files/conf/mod_fastcgi.conf-1.4.13-r2, lighttpd-1.4.13-r2.ebuild: + Bug #170951, use UNIX sockets for fastcgi processes instead of TCP sockets, + to fix the cases where the fastcgi processes are not respawned on graceful. *lighttpd-1.4.13-r2 (01 Apr 2007) diff --git a/www-servers/lighttpd/files/conf/mod_fastcgi.conf-1.4.13-r2 b/www-servers/lighttpd/files/conf/mod_fastcgi.conf-1.4.13-r2 new file mode 100644 index 000000000000..ca1369af79ec --- /dev/null +++ b/www-servers/lighttpd/files/conf/mod_fastcgi.conf-1.4.13-r2 @@ -0,0 +1,17 @@ +############################################################################### +# mod_fastcgi.conf +# include'd by lighttpd.conf. +# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/conf/mod_fastcgi.conf-1.4.13-r2,v 1.1 2007/04/01 23:22:00 robbat2 Exp $ +############################################################################### + +server.modules += ("mod_fastcgi") +fastcgi.server = ( ".php" => + ( "localhost" => + ( + "socket" => "/var/run/lighttpd/lighttpd-fastcgi-php-" + PID + ".socket", + "bin-path" => "/usr/bin/php-cgi" + ) + ) + ) + +# vim: set ft=conf foldmethod=marker et : diff --git a/www-servers/lighttpd/lighttpd-1.4.13-r2.ebuild b/www-servers/lighttpd/lighttpd-1.4.13-r2.ebuild index 6f3c95c4c6b4..e898ce1f5e65 100644 --- a/www-servers/lighttpd/lighttpd-1.4.13-r2.ebuild +++ b/www-servers/lighttpd/lighttpd-1.4.13-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/lighttpd-1.4.13-r2.ebuild,v 1.1 2007/04/01 22:55:08 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/lighttpd-1.4.13-r2.ebuild,v 1.2 2007/04/01 23:22:00 robbat2 Exp $ WANT_AUTOCONF=latest WANT_AUTOMAKE=latest @@ -157,7 +157,14 @@ src_install() { # configs insinto /etc/lighttpd - doins ${FILESDIR}/conf/*.conf + doins ${FILESDIR}/conf/lighttpd.conf + doins ${FILESDIR}/conf/mime-types.conf + doins ${FILESDIR}/conf/mod_cgi.conf + newins ${FILESDIR}/conf/mod_fastcgi.conf-1.4.13-r2 mod_fastcgi.conf + # Secure directory for fastcgi sockets + keepdir /var/run/lighttpd/ + fperms 0750 /var/run/lighttpd/ + fowners lighttpd:lighttpd /var/run/lighttpd/ # update lighttpd.conf directives based on conditionals update_config |