...

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



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.

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

http://pastebin.com/m428345bc

http://www.avholloway.com/cgi-bin/test.pl

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum