Más contenido relacionado
La actualidad más candente (20)
Similar a Webサーバーの構築 (20)
Webサーバーの構築
- 55. Ruby を CGI で動かす(その3) /var/www/ruby に hello.rb を作成する ブラウザに、 http://IP アドレス /hello.rb と打ち込む Hello World! と表示されれば成功!おめでとう! #!/usr/local/bin/ruby print "content-type: text/html" print "<html><body>Hello World!</body></html>"