<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>selfoss support forum - selfoss running on IIS 7</title>
<link>https://forum.selfoss.aditu.de/</link>
<description>selfoss support forum</description>
<language>en</language>
<item>
<title>selfoss running on IIS 7 (reply)</title>
<content:encoded><![CDATA[<p>The problem with the different extensions depends on the configuration, adding the mime  type, for those that does not exists it in the global configuration, into the local web.config file should solve the issue.</p>
<p>Any way, my idea was to isolate as much as possible the public from the application files and not rely on complex rewriting rules.</p>
<p>Best, Matias</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=569</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=569</guid>
<pubDate>Fri, 12 Jul 2013 15:47:44 +0000</pubDate>
<dc:creator>matup</dc:creator>
</item>
<item>
<title>selfoss running on IIS 7 (reply)</title>
<content:encoded><![CDATA[<p>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.</p>
<p>*edit*</p>
<p>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.</p>
<p>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.</p>
<p>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />
&lt;configuration&gt;<br />
&lt;system.webServer&gt;<br />
&lt;rewrite&gt;<br />
&lt;rules&gt;<br />
&lt;clear /&gt;<br />
&lt;rule name=&quot;favicons&quot; stopProcessing=&quot;true&quot;&gt;<br />
&lt;match url=&quot;favicons/(.*)$&quot; ignoreCase=&quot;false&quot; /&gt;<br />
&lt;conditions logicalGrouping=&quot;MatchAll&quot; trackAllCaptures=&quot;false&quot; /&gt;<br />
&lt;action type=&quot;Rewrite&quot; url=&quot;data/favicons/{R:1}&quot; /&gt;<br />
&lt;/rule&gt;<br />
&lt;rule name=&quot;thumbnails&quot; stopProcessing=&quot;true&quot;&gt;<br />
&lt;match url=&quot;thumbnails/(.*)$&quot; ignoreCase=&quot;false&quot; /&gt;<br />
&lt;conditions logicalGrouping=&quot;MatchAll&quot; trackAllCaptures=&quot;false&quot; /&gt;<br />
&lt;action type=&quot;Rewrite&quot; url=&quot;data/thumbnails/{R:1}&quot; /&gt;<br />
&lt;/rule&gt;<br />
&lt;rule name=&quot;front controller&quot; stopProcessing=&quot;true&quot;&gt;<br />
&lt;match url=&quot;.(js|ico|gif|jpg|png|css|asc|txt|eot|woff|ttf|ttf|svg)$&quot; ignoreCase=&quot;false&quot; negate=&quot;true&quot; /&gt;<br />
&lt;conditions logicalGrouping=&quot;MatchAll&quot; trackAllCaptures=&quot;false&quot;&gt;<br />
&lt;add input=&quot;{QUERY_STRING}&quot; pattern=&quot;^(.*)$&quot; ignoreCase=&quot;false&quot; /&gt;<br />
&lt;/conditions&gt;<br />
&lt;action type=&quot;Rewrite&quot; url=&quot;index.php?{C:1}&quot; appendQueryString=&quot;false&quot; /&gt;<br />
&lt;/rule&gt;<br />
&lt;rule name=&quot;Rewrite&quot; enabled=&quot;true&quot; stopProcessing=&quot;true&quot;&gt;<br />
&lt;match url=&quot;(.*)&quot; negate=&quot;false&quot; /&gt;<br />
&lt;conditions logicalGrouping=&quot;MatchAll&quot; trackAllCaptures=&quot;false&quot;&gt;<br />
&lt;add input=&quot;{REQUEST_FILENAME}&quot; pattern=&quot;favicons/&quot; negate=&quot;true&quot; /&gt;<br />
&lt;add input=&quot;{REQUEST_FILENAME}&quot; pattern=&quot;thumbnails/&quot; negate=&quot;true&quot; /&gt;<br />
&lt;add input=&quot;{REQUEST_FILENAME}&quot; pattern=&quot;public/&quot; negate=&quot;true&quot; /&gt;<br />
&lt;add input=&quot;{REQUEST_FILENAME}&quot; pattern=&quot;index.php&quot; negate=&quot;true&quot; /&gt;<br />
&lt;/conditions&gt;<br />
&lt;action type=&quot;Rewrite&quot; url=&quot;public/{R:1}&quot; /&gt;<br />
&lt;/rule&gt;<br />
&lt;/rules&gt;<br />
&lt;/rewrite&gt;<br />
&lt;/system.webServer&gt;<br />
&lt;/configuration&gt;</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=566</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=566</guid>
<pubDate>Fri, 12 Jul 2013 12:04:57 +0000</pubDate>
<dc:creator>pumm3l</dc:creator>
</item>
<item>
<title>selfoss running on IIS 7 (reply)</title>
<content:encoded><![CDATA[<p>In order to work do the following changes:</p>
<p><strong>1 - Point Web Site to public folder rather than the root folder.<br />
2 - Create a &quot;index.php&quot; file in public folder width the following line:</strong><br />
<strong><span style="color:#f00;">&lt;?php</span></strong> <span style="color:#009;">chdir</span>('../'); <span style="color:#009;">include</span>(<span style="color:#666;">'index.php'</span>); <strong><span style="color:#f00;">?&gt;</span></strong><br />
<strong>3 - Set the web.config with the following data:</strong><br />
<span style="color:#600;">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />
&lt;configuration&gt;<br />
    &lt;system.webServer&gt;<br />
        &lt;rewrite&gt;<br />
            &lt;rules&gt;<br />
                &lt;rule name=&quot;Rewrite&quot; stopProcessing=&quot;true&quot;&gt;<br />
                    &lt;match url=&quot;^(.*)$&quot; ignoreCase=&quot;false&quot; /&gt;<br />
                    &lt;conditions&gt;<br />
                        &lt;add input=&quot;{REQUEST_FILENAME}&quot; pattern=&quot;^.*\.svg$|^.*\.ttf$|^.*\.css$|^.*\.js$|^.*\.jpg$|^.*\.jpeg$|^.*\.png$|^.*\.gif$|^.*\.ico$|^.*\.htm$|^.*\.html$|^.*\.txt$|^.*\.xml$|^.*\.xlsx$|^.*\.xls$|^.*\.swf$|^.*\.flv|^.*\.mp4|^.*\.ogg$&quot; negate=&quot;true&quot; /&gt;<br />
                    &lt;/conditions&gt;<br />
                    &lt;action type=&quot;Rewrite&quot; url=&quot;index.php?{R:1}&quot; appendQueryString=&quot;true&quot; /&gt;<br />
                &lt;/rule&gt;<br />
            &lt;/rules&gt;<br />
        &lt;/rewrite&gt;<br />
        &lt;directoryBrowse enabled=&quot;false&quot; /&gt;<br />
  &lt;httpErrors errorMode=&quot;DetailedLocalOnly&quot; defaultResponseMode=&quot;File&quot;&gt;&lt;/httpErrors&gt;<br />
        &lt;staticContent&gt;<br />
            &lt;remove fileExtension=&quot;.ttf&quot; /&gt;<br />
            &lt;remove fileExtension=&quot;.svg&quot; /&gt;<br />
            &lt;mimeMap fileExtension=&quot;.ttf&quot; mimeType=&quot;application/octet-stream&quot; /&gt;<br />
            &lt;mimeMap fileExtension=&quot;.svg&quot; mimeType=&quot;application/octet-stream&quot; /&gt;<br />
        &lt;/staticContent&gt;<br />
 &lt;/system.webServer&gt;<br />
&lt;/configuration&gt;</span></p>
<p><strong>4 - Modify the file &quot;controllers\Index.php&quot; (around line 180) function &quot;update&quot; remove the comparison <span style="color:#900;">&quot;$_SERVER['SERVER_ADDR'] != $_SERVER['REMOTE_ADDR']&quot;</span>, because $_SERVER['SERVER_ADDR'] does not exists in IIS, or use LOCAL_ADDR instead.</strong><br />
<strong>5 - Add virtual directory &quot;favicons&quot; pointing to &quot;&lt;DIR&gt;\data\favicons&quot; <br />
6 - Add virtual directory &quot;thumbnails&quot; pointing to &quot;&lt;DIR&gt;\data\thumbnails&quot; </strong><br />
<strong>7 - Enjoy!<img src="https://forum.selfoss.aditu.de/images/smilies/smile.png" alt=":-)" /> </strong></p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=564</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=564</guid>
<pubDate>Fri, 12 Jul 2013 03:35:34 +0000</pubDate>
<dc:creator>matup</dc:creator>
</item>
<item>
<title>Problems getting selfoss running (reply)</title>
<content:encoded><![CDATA[<p>Just to update this in case anyone else stumbles on it.... my issue regarding the stylesheets and javascript not working in my previous reply was that the base url was not set in the config.ini file and was defaulting to <a href="https://localhost/">https://localhost/</a> not sure why it does that but it was trying to load <a href="https://localhost/all.css">https://localhost/all.css</a> and my dev server wasn't setup for ssl, i manually entered <a href="http://localhost">http://localhost</a> and the stylesheets and scripts load fine.</p>
<p>The only issue I have now is that the app has slow performance, the page takes about 12 secs to load using PHP FASTCGI on iis 7.5, not sure why but I ended up giving up because I can get it to run fine with php/apache/mysql combo.</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=561</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=561</guid>
<pubDate>Tue, 09 Jul 2013 18:47:01 +0000</pubDate>
<dc:creator>pumm3l</dc:creator>
</item>
<item>
<title>Problems getting selfoss running (reply)</title>
<content:encoded><![CDATA[<p>Fair enough, thanks for the reply.</p>
<p>If you feel like looking at it again, I have it somewhat working.  Still trying to figure some things out regarding the rewriting is IIS. For some reason it's not loading scripts or stylesheets within the page, however it does load fine if I hit it at <a href="http://localhost/all.css">http://localhost/all.css</a> which is odd...</p>
<p>The htaccess file converted to url rewrite in IIS web.config:</p>
<p>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />
&lt;configuration&gt;<br />
    &lt;system.webServer&gt;<br />
        &lt;rewrite&gt;<br />
            &lt;rules&gt;<br />
                &lt;clear /&gt;<br />
                &lt;rule name=&quot;favicons&quot; stopProcessing=&quot;true&quot;&gt;<br />
                    &lt;match url=&quot;favicons/(.*)$&quot; ignoreCase=&quot;false&quot; /&gt;<br />
                    &lt;conditions logicalGrouping=&quot;MatchAll&quot; trackAllCaptures=&quot;false&quot; /&gt;<br />
                    &lt;action type=&quot;Rewrite&quot; url=&quot;data/favicons/{R:1}&quot; /&gt;<br />
                &lt;/rule&gt;<br />
                &lt;rule name=&quot;thumbnails&quot; stopProcessing=&quot;true&quot;&gt;<br />
                    &lt;match url=&quot;thumbnails/(.*)$&quot; ignoreCase=&quot;false&quot; /&gt;<br />
                    &lt;conditions logicalGrouping=&quot;MatchAll&quot; trackAllCaptures=&quot;false&quot; /&gt;<br />
                    &lt;action type=&quot;Rewrite&quot; url=&quot;data/thumbnails/{R:1}&quot; /&gt;<br />
                &lt;/rule&gt;<br />
                &lt;rule name=&quot;front controller&quot; stopProcessing=&quot;true&quot;&gt;<br />
                    &lt;match url=&quot;.(js|ico|gif|jpg|png|css|asc|txt|eot|woff|ttf|ttf|svg)$&quot; ignoreCase=&quot;false&quot; negate=&quot;true&quot; /&gt;<br />
                    &lt;conditions logicalGrouping=&quot;MatchAll&quot; trackAllCaptures=&quot;false&quot;&gt;<br />
                        &lt;add input=&quot;{QUERY_STRING}&quot; pattern=&quot;^(.*)$&quot; ignoreCase=&quot;false&quot; /&gt;<br />
                    &lt;/conditions&gt;<br />
                    &lt;action type=&quot;Rewrite&quot; url=&quot;index.php?{C:1}&quot; appendQueryString=&quot;false&quot; /&gt;<br />
                &lt;/rule&gt;<br />
                &lt;rule name=&quot;Rewrite&quot; enabled=&quot;true&quot; stopProcessing=&quot;true&quot;&gt;<br />
                    &lt;match url=&quot;(.*)&quot; negate=&quot;false&quot; /&gt;<br />
                    &lt;conditions logicalGrouping=&quot;MatchAll&quot; trackAllCaptures=&quot;false&quot;&gt;<br />
                        &lt;add input=&quot;{REQUEST_FILENAME}&quot; pattern=&quot;favicons/&quot; negate=&quot;true&quot; /&gt;<br />
                        &lt;add input=&quot;{REQUEST_FILENAME}&quot; pattern=&quot;thumbnails/&quot; negate=&quot;true&quot; /&gt;<br />
                        &lt;add input=&quot;{REQUEST_FILENAME}&quot; pattern=&quot;public/&quot; negate=&quot;true&quot; /&gt;<br />
                        &lt;add input=&quot;{REQUEST_FILENAME}&quot; pattern=&quot;index.php&quot; negate=&quot;true&quot; /&gt;<br />
                    &lt;/conditions&gt;<br />
                    &lt;action type=&quot;Rewrite&quot; url=&quot;public/{R:1}&quot; /&gt;<br />
                &lt;/rule&gt;<br />
            &lt;/rules&gt;<br />
        &lt;/rewrite&gt;<br />
    &lt;/system.webServer&gt;<br />
&lt;/configuration&gt;</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=558</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=558</guid>
<pubDate>Tue, 09 Jul 2013 14:13:19 +0000</pubDate>
<dc:creator>pumm3l</dc:creator>
</item>
<item>
<title>Problems getting selfoss running (reply)</title>
<content:encoded><![CDATA[<p>I gave up when I didn't get an answer from the forum.  I'm using Feedly... and I created a Chrome plugin to tweak it to include features I was looking for.</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=557</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=557</guid>
<pubDate>Tue, 09 Jul 2013 13:48:13 +0000</pubDate>
<dc:creator>mdeeter</dc:creator>
</item>
<item>
<title>Problems getting selfoss running (reply)</title>
<content:encoded><![CDATA[<p>Ever get this working?  I was getting this same error and I fixed it by uncommenting this line in my php.ini</p>
<p>extension=php_pdo_mysql.dll</p>
<p>I tried as well to get this running on iis/php/mysql but I was having issues with the .htaccess rewriting wondering if you figured out how to solve this.</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=556</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=556</guid>
<pubDate>Tue, 09 Jul 2013 13:06:54 +0000</pubDate>
<dc:creator>pumm3l</dc:creator>
</item>
<item>
<title>Problems getting selfoss running (reply)</title>
<content:encoded><![CDATA[<p>For sqlite, you should install something like php-sqlite in addition to the php default  install.</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=103</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=103</guid>
<pubDate>Sun, 17 Mar 2013 08:28:03 +0000</pubDate>
<dc:creator>polohb</dc:creator>
</item>
<item>
<title>Problems getting selfoss running</title>
<content:encoded><![CDATA[<p>Okay... I'll preface this with a disclaimer... I don't know much about php and mysql.  I work mostly on Windows with classic asp and do mostly javascript development.</p>
<p>Here's the next thing I'm sure everyone here will balk at... I'm trying to run this on a GoDaddy shared hosting account... running Windows with IIS7 and PHP 5.3.</p>
<p>I'm trying to run it on mysql... I have the database set up and the config.ini has all of the connection data in it.</p>
<p><br />
When I try to load selfoss in my browser, it returns an error:</p>
<p>Internal Server Error</p>
<p>Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND'</p>
<p>I also tried the sqlite, but it comes up with an error:</p>
<p>Internal Server Error</p>
<p>could not find driver</p>
<p><br />
Any ideas?</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=101</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=101</guid>
<pubDate>Sat, 16 Mar 2013 22:48:22 +0000</pubDate>
<dc:creator>mdeeter</dc:creator>
</item>
</channel>
</rss>
