We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon 1.2.4 in IIS

I'm try to Use Phalcon 1.2.4 in IIS

My Envirment: WindowsServer08 R2 x64 IIS 7 + PHP FastCGI + URL Rewrite

When i follow

Official Tutorial 1

I can running IndexController but I can't run SingupController

it's alwasy get 404 Error

If i change my Enviroment to XAMPP & Copy My Tutorial Project . It's can be execution in XAMPP no any issue

Does Phalcon not support IIS ?

Thanks : )



70

also i could not make phalcon work on iis :(. i follow the tutorial on https://www.sitepoint.com/phalcon-windows-azure/ with that web.config file but make me an error on Error HTTP 500.52 - URL Rewrite Module Error.

somebody has a web.config file working in iis for phalcon php??

thanks.

I got the IIS rewrite module to work for the tutorial by using this web.config file: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <remove name="Main Rule" /> <rule name="Main Rule" stopProcessing="true"> <match url="(.*)" /> <conditions logicalGrouping="MatchAll" trackAllCaptures="false"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <serverVariables /> <action type="Rewrite" url="public/index.php?_url=/{R:1}" appendQueryString="true" logRewrittenUrl="false" /> </rule> </rules> </rewrite> </system.webServer> </configuration>



893
edited Aug '15

Generaly speaking it works (also for Phalcon 2.x), but rules in app root folder permanently redirects to public though action type is "rewrite" and append query string is "false" (eq. https://myappdomain/public/) and this is wrong. Any ideas?