-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 joep wrote: > > On Jan 30, 9:33 am, Thomas Branch <tbra... / website-md.com> wrote: >> I'm losing my mind as well on this setup. eRuby is working fine for me >> and I can run .rhtml files but I can't get my server to handle .rb or >> rbx files using mod_ruby. >> >> I get the same 500 error. >> >> People always marvel at the cute little RoR videos but when it comes >> time to get into production almost no one has done it. Basecamp is the >> only example that I know of. >> >> WTF!? >> >> Anyway, if someone can chime in, I would much appreciate it. >> >> -- >> Posted viahttp://www.ruby-forum.com/. > > > > Not to worry. I had this very problem. You need to open your Apache/ > httpd.conf file and add the type as shown below. > > Try just adding one type first. > > # hdml > AddType text/x-hdml .hdml > > AddType application/x-httpd-eruby .rhtml > Action application/x-httpd-eruby /cgi-bin/eruby > > AddHandler cgi-script .cgi .sh .pl .asp .rb .erb > > Hope this helps > > > I'm pretty sure I added .rhtml types, though I may not have added handlers... I'll check later. If this works and solves the 500s when trying to access the /eruby directory I'll be very grateful. Like I said earlier, it's not that big a deal, just kind of odd that it should fail in that particular manner. Lincoln Anderson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFv3dKR8wmeqHdtdcRAsidAJ9/Lq0vVprutDvfZXRCBfAJzVqoIgCfafKW FVvHNrli04bBuLpZ7Yj2kNM= =nvyV -----END PGP SIGNATURE-----