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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Apr 2012
    Location
    St. Louis, MO
    Posts
    985
    Thanks
    7
    Thanked 101 Times in 101 Posts

    Question Apache serving up raw CF code, not dynamic content

    Hello, everyone.

    I'm asking this question because someone in another forum has asked and no one is responding; so I'm hoping to help this person.

    I do not have all the details. I don't even know if this is a *nix installation, or a Windows install.

    I'm just asking in a general scope: What could cause an Apache server to pass raw ColdFusion code to the browser instead of processing the code and delivering dynamic content?

    Thank you,
    ^_^

    If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
    *
    The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,979
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    Same thing that stops it from processing PHP or perl code. If it cannot find a handler for it, then it has no choice but to serve it raw or throw an error.
    Check the httpd error logs, they should indicate the problem. Don't know how CF is installed with Apache, but you'll either see errors on startup, on request, or both.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #3
    Regular Coder
    Join Date
    Apr 2012
    Location
    St. Louis, MO
    Posts
    985
    Thanks
    7
    Thanked 101 Times in 101 Posts
    Thanks, Fou-Lu. I'll pass that along and hope it helps.

    Have a great weekend.
    ^_^

    If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
    *
    The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".


  •  

    Posting Permissions

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