Subscribe to
Posts
Comments

I didn’t make a post for the past week because I experienced trouble when I moved my production site to my local machine. I found none of the permalink solutions addressed here was working on my local machine. The Wordpress article said the permalink format

"/index.php/%year%/%monthnum%/%day%/%postname%/"

was able to work on windows IIS but it was not working for me. When I was using this format I got the following screen.

404 Screen 1

My local machine is running window 2003 and IIS6. I have followed the PHP configuration manual to configure PHP and it was working fine. I have spend all the nights for the pass week to dig around on the internet to find a solution but no one clearly explained why it showed that screen. It was the “page cannot be found 404 screen” but windows default 404 screen is not like that. It is like the following one:

404 screen 2

So I was lost. I found a lot of posts talked

about the error “no input file specified”. I thought it was not related to my case. I didn’t see this error until I tried it on Firefox. Firefox didn’t show the two screens above and it just showed you the text “no input file specified”. So I followed this error and dig around and I finally found this post. It said if doc_root in php.ini file was set to specific directory on systems with multiple hosts the error might appear. I commented out that line and refresh IIS and that problem was gone.

Only when the problem of “no input file specified” is fixed can you use the other permalink solutions, like ISAPI or 404 redirect. I choosed this one.

I spend a lot time digging around mainly because I didn’t know it was a “no input file specified” problem. IE7 didn’t tell you this. I am not sure about IE6. I got the feeling that people use PHP tends to use Firefox instead of if IE. Another thing is that if PHP doesn’t need doc_root to function correctly then why the manual tell us to set it up. It seems doesn’t make sense. Anyway if you find this post helps then let me know.


Related Posts:

  • Open Source vs. Microsoft
  • External USB Drive (Disk) Is Not Working
  • A New Post in a Long While
  • Starting the Siusic Blog
  • It Sounds Working for Microsoft is Very Fun


  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...

    RSS feed | Trackback URI

    6 Comments »

    Comment by Visitor996 Subscribed to comments via email
    2007-08-16 15:33:51
    MyAvatars 0.2

    I have visited your site 959-times

     
    Comment by Visitor049 Subscribed to comments via email
    2007-08-16 15:34:46
    MyAvatars 0.2

    Your site found in Google: http://google.com/search?q=goe

     
    Comment by Visitor378 Subscribed to comments via email
    2007-08-16 15:35:10
    MyAvatars 0.2

    I could not find this site in the Search Engines index

     
    Comment by Marcelo Subscribed to comments via email
    2007-12-09 08:27:34
    MyAvatars 0.2

    It did not work for me. :???:

     
    Comment by heesyKipsef
    2008-12-19 12:35:33
    MyAvatars 0.2

    Hello

    As a fresh http://www.siusic.com user i just wanted to say hi to everyone else who uses this bbs :-)

     
    Comment by Igor
    2009-04-23 12:08:53
    MyAvatars 0.2

    CONFIGURE YOUR PHP IN ISAPI MODE ON IIS WINDOWS AND IT WILL WORK PERFECT

     
    Name (required)
    E-mail (required - never shown publicly)
    URI
    Subscribe to comments via email
    Your Comment (smaller size | larger size)
    You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.