パッケージとしてインストールした場合、通常 /etc/lighttpd/lighttpd.conf が設定ファイルとなる。ただし、初めにインストールされるものは、Apacheのものと比べると説明がないので、サンプルとしてはちょっと分かりにくかった。 なお、Apache の .htaccess の様なしくみはないので、ディレクトリ毎の設定が必要ならば、全て設定ファイルへ書き込む必要がある。
パッケージとしてインストールした場合、通常 /etc/lighttpd/lighttpd.conf が設定ファイルとなる。ただし、初めにインストールされるものは、Apacheのものと比べると説明がないので、サンプルとしてはちょっと分かりにくかった。 なお、Apache の .htaccess の様なしくみはないので、ディレクトリ毎の設定が必要ならば、全て設定ファイルへ書き込む必要がある。
... or the hidden secrets of lighty. X-Sendfile is one of the important, but mostly unknown features. Time to put the spot-light on it and see why you want to use it. X-Sendfile is a special header option you can set in any FastCGI backend to tell lighty to ignore the content of the response and replace it by the file that is specified in the X-Sendfile header. Doesn't sound dramatic in the first
At the railsconf I spent some time to work on the native win32 port of lighty. Thanks to scons we already had a working build system on Windows, it only needed some #ifdef's to get the beast compiling. The work is not ready for prime-time yet, but is very promissing. All problems but 'how to spawn a process' are solved and the other changes like emulations for opendir(), socket-read()/write() have
(注意: 印はくまくまー調べなので鵜呑みにしてはいけません) [開発] Apache上での開発はまず無理である。WEBrick は Ruby標準な上に最低限の機能・スペックは満たしているので未だに愛用者は多く、Rails初学者には十分である。WEBrickの速度に限界を感じたユーザは Lighttpd(愛称 lighty)を利用する。速度も十分でや設定も容易だが、起動時の引数でポートを指定できないなど若干使いづらい面もある。lighty ユーザは Mongrel に進むという予言もある。 [運用] Webサーバのデファクトはやはり Apache で、Rails的には生CGIは無理だが、FastCGIなどのモジュールと併用することで速度的な問題はなくなる。RailsはLighttpdなどの開発向けのサーバで動かし、リバースプロキシを利用する手もある。完全に Rails のみで運用されるサイト
lighttpd の認証を LDAP で Posted by Gosuke Miyashita Sun, 21 May 2006 06:17:01 GMT おうち trac が認証を一切せずに、誰でも wiki の書き換えができたり、ticket の発行ができたり、という状態だったので、それはまずかろうってことで認証かけることにした。 「trac を lighttpd + FastCGI で動かす」 で触れたとおり、trac は lighttpd 上で動いているので、認証は lighttpd で設定します。やりかたは lighttpd のサイトにある 「Using Authentication Module: mod_auth」 の通りなので、あまり難しいことはないのですが、とりあえずやったことをメモ。 うちの Linux サーバ上で動いているサービスは、ほとんどが LDAP で認証してい
trac を lighttpd + FastCGI で動かす Posted by Gosuke Miyashita Wed, 17 May 2006 14:40:45 GMT このエントリ の様な経緯で、うちでは apache + tracd という構成で trac を動かしてるのですが、tracd がしょっちゅう落ちるんですよね。1日に2, 3回ぐらいは落ちる感じ。で、5分ごとに cron で tracd プロセスを監視して、落ちてたら再起動ってなことをやってるんですが、typester さん から「うちは lighttpd + FastCGI でやってるよ」というアドバイスを頂いたので、試してみました。 やったことは以下の通り。 FastCGI のインストール lighttpd のインストール lighttpd.conf を書く lighttpd の起動 1, 2 については省略。ディ
Core Features...Configuration File SyntaxConfiguration OptionsChange RootPerformancePerformanceFastCGISSLTraffic ShapingUsing SMPModules...mod_accesslogmod_accessmod_aliasmod_authmod_cachemod_cgimod_cmlmod_compressmod_deflatemod_dirlistingmod_evasivemod_evhostmod_expiremod_extforwardmod_fastcgimod_flv_streamingmod_geoipmod_magnetmod_mem_cachemod_mysql_vhostmod_proxymod_redirectmod_rewritemod_rrdto
勉強会では流れてしまったんですが、せっかく作った資料なのであげておきます。 (lighttpd or apache)+fastcgiでrailsを動かすための各種設定をまとめてみました。 資料はこちらからどうぞ。CreativeCommonsの帰属ライセンスで公開します。 PDF版 OOo Impress版 Apacheのほうは意外と苦労なく動いたんですが、lighttpdを複数共存させるやりかたでちょっと苦労しました。 ポイントとしては $HTTP["url"] =~ (パターンマッチ)としてURLによってerror-handlerを変えること(p.9) error-handler-404で設定したものとfastcgi.server直後のextentionで指定するものを一致させること(実在しないファイルでもOK)(p.9) config/environments/production.
Configuration File Options¶ Here you will find a list of all available configuration options for lighttpd. They are grouped by module, and a link to each module configuration will provide with more detail information about each option, as well as examples, and other guidelines. Modules written by Lighttpd Users Configuration File Options Lighttpd Core Options SSL Options Core Debug Info Options fo
« mod_ruby + railsではまった… Main lighttpdでgzip転送してみる » LightTPD + FastCGI で複数railsアプリを動かす | get_delicious_count('http://www.kharakawa.com/kh.log/archives/2006/01/lighttpd_fastcgi_rails.html', 'e152'); --> Apache + mod_ruby で失敗したので、 LightTPD + FastCGI に移行。Agile Web Development With Rails: A Pragmatic Guide (The Facets of Ruby Series)にもこの組み合わせがお勧めっぽく書いてあったなあ。 LightTPD + FastCGI debianには正式なstableパッケージが
巷で超高速 Web サーバとして話題になっている lighttpd を試してみました。lighttpd に関する日本語ドキュメントは非常に少なく、ちょっと込み入った設定ファイルの記述方法とかの解析に手間取りました。 lighttpd のコンセプトは、「セキュアで省メモリで高速に動作し、柔軟性もある」なのですが、「lighttpd 公式サイトのベンチマーク結果」や「UnknownPlace. - Catalyst ベンチ」で簡単な Catalyst - Hello.cgi のベンチマークが公開されているとおり、Apache 1系、Apache 2系よりも高速に動作するようです。特に static なページの処理は Apache の 2〜3 倍程度は高速に処理できるみたいです。 また注目すべき点として、Apache + mod_perl よりも lighttpd + FastCGI の方が1割
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く