PassMark Logo
Home » Forum

Results page on ColdFusion site

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wingnut144
    Member
    • Jun 2007
    • 37

    #1

    Results page on ColdFusion site

    Ok, I have a problem when I try to search.

    The main page comes up fine, but when I search I get a:

    404 Not Found

    The error occurred in C:\Inetpub\wwwroot\SalleBoise\search.cfm: line 129

    127 : <td width="470" bgcolor="#ffffff"><!--- BODY --->
    128 : <div align="left">
    129 : <cfhttp url="http://www.salleboise.com/search.cgi#cgi.QUERY_STRING#" method="GET" timeout="60"
    130 : throwonerror="yes" charset="windows-1252"></cfhttp>
    131 : <cfif Len(CFHTTP.FileContent)>

    So, it appears that for some reason its not finding the page? Is this correct? I have the link back url set to search.cfm, which should be right, correct?

    Any ideas? Again, I don't have this problem if I browse to the search.cgi file directly. Searches and returns results just fine.
  • David
    Administrator
    • Dec 2004
    • 4714

    #2
    I tried to look at the CGI search page, http://www.salleboise.com/search.cgi in Internet Explorer but just got a 404 page not found error. So either the search.cgi script is not at this location or your web server is not set up to run CGI's

    Comment

    • wingnut144
      Member
      • Jun 2007
      • 37

      #3
      Actually I moved the .cgi file to /search/

      Comment

      • Ray
        Administrator
        • Dec 2004
        • 4357

        #4
        If you have moved the .cgi file to another directory, then you will need to change your ColdFusion code which is still referencing "http://www.salleboise.com/search.cgi#cgi.QUERY_STRING#" to something like "http://www.salleboise.com/search/search.cgi#cgi.QUERY_STRING#"
        --Ray
        Wrensoft Web Software
        Sydney, Australia
        Zoom Search Engine

        Comment

        • wingnut144
          Member
          • Jun 2007
          • 37

          #5
          Yep, already done!

          Comment

          Working...