Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Dec 2002
    Location
    Minneapolis, MN
    Posts
    208
    Thanks
    0
    Thanked 1 Time in 1 Post

    Apache configuration help v.Content-type

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

  • #2
    Regular Coder
    Join Date
    Dec 2002
    Location
    Minneapolis, MN
    Posts
    208
    Thanks
    0
    Thanked 1 Time in 1 Post
    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.
    anthony


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •