<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>O0ps &#187; WebServer</title>
	<atom:link href="http://toyholic.com/node/category/webserver/feed" rel="self" type="application/rss+xml" />
	<link>http://toyholic.com</link>
	<description>yui’s PlayGr0und</description>
	<lastBuildDate>Wed, 14 Jul 2010 08:05:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Lighttpd ssl (https) 不完全</title>
		<link>http://toyholic.com/node/1486</link>
		<comments>http://toyholic.com/node/1486#comments</comments>
		<pubDate>Wed, 11 Nov 2009 11:28:20 +0000</pubDate>
		<dc:creator>yui</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://toyholic.com/?p=1486</guid>
		<description><![CDATA[httpsならログインも安全だろうと少し考えるところがあったので、やってみたが&#8230;
#mkdir /etc/lighttpd/ssl
#cd /etc/lighttpd/ssl
#openssl req -ne [...]]]></description>
		<wfw:commentRss>http://toyholic.com/node/1486/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>404 Not-Found</title>
		<link>http://toyholic.com/node/1482</link>
		<comments>http://toyholic.com/node/1482#comments</comments>
		<pubDate>Thu, 24 Sep 2009 20:54:07 +0000</pubDate>
		<dc:creator>yui</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[404 not-found]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://toyholic.com/?p=1482</guid>
		<description><![CDATA[404エラーページを用意していないので例外ディレクトリにアクセスすると
404 not-found
フォントも嫌なものがあったので
# vim /etc/lighttpd/lighttpd.conf
## error-h [...]]]></description>
		<wfw:commentRss>http://toyholic.com/node/1482/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>lighttpd php-fastcgi 独立プロセス</title>
		<link>http://toyholic.com/node/1481</link>
		<comments>http://toyholic.com/node/1481#comments</comments>
		<pubDate>Thu, 24 Sep 2009 20:36:57 +0000</pubDate>
		<dc:creator>yui</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[php-fastcgi]]></category>
		<category><![CDATA[PHP5-CGI]]></category>
		<category><![CDATA[pid]]></category>

		<guid isPermaLink="false">http://toyholic.com/?p=1481</guid>
		<description><![CDATA[lighttpdにeAcceleratorを入れて負荷が減ったしメモリも節約出来ているので、ご機嫌だったが&#8230;lighttpdを再起動した時にfast-cgiがプロセスとして残ってしまう&#8230;lighttpdを再起動しただけではfast-cgiは影響を受けないみたい。php-cgiってpidもないみたいだし。

fast-cgiをデーモンとして登録する。ファイル名にphp-fastcgiとphp-fcgiがあるので注意。
# vim /etc/default/php-fastcgi
START=yes
EXEC_AS_USER=www-data
FCGI_HOST=localhost
FCGI_PORT=9000
PHP_FCGI_CHILDREN=2
PHP_FCGI_MAX_REQUESTS=1000
update-rc.d php-fcgi defaults
サーバー起動時にphp-fastcgiのサービスを開始する。
# vim /etc/lighttpd/lighttpd.conf
fastcgi.server = (
".php" => (
( "host" => "127.0.0.1",
"port" => 9000,
"max-procs" => 1,
"idle-timeout" => 15,
"broken-scriptfilename" => "enable" )))
ポート9000番で待ち受けするようにする。
# vim /etc/init.d/php-fcgi
init.dに起動スクリプトを作成する。
#! /bin/sh
### BEGIN INIT INFO
# Provides:          php-fastcgi
# Required-Start:    $all
# Required-Stop:     $all
# Default-Start:    [...]]]></description>
		<wfw:commentRss>http://toyholic.com/node/1481/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>lighttpd Basic認証</title>
		<link>http://toyholic.com/node/1480</link>
		<comments>http://toyholic.com/node/1480#comments</comments>
		<pubDate>Tue, 22 Sep 2009 09:55:50 +0000</pubDate>
		<dc:creator>yui</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[.htpasswd]]></category>
		<category><![CDATA[Lighttpd]]></category>

		<guid isPermaLink="false">http://toyholic.com/?p=1480</guid>
		<description><![CDATA[Basic認証をかけてみた。
# htpasswd -c /etc/lighttpd/lighttpd.user.htpasswd secret
New password:
Re-type new password:
A [...]]]></description>
		<wfw:commentRss>http://toyholic.com/node/1480/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>lighttpd eaccelerator インストール</title>
		<link>http://toyholic.com/node/1472</link>
		<comments>http://toyholic.com/node/1472#comments</comments>
		<pubDate>Sun, 20 Sep 2009 23:06:39 +0000</pubDate>
		<dc:creator>yui</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[eAccelerator]]></category>

		<guid isPermaLink="false">http://toyholic.com/?p=1472</guid>
		<description><![CDATA[
phpが遅いので入れてみた。適当なディレクトリに移動して&#8230;
# wget http://sourceforge.net/projects/eaccelerator/files/eaccelerator/eAccelerator%200.9.5.2/eaccelerator-0.9.5.2.tar.bz2/download
tar xvf eaccelerator-0.9.5.2.tar.bz2

phpizeを実行出来なかったのでexportする。
# export PHP_PREFIX="/usr"
# $PHP_PREFIX/bin/phpize
# ./configure \--enable-eaccelerator=shared \--with-php-config=$PHP_PREFIX/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... [...]]]></description>
		<wfw:commentRss>http://toyholic.com/node/1472/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monit conf (lighttpd,istat)</title>
		<link>http://toyholic.com/node/1470</link>
		<comments>http://toyholic.com/node/1470#comments</comments>
		<pubDate>Sun, 20 Sep 2009 13:11:40 +0000</pubDate>
		<dc:creator>yui</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[istat]]></category>
		<category><![CDATA[monit]]></category>

		<guid isPermaLink="false">http://toyholic.com/?p=1470</guid>
		<description><![CDATA[
lighttpdとistatをmonitに登録してモニターするようにする。
vim /etc/monit/monitrc

## Lighttpd monitor
check process lighttpd with [...]]]></description>
		<wfw:commentRss>http://toyholic.com/node/1470/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian/GNU Linux lighttpd</title>
		<link>http://toyholic.com/node/1468</link>
		<comments>http://toyholic.com/node/1468#comments</comments>
		<pubDate>Sun, 20 Sep 2009 07:21:57 +0000</pubDate>
		<dc:creator>yui</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Lighttpd]]></category>

		<guid isPermaLink="false">http://toyholic.com/?p=1468</guid>
		<description><![CDATA[ 以前から気にはなっていたんだが、時間が取れないのでなかなか導入出来なかったんだけど、slowlorisでApacheが簡単に落ちてしまうのとApacheがメモリを食うので移行してみた。
いいサーバー機とか使っている人た [...]]]></description>
		<wfw:commentRss>http://toyholic.com/node/1468/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RootKit Hunterインストール</title>
		<link>http://toyholic.com/node/1457</link>
		<comments>http://toyholic.com/node/1457#comments</comments>
		<pubDate>Sun, 13 Sep 2009 10:05:34 +0000</pubDate>
		<dc:creator>yui</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[rootkit]]></category>

		<guid isPermaLink="false">http://toyholic.com/?p=1457</guid>
		<description><![CDATA[Rootkit Hunter
#wget http://sourceforge.net/projects/rkhunter/files/rkhunter/1.3.4/rkhunter-1.3.4.tar.gz/download

#tar xvf rkhunter-1.3.4.tar.gz
rkhunter-1.3.4/
rkhunter-1.3.4/files/
rkhunter-1.3.4/files/WISHLIST
rkhunter-1.3.4/files/programs_bad.dat
rkhunter-1.3.4/files/rkhunter
rkhunter-1.3.4/files/defaulthashes.dat
rkhunter-1.3.4/files/i18n/
rkhunter-1.3.4/files/i18n/cn
rkhunter-1.3.4/files/i18n/zh.utf8
rkhunter-1.3.4/files/i18n/zh
rkhunter-1.3.4/files/i18n/en
rkhunter-1.3.4/files/tools/
rkhunter-1.3.4/files/tools/README
rkhunter-1.3.4/files/tools/update_client.sh
rkhunter-1.3.4/files/tools/update_server.sh
rkhunter-1.3.4/files/README
rkhunter-1.3.4/files/filehashmd5.pl
rkhunter-1.3.4/files/programs_good.dat
rkhunter-1.3.4/files/contrib/
rkhunter-1.3.4/files/contrib/run_rkhunter.sh
rkhunter-1.3.4/files/contrib/README.txt
rkhunter-1.3.4/files/contrib/rkhunter_remote_howto.txt
rkhunter-1.3.4/files/testing/
rkhunter-1.3.4/files/testing/stringscanner.sh
rkhunter-1.3.4/files/testing/rootkitinfo.txt
rkhunter-1.3.4/files/testing/rkhunter.conf
rkhunter-1.3.4/files/filehashsha1.pl
rkhunter-1.3.4/files/mirrors.dat
rkhunter-1.3.4/files/backdoorports.dat
rkhunter-1.3.4/files/check_modules.pl
rkhunter-1.3.4/files/md5blacklist.dat
rkhunter-1.3.4/files/rkhunter.conf
rkhunter-1.3.4/files/check_port.pl
rkhunter-1.3.4/files/CHANGELOG
rkhunter-1.3.4/files/os.dat
rkhunter-1.3.4/files/check_update.sh
rkhunter-1.3.4/files/FAQ
rkhunter-1.3.4/files/ACKNOWLEDGMENTS
rkhunter-1.3.4/files/stat.pl
rkhunter-1.3.4/files/LICENSE
rkhunter-1.3.4/files/readlink.sh
rkhunter-1.3.4/files/development/
rkhunter-1.3.4/files/development/createfilehashes.pl
rkhunter-1.3.4/files/development/osinformation.sh
rkhunter-1.3.4/files/development/search_dead_sysmlinks.sh
rkhunter-1.3.4/files/development/i18nchk
rkhunter-1.3.4/files/development/createhashes.sh
rkhunter-1.3.4/files/development/rpmprelinkhashes.sh
rkhunter-1.3.4/files/development/createhashesall.sh
rkhunter-1.3.4/files/development/rpmhashes.sh
rkhunter-1.3.4/files/suspscan.dat
rkhunter-1.3.4/files/rkhunter.8
rkhunter-1.3.4/files/showfiles.pl
rkhunter-1.3.4/files/rkhunter.spec
rkhunter-1.3.4/installer.sh
# cd rkhunter-1.3.4
~/rkhunter-1.3.4#./installer.sh --layout default --install
Checking system for:
 Rootkit Hunter installer files: found. OK
 Available file retrieval tools:
    wget: found. OK
Starting installation/update

Checking PREFIX /usr/local: exists, and is writable. OK
Checking installation directories:
 Directory /usr/local/share/doc/rkhunter-1.3.4: creating: OK.
 Directory /usr/local/share/man/man8: creating: OK.
 Directory /etc: exists, and is writable. OK
 Directory /usr/local/bin: [...]]]></description>
		<wfw:commentRss>http://toyholic.com/node/1457/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8230;CTU設定</title>
		<link>http://toyholic.com/node/1028</link>
		<comments>http://toyholic.com/node/1028#comments</comments>
		<pubDate>Sun, 19 Jul 2009 02:53:31 +0000</pubDate>
		<dc:creator>yui</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[出来事]]></category>
		<category><![CDATA[CTU]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[WebCaster V110]]></category>
		<category><![CDATA[Webmin]]></category>
		<category><![CDATA[ファイアウオール]]></category>
		<category><![CDATA[ルーター]]></category>

		<guid isPermaLink="false">http://toyholic.com/?p=1028</guid>
		<description><![CDATA[今までCTUをブリッジしてルーターでLANを組んでいたのだが、原因不明でブログが落ちている時があるので再設定してみる。まずはCTUの設定でCTUの静的アドレス(192.168.24.2~192.168.24.50)にサー [...]]]></description>
		<wfw:commentRss>http://toyholic.com/node/1028/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian GNU /Linux DHCP設定</title>
		<link>http://toyholic.com/node/977</link>
		<comments>http://toyholic.com/node/977#comments</comments>
		<pubDate>Fri, 10 Jul 2009 20:55:48 +0000</pubDate>
		<dc:creator>yui</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[DHCP]]></category>

		<guid isPermaLink="false">http://toyholic.com/?p=977</guid>
		<description><![CDATA[ルータのせいなのかDHCPなのか？朝起きたらWebが落ちている時がある。そこで設定を&#8230;はたして直るかどうか&#8230;

vim /etc/network/interfaces
# This file de [...]]]></description>
		<wfw:commentRss>http://toyholic.com/node/977/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 1.381 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-08-01 19:08:03 -->
