""로 설정하면 자기 자신이 실행 되는 듯?

Examples

To setup an executable which can run on its own (e.g. binaries, scripts with a shebang line) you just don't specify a handler for the extension:

  cgi.assign = ( ".sh" => "" )

If the file has no extension keep in mind that lighttpd matches not the extension itself but the right part of the URL:

  cgi.assign = ( "/testfile" => "" )

To assign a CGI script as a default handler for a URL path, even if that path is virtual, with the help of mod_alias:

$HTTP["url"] =~ "^/urlpath(?:/|$)" {
  alias.url = ( "/urlpath" => "/path/to/script" )
  cgi.assign = ( "" => "" )
}


[링크 : https://redmine.lighttpd.net/projects/1/wiki/docs_modcgi]

'프로그램 사용 > lighttpd' 카테고리의 다른 글

lighttpd epoll  (0) 2015.07.28
lighttpd / mod-websocket  (0) 2014.12.30
Posted by 구차니