-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've got an Apache2 testbed server set up to do some work with Ruby and RoR... As part of the setup I installed mod_ruby so that Apache can process Ruby scripts, as well as eRuby so that I can embed Ruby in html files. I'm not exactly sure which module is doing this, so I mention both of them, but here's the behavior I'm seeing... Under /var/www I have three directories, ./cgi-bin, ./eruby, ./ruby. There are currently no files in either ./cgi-bin or ./ruby. In ./eruby, there is a single .rhtml file, which just has a simple <%print "Hello World"%> in the body. If I load the page explicitly (http://www.heyblinkin.net/eruby/index.rhtml), I see the expected result, "Hello World". If, however, I enter www.heyblinkin.net/eruby, I am met with 500 Internal Server Error. Inspecting the error.log for apache shows Ruby errors, stating that Ruby attempted to evaluate a directory. This explains the error, however, once I implemented a fix that I thought should work, namely, adding index.rhtml to the list of files that DirectoryIndex takes, I still get this error. To complicate matters, I have apache set up so that users get public_html directories with corresponding ./cgi-bin and ./eruby directories. I have a similar index.rhtml file in my ~/public_html/eruby directory, and loading www.heyblinkin.net/~user_name/eruby/ gives the expected result, namely, "Hello World". It opens the index.rhtml file that I added to the DirectoryIndex field and does not complain. Is there something else I need to add to my /var/www/eruby directory? It's not a major problem, but it is a little annoying. Any help is appreciated. Lincoln Anderson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFtU7QR8wmeqHdtdcRArQbAKDCr+YjQ5o+yYi/nJdgEqmqCkvEqgCgqBH3 uTvbdmMXfSmHQWbyMwgzKxw= =Xusg -----END PGP SIGNATURE-----