Getting ERB to work in Apache on Windows

All the google search results seem to use eruby, and simply say “copy
eruby to
cgi-bin and add a type (AddType application/x-httpd-eruby .rhtml) and an
action (Action application/x-httpd-eruby /cgi-bin/eruby)”.
Obviously they are all for Linux too.

I tried doing the same with the ERB implementation that comes with Ruby
(erb.bat and erb with no extension) and simply changing “eruby” to “erb”
in the Action, except nothing happens.

I have no idea how the Apache site has no useful documentation
whatsoever about anything.

Anyone got ERB to work on Windows in Apache?

Thanks.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs