Windows の Apace で eRuby を使いたくて、ネットを探し回ったが結局分からなかったので、CGI と erb.rb を利用して自作(?)した。 httpd.conf を、スタートメニューの中の Apace メニューから開いて、 <Directory "C:/Program Files/Apache Group/Apache2/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> の Options None を Options ExecCGI に変更して /cgi-bin/ で CGI が使えるようにして、さらに、 # Filters ... のセクションに AddType application/x-httpd-eruby .rhtml # Action
![eRuby | tnomuraのブログ](https://cdn-ak-scissors.b.st-hatena.com/image/square/3295a1ceb2c98e1a825760f4ebf73aff51e7df4b/height=288;version=1;width=512/https%3A%2F%2Fpds.exblog.jp%2Flogo%2F1%2F200504%2F30%2F98%2Fd003829820050508181526.jpg)