View Full Version : Apache configuration help v.Content-type

06-04-2008, 01:52 AM
Hello All.

I have a brand new web server setup and am trying to deliver a content-type of anything other than text/plain with no success.

I have searched for the answer, and originally I thought mime-types was correct but that only seemed to deal with file delivery and not dynamic content generation.

Here is the code: http://pastebin.com/m532d8925

And here is the page: http://www.avholloway.com/cgi-bin/test.rb

the file permissions are correct and ruby is installed, hence the page renders anything at all.

Ideas? I have full access to this server.. so... whatever needs to be done.

06-04-2008, 03:11 AM
Update, I can achieve the expected results by using a perl script.



Let me know what configuration files to look at, because I have checked quite a few and nothing seems to stand out.