[前][次][番号順一覧][スレッド一覧]

rails:987

From: nk@n...
Date: Thu, 9 Mar 2006 21:35:03 +0900 (JST)
Subject: [rails:987] typoが動作しない

NKと申します。
railsの勉強がてら、typoをインストールしてみたのですが、
行き詰まっております。どうか、ご教示お願いします。

現象:
  http://localhost/typo/admin/sidebarhttp://localhost/typo/
  にアクセスすると、「500 - Internal Server Error」が表示される(500.html)。
  その他は動作します。
エラーログは以下をはいております。
(mod_fastcgi.c.2263) unexpected end-of-file (perhaps the fastcgi process
died): pid: 5300 fcgi-fd: 9 remote-fd: 8
2006-03-09 21:00:58: (mod_fastcgi.c.3021) child signaled: 4
2006-03-09 21:00:58: (mod_fastcgi.c.3064) response not sent, request sent:
892 connection-fd: 8 fcgi-fd: 9


環境:
  freebsd 54.R
  lighttpd 1.4.10
  ruby 1.8.4 (2005-12-24) [i386-freebsd5]
  rails (1.0.0)
  mysql 4.0.26
  typoのインストール先: /usr/local/www/data/typo

設定内容 (lighttpd.conf)

server.modules              = (
                               "mod_rewrite",
                               "mod_alias",
                                "mod_access",
                               "mod_auth",
                               "mod_fastcgi",
                               "mod_cgi",
                                "mod_webdav",
                                "mod_accesslog" )

server.document-root        = "/usr/local/www/data/"
server.errorlog             = "/var/log/lighttpd/lighttpd.error.log"
accesslog.filename = "|/usr/local/sbin/cronolog
/var/log/lighttpd/access_log_L.%Y%m%d"
server.pid-file            = "/var/run/lighttpd.pid"

fastcgi.server = (
    ".php" => ((
        "bin-path" => "/usr/local/bin/php",
        "socket" => "/tmp/php.socket",
        "max-procs" => 2,
        "bin-environment" => (
            "PHP_FCGI_CHILDREN" => "3",
            "PHP_FCGI_MAX_REQUESTS" => "500"
        ),
        "bin-copy-environment" => (
            "PATH", "SHELL", "USER"
        ),
        "broken-scriptfilename" => "enable"
    )),
    "/typo/dispatch.fcgi" => ((
        "socket" => "/tmp/rails-typo.socket",
        "bin-path" => "/usr/local/www/data/typo/public/dispatch.fcgi",
        #"strip-request-uri" => "/typo/",
        "min-procs" => 2,
        "max-procs" => 4,
        "bin-environment" => ( "RAILS_ENV" => "production" )
    ))
)

#fastcgi.debug = 0
#url.rewrite = ( "^/$" => "index.html", "^([^.]+)$" => "$1.html" )

alias.url = ("/typo" => "/usr/local/www/data/typo/public")
$HTTP["url"] =~ "^/typo/" {
  server.indexfiles          = ( "index.html", "dispatch.fcgi" )
  server.error-handler-404 = "/typo/dispatch.fcgi"
  accesslog.filename = "|/usr/local/sbin/cronolog
/usr/local/www/data/typo/log/access_log_L.%Y%m%d"
  server.errorlog = "/usr/local/www/data/typo/log/error.log"
}





--
ML: rails@r...
使い方: http://QuickML.com/

[前][次][番号順一覧][スレッド一覧]

->     987 2006-03-09 13:35 [nk@n...             ] typoが動作しない                        
       991 2006-03-11 12:27 ┗[nk@n...             ]                                       
       992 2006-03-11 12:41  ┗[nk@n...             ]                                     
       994 2006-03-12 05:30   ┗[don@n...            ]                                   
       995 2006-03-12 10:36    ┗[nk@n...             ]                                 
       996 2006-03-12 16:16     ┗[kazuhiko@f...       ]                               
       997 2006-03-12 16:48      ┗[nk@n...             ]