selfoss running on IIS 7

by pumm3l, Friday, July 12, 2013, 14:04 (3963 days ago) @ matup
edited by pumm3l, Friday, July 12, 2013, 14:34

thanks, I did confirm that your solution does work. I'm still getting poor performance using selfoss on iis7 though. No idea what that's about.

*edit*

ok figured out the slowness issue. I had mysql host set to localhost and I guess it was having a hard time resolving so I set it to 127.0.0.1 and now it loads quickly.

I was getting 404 errors with your setup trying to serve the .woff fonts, I reverted back to my web.config and everything works as expected. The web.config I have doesn't require you to create files or setup virtual directories and you point to the root folder rather than the public folder.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<clear />
<rule name="favicons" stopProcessing="true">
<match url="favicons/(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="data/favicons/{R:1}" />
</rule>
<rule name="thumbnails" stopProcessing="true">
<match url="thumbnails/(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="data/thumbnails/{R:1}" />
</rule>
<rule name="front controller" stopProcessing="true">
<match url=".(js|ico|gif|jpg|png|css|asc|txt|eot|woff|ttf|ttf|svg)$" ignoreCase="false" negate="true" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{QUERY_STRING}" pattern="^(.*)$" ignoreCase="false" />
</conditions>
<action type="Rewrite" url="index.php?{C:1}" appendQueryString="false" />
</rule>
<rule name="Rewrite" enabled="true" stopProcessing="true">
<match url="(.*)" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{REQUEST_FILENAME}" pattern="favicons/" negate="true" />
<add input="{REQUEST_FILENAME}" pattern="thumbnails/" negate="true" />
<add input="{REQUEST_FILENAME}" pattern="public/" negate="true" />
<add input="{REQUEST_FILENAME}" pattern="index.php" negate="true" />
</conditions>
<action type="Rewrite" url="public/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>


Complete thread:

 RSS Feed of thread

powered by my little forum