header not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oll3i
    Contributor
    • Mar 2007
    • 679

    header not working

    i have such line at the end of the script
    [code=php]
    header("Locatio n:".$config->paths['domain']."/pracodawca/konto/offers_history/language/$language/modul_vert_menu/$modul_vert_men u");<----i use rewrite rule for this page
    [/code]
    and i get 404 error
    but when i remove the above line i dont get the error

    what could be wrong?
    thank You
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    Originally posted by wikipedia
    The 404 or Not Found error message is a HTTP standard response code indicating that the client was able to communicate with the server but either the server could not find what was requested, or it was configured not to fulfill the request and not reveal the reason why. 404 errors should not be confused with "server not found" or similar errors, in which a connection to the destination server cannot be made at all.
    You most probably misspelled the name of the site you want to direct to and which is specified in your header() statement. Since I cannot see any of the used variables in that header() statement, I cannot say anything further on this.

    Ronald

    Comment

    Working...