On Tue, 04 Mar 2003 14:14:31 -0600, root wrote: > Frank Fejes wrote: >> What does your apache error log say? Are you running mod_ruby? >> >> --frank >> >> On Mon, 03 Mar 2003 14:27:20 -0600, root wrote: >> >> >>>After installing eruby and inserting the two lines in the apache config >>>file suggested in the online programming guide, I get an internal >>>server error when trying to execute the test program situated in >>>cgi-bin/. I've tried putting the file elsewhere and changing the >>>scriptalias directive, with no joy. >>> >>>Anyone able to help? Anyone actually got eruby working with Apache? >>> >>>Rog >> >> > Frank > > The log says: " Premature end of script headers: > /usr/local/apache/cgi-bin/test.rhtml" > > I'm not using mod ruby, just eruby. The file is called test.rhtml and > contains: > [code snipped] Strange...that looks like valid code to me. Have you tried eruby from the command line? eruby /usr/local/apache/cgi-bin/test.rhtml I'm not familiar with the online programming guide...what lines did you enter into your Apache config? --frank