« Previous Next »

Not Answered Thread: header ('Location: '); don't work

Last post 11-06-2009 2:23 AM by lestatminiyo. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 10-29-2009, 7:24 AM

    header ('Location: '); don't work

    header ('Location: /'); with apache works... with IIS, appears 404 error
  • 11-02-2009, 4:57 PM In reply to

    • kehand
    • Not Ranked
    • Joined on 09-02-2008, 10:03 PM
    • Posts 6

    Re: header ('Location: '); don't work

    Hi,

    Which OS are you running?

    If you are navigating to the php page using a browser, it will follow the Location header to the new location, in this case it will navigate to the site root. If you don't have a default document setup, or if the default document cannot be found, it will result in a 404.

    HTH,

    Kern

  • 11-02-2009, 6:10 PM In reply to

    Re: header ('Location: '); don't work

    server its running with windows server 2003 and IIS 6 if I run the webpage with apache, header location works
  • 11-05-2009, 1:50 AM In reply to

    Re: header ('Location: '); don't work

    Did you check if you have a default document configured as Kern suggested?

    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    www.iis-aid.com
    My IIS articles
    My PHP articles
    My How-to guides
  • 11-06-2009, 2:23 AM In reply to

    Re: header ('Location: '); don't work

    Yes... I was reading that this is a problem about... "fastcgi" or something
Page 1 of 1 (5 items)
Microsoft Communities