Oops - somewhat is missing. The web.config should look like:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="index.php" />
</files>
</defaultDocument>
<rewrite>
<rules>
<clear />
<rule name="MatchExistingFiles" stopProcessing="true">
<match url="^.*$" />
<conditions logicalGrouping="MatchAny">
<add input="{REQUEST_FILENAME}" matchType="IsFile"
pattern="" ignoreCase="false" />
<add input="{REQUEST_FILENAME}"
matchType="IsDirectory" pattern="" ignoreCase="false" />
</conditions>
<action type="None" />
</rule>
<rule name="RemapMVC" stopProcessing="true">
<match url="^.*$" />
<conditions logicalGrouping="MatchAll" />
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Von: Stefan Gehrig [mailto:[email protected]]
Gesendet: Sonntag, 7. Juni 2009 11:54
An: [email protected]
Betreff: Re: [fw-general] Zend Server + IIS7.5 + Zend Framework (HTACCESS)
iceangel89 wrote:
anyone uses IIS7 with Zend Framework?
iceangel89 wrote:
i have installed Zend Server with integration for IIS7.5. now i need to get
ZF working... i think i am missing htaccess i am trying to use
http://learn.iis.net/page.aspx/460/using-url-rewrite-module/ i dunno if it
will work but anyone got ZF to work with IIS?
It's actually quite easy: - install the URL-Rewrite-Module - add a
web.config to your public folder with the following content
_____
View this message in context: Re:
<http://www.nabble.com/Zend-Server-%2B-IIS7.5-%2B-Zend-Framework-%28HTACCESS
%29-tp23889995p23909345.html> Zend Server + IIS7.5 + Zend Framework
(HTACCESS)
Sent from the Zend <http://www.nabble.com/Zend-Framework-f15440.html>
Framework mailing list archive at Nabble.com.