ez4me2c3d
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.
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.