+ Reply to Thread
Results 1 to 4 of 4

Thread: HTTP 404 Error when Viewing Whois Report

  1. Join Date
    May 2006
    Posts
    7

    HTTP 404 Error when Viewing Whois Report

    Hi,

    I included the Whois script into a php page with much success (Thanks to some previous posts e.g http://www.dev-forums.com/index.php/topic,180.0.html and http://www.dev-forums.com/index.php/topic,175.0.html). I ran a few searches without problems.

    The trouble started when I wanted to View the whois Report on one of the searches I made , and another and another....)

    I keep getting a HTTP 404 Error whenever I do this. all the other links are working fine.

    I also ran the NS Validator and it works okay. I am able to see the report generated on a registered domain in this way.

    What could be the problem? Did I overlook something? Why can I see it in NS Validator and not on the results on the script?


    It was working okay earlier.

    Cheers


  2. Join Date
    May 2006
    Posts
    7

    Re: HTTP 404 Error when Viewing Whois Report

    I noticed that when I move my mouse over the "View Whois" hyperlink, the URL that is displayed in the Status Bar is non-existent.

    I modified the "action" in the Search Bar template and replaced whois.php file because I included it on another file called domains.php. (like in http://www.dev-forums.com/index.php/topic,175.0.html)

    What happens is that when I click the "View whois" it takes me to a folder with the domains.php but it looks for whois.php.

    When I substitute /whois.php with /domains.php in the address bar I can see the whois report.

    How/where can I change the link for this URL so that it point it to the right page? I tried a few things but none of them worked so far.

  3. Join Date
    Aug 2004
    Posts
    781

    Re: HTTP 404 Error when Viewing Whois Report

    Quote Originally Posted by DotKhoza
    How/where can I change the link for this URL so that it point it to the right page? I tried a few things but none of them worked so far.
    When using a non-standard setup you will have to use your own custom URL in the templates instead of [[whois-reporturl]]. Something such as yourpage.php?page=WhoisReport&domain=[[domain]]&ext=[[ext]] .

    While it is possible to include the script within another page, it is recommended that you do not include the script and instead use the script's Custom Header/Footer Files (on the templates page). If you choose to not follow this advice, you will have to modify the URLs and paths in any applicable templates that require such items.

  4. Join Date
    May 2006
    Posts
    7

    Re: HTTP 404 Error when Viewing Whois Report

    Thanks a lot!


    When using a non-standard setup you will have to use your own custom URL in the templates instead of [[whois-reporturl]]. Something such as yourpage.php?page=WhoisReport&domain=[[domain]]&ext=[[ext]]
    I changed it as you suggested and it now works well.

    Thank you for your support!

+ Reply to Thread

Posting Permissions

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