ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Removing index.php on Microsoft iis server!

October 20, 2011 1:52pm

Subscribe [4]
  • #1 / Oct 20, 2011 1:52pm

    Jack Tse

    67 posts

    Hi lovely EE peeps!

    Software:
    EE 2.2.2
    Calendar

    Objective:
    Remove index.php from MS iis server

    Problem:
    I am forcing query strings and leaving site’s index page blank index.php - which is resulting in:

    website.com/?/about

    This is okay but I’d prefer the question mark is removed.

    I searched for documentation on iis and .htaccess files but am very new at iis stuff. Not even sure if it should be called a httpd.conf file or web.config file even! Right now, I’m not using any server rewriting.

    ___


    Any advice or articles you can point me to? I’ve been on this for hours and am not finding anything.

  • #2 / Oct 20, 2011 2:24pm

    lebisol

    2234 posts

    Start here:
    http://www.iis.net/download/urlrewrite
    .htaccess is mechanism for Apache servers not IIS so it won’t apply.
    I have not touched IIS in yrs (other than restart it lol) so not much help past this but hope it gets you in the right direction.

  • #3 / Oct 20, 2011 3:44pm

    Enviromed

    375 posts

    IIS7 has built in functionality to do this which you can check out on the official website.

    To use apache commands:  Helicontech.com APE - with a great support team

    Helicon Ape provides support for Apache .htacces and .htpasswd configuration files in Microsoft IIS. It literally implements Apache configuration model and nearly all Apache modules in a single IIS add-on, not only making IIS compatible with Apache, but also extending it’s functionality by a number of highly essential features.

    Includes following modules: mod_rewrite, mod_proxy, mod_auth, mod_gzip, mod_headers, mod_cache, mod_expires, mod_replace and others. You can check all currently available modules in the compatibility chart (the list is growing with new builds).

    Chris

  • #4 / Oct 21, 2011 10:51am

    Mark Bowen

    12637 posts

    Hi Jack,

    Does any of the information above help at all?

    Thanks,

    Mark

    P.S. Thanks for the help there lebisol and Chris.

  • #5 / Oct 21, 2011 8:00pm

    Jack Tse

    67 posts

    I was hoping somebody would have some pre-written code that they could help me with. To be truthful, learning .htaccess was something that took years of trial and error… messing with the iis equivalent is something I don’t want to do.

    To make matters complicated, this client’s IT is running the server so I don’t want to go through the process of asking them to install software unless absolutely necessary.

    ——

    Is it okay to just leave the field asking for the homepage blank without using a .htaccess or iis equivalent?

    My URLS look like this:
    http://website.com/?/about

    THANKS!

  • #6 / Oct 21, 2011 8:21pm

    lebisol

    2234 posts

    messing with the iis equivalent is something I don’t want to do.

    😊 too late for that.

    ___

    I don’t think that leaving the site’s index filed blank (all it does it offer a variable that can return that value) will remove the need for ? trigger.

    If you are on IIS7 then check this: http://learn.iis.net/page.aspx/497/user-friendly-url—-rule-template/

  • #7 / Oct 24, 2011 10:43am

    Mark Bowen

    12637 posts

    I’m going to move this thread across to the Community Help forums as it will be a better fit there I believe.

    We can really only support the removal of index.php using the method listed in our documentation as this is a server related method and can be very different on different servers and would be best if you could contact your host as they would know better on how to approach this so that it will work correctly in your situation.

    Thanks,

    Mark

  • #8 / Nov 02, 2011 7:20pm

    Jack Tse

    67 posts

    Thanks, mark.

    I appreciate the help.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases