• I’m having an error w/ Permalinks. My hosting company uses Windows 2003, with PHP support.

    Similar threads on the subject indicate that ‘index.php’ needs to be in the structure.

    I believe that i’ve entered this correctly:
    Structure: /index.php/%category%/%postname%/
    Catgory: blank.

    I get the ‘HTTP Error 404’ error. If I don’t use Permalinks, everything works correctly.

    For a demonstration, see https://www.cogniza.com/blog/.

    Has anyone been able to resolve this?

    Thanks,

    Craig

Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator James Huff

    (@macmanx)

    Try it without the /%category%/ tag.

    Does your host have ISAPI_Rewrite or similiar? otherwise the permalinks wont work on Windows 2003. We use ISAPI_Rewrite on Windows 2003 and got WordPress working after some investigation and testing. See here

    https://www.selbmag.co.uk/2005/10/wordpress-and-isapi_rewrite/

    Thread Starter craibuc

    (@craibuc)

    Structure now: /index.php/%postname%/

    still producing the same error.

    i will speak to my hosting company about the httpd.txt file. can it be located in my virtual directory? will it affect other co-hosted sites?

    thanks.

    It is a httpd.ini file (the txt extension is so you can view it). It will only work if your host has ISAPI_Rewrite installed on a per site basis and if you use the same permalink string as mentioned. You can of course edit the Rewrite rules to your specific permalink set-up

    Thread Starter craibuc

    (@craibuc)

    As it has global consequences, I doubt they will install it. I guess I’m stuck with the regular Url.

    Thread Starter craibuc

    (@craibuc)

    they offered to install LinkFreeze (https://www.helicontech.com/linkfreeze/). Has anyone heard of it?

    Yeah but it will not do what you want as it only re-writes specific URLs. It *might* work but to be honest it is likely to give you some issues with some URLs working and some not.

    If they do it right it has ISAPI_Rewrite global consequences.

    Sorry just noticed. I should have said ISAPI_Rewrite will have NO global consequences when done right.

    Thread Starter craibuc

    (@craibuc)

    can you elaborate on how this is done right?

    They will need to buy the software and install it on the Master IIS site in IIS6. Provide RX permissions to the Anon_user group they use for shared website owners on the ISAPI_rewrite.dll.

    Users can then simply upload a httpd.ini file if they want to use ISAPI_Rewrite and those that do not have a httpd.ini file will not be affected.

    Thread Starter craibuc

    (@craibuc)

    is the httpd.ini file stored in the root of each virtual directory?

    I cannot get anything of the form …/index.php/xyz/abc to work on my IIS 5.1 / PHP 5 / WordPress 2.0 install. PHP is installed as an isapi DLL and seems to be working just fine. However, if there is a path that extends past the index.php (such as https://thehost/wordpress/index.php/category/news/), IIS returns a 404. It’s as though IIS is treating the index.php as a folder instead of passing control to this php file. I have installed urlscan and set the AllowDotInPath parameter to 1, just to make sure this wasn’t the problem. I tried putting a php.ini file with the two cgi.fix_pathinfo = 1 and cgi.force_redirect = 0 entries into my \Inetpub\wwwroot\ folder, but I am still getting 404 errors.

    Is there any basic configuration of IIS or PHP that I need to do so that index.php does not get treated as a folder? Thanks so much for all the help!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Windows 2003 and Permlinks; HTTP Error 404’ is closed to new replies.