Facing problem from 302 to 200

Discussion in 'Site & Server Administration' started by xponse, Sep 22, 2005.

  1. #1
    hi,.

    I am geting fallowing server response code :

    HTTP Status Code: HTTP/1.1 302 Found
    Date: Fri, 23 Sep 2005 04:13:13 GMT
    Server: Apache
    X-Powered-By: PHP/4.3.10
    Set-Cookie: PHPSESSID=a6f3ef350970d9b8f6c2c2b41eb09217; path=/
    Expires: Fri, 23 Sep 2005 04:13 GMT
    Cache-Control: no-cache, must-revalidate
    Pragma: no-cache
    Last-Modified: Fri, 23 Sep 2005 04:13 GMT
    Location: index.php
    Connection: close
    Content-Type: text/html
    Redirect Target: index.php

    I want code
    HTTP Status Code: HTTP/1.1 200 OK

    I do not find any redirection code in php file or .htaccess file..

    do I need to change .htaccess file for 301 as parmanent redirection.. acualy I donot want any redirection.
     
    xponse, Sep 22, 2005 IP
  2. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What exactly do you have at that location, as script of some sort?
     
    exam, Sep 22, 2005 IP
  3. xponse

    xponse Peon

    Messages:
    93
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hi

    Insted of "302 Found" I want "200 OK"

    as we know redirection can be take place by html referesh/ JS code and others

    when I tried to submit my page. it give error 302 found.. how to solve that problem
     
    xponse, Sep 22, 2005 IP
  4. Cristian Mezei

    Cristian Mezei Notable Member

    Messages:
    3,332
    Likes Received:
    355
    Best Answers:
    0
    Trophy Points:
    213
    #4
    Give me your web address. I'll help :)
     
    Cristian Mezei, Sep 22, 2005 IP
  5. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Right, what I want to know is what do you have at that location, a script or a static HTML page, or what, also, if you post the URL, maybe someone can help. :)
     
    exam, Sep 22, 2005 IP