From: Martin Maciaszek Date: 2002-01-09T05:00:21+09:00 Subject: Re: eruby only generates text/plain In article <20020108111052.A26120@ninja1.internal>, Sean Chittenden wrote: >> Setting the content-type explicitly finally helped. I also >> stumbled across the DefaultType in my apche-config when I was >> searching for an explaination but even setting the default type >> to text/html didn't change anything. Which suggests that eruby >> sets text/plain explicitly somewhere. It looks like a freak >> mime-type accident. > > Do you still have the source sitting around? > > cd /usr/ports/textproc/eruby/work/eruby-0.9.7/examples > eruby -Mc text.rhtml head -1 > > Does that specify the Content-type correctly? -sc > Yes, that works correctly. Content-Type: text/html; charset=iso-8859-1 Can you explain me, what is going on here? Cheers Martin