Welcome Guest, Not a member yet? Register   Sign In
IIS 7.0, FastCGI and the new IIS 7 URL Rewriting
#9

[eluser]ci_user[/eluser]
URL rewrite still not working in IIS7. Driving me nuts! I've tried everything mentioned here but no joy! I do have my application folder above the webroot. I moved it into the webroot thinking that might be the problem, but still no joy. For security I would prefer to keep the app folder above the webroot. Does anybody know if this requires anything special to make the URL rewrite work with the app above the webroot? Thanks!

[quote author="Rolly1971" date="1287797298"]hi there, i use IIS7 with CI 1.7.2 and 2.0 and the built in URL Rewrite engine and it works without fail.

here is my web.config i am using:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Rewrite to index.php">
                    <match url="index.php|robots.txt|images|test.php" />
                    <action type="None" />
                </rule>
                <rule name="Rewrite CI Index">
                    <match url=".*" />
                    <conditions>
                        <add input="{REQUEST_FILENAME}" pattern="css|js|jpg|jpeg|png|gif|ico|htm|html" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="index.php/{R:0}" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>
[/quote]


Messages In This Thread
IIS 7.0, FastCGI and the new IIS 7 URL Rewriting - by El Forum - 09-24-2008, 01:40 PM
IIS 7.0, FastCGI and the new IIS 7 URL Rewriting - by El Forum - 10-08-2008, 02:33 PM
IIS 7.0, FastCGI and the new IIS 7 URL Rewriting - by El Forum - 03-05-2009, 08:35 AM
IIS 7.0, FastCGI and the new IIS 7 URL Rewriting - by El Forum - 07-27-2010, 01:45 AM
IIS 7.0, FastCGI and the new IIS 7 URL Rewriting - by El Forum - 07-27-2010, 04:46 AM
IIS 7.0, FastCGI and the new IIS 7 URL Rewriting - by El Forum - 10-22-2010, 06:28 PM
IIS 7.0, FastCGI and the new IIS 7 URL Rewriting - by El Forum - 03-18-2011, 04:18 PM
IIS 7.0, FastCGI and the new IIS 7 URL Rewriting - by El Forum - 03-22-2012, 07:01 AM
IIS 7.0, FastCGI and the new IIS 7 URL Rewriting - by El Forum - 04-27-2012, 07:32 AM
IIS 7.0, FastCGI and the new IIS 7 URL Rewriting - by El Forum - 01-28-2013, 09:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB