<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Disqus - Latest Comments for hjr29</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#usercomments-dd6a2624" type="application/json"/><link>http://disqus.com/people/hjr29/</link><description></description><language>en</language><lastBuildDate>Sat, 14 Jun 2008 00:46:14 -0000</lastBuildDate><item><title>Re: suggested-web-hosts | Documentation Wiki</title><link>http://doc.silverstripe.com/doku.php?id=suggested-web-hosts#comment-674015</link><description>Here's another New Zealand based web-host that is confirmed to work, after performing the given changes&lt;br&gt;&lt;br&gt; * [[http://kiwihosting.net.nz|Kiwihosting.net: Hosting Lite, Unix]]&lt;br&gt;350 MB space, 5 GB/month traffic, PHP5, unlimited MySQL 4.x databases, unlimited domains, and more...&lt;br&gt; * Comment by Hans de Ruiter: &lt;br&gt;You will need the following in your .htaccess file for it to install:&lt;br&gt;php_flag zend.ze1_compatibility_mode Off&lt;br&gt;&lt;br&gt;After installation, you may need to reinsert the above line into the .htaccess file. My .htaccess file ended up looking like:&lt;br&gt;php_flag zend.ze1_compatibility_mode Off&lt;br&gt;&lt;br&gt;#### START Override default PHP.ini values&lt;br&gt;php_value allow_call_time_pass_reference on&lt;br&gt;php_value register_globals off&lt;br&gt;&lt;br&gt;# PHP Memory Limit&lt;br&gt;php_value memory_limit 64M&lt;br&gt;&lt;br&gt;&lt;br&gt;### SILVERSTRIPE START ###&lt;br&gt;RewriteEngine On&lt;br&gt;RewriteBase /&lt;br&gt;&lt;br&gt;RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$ &lt;br&gt;RewriteCond %{REQUEST_URI} ^(.*)$&lt;br&gt;RewriteCond %{REQUEST_FILENAME} !-f&lt;br&gt;RewriteRule .* /sapphire/main.php?url=%1&amp;%{QUERY_STRING} [L]&lt;br&gt;### SILVERSTRIPE END ###&lt;br&gt;&lt;br&gt;There is an additional problem documented [url=http://silverstripe.com/site-builders-forum/flat/84637]here[/url]. The server's $_SERVER['SCRIPT_NAME'] variable doesn't return what Silverstripe expects. The work around is to change line 149 in sapphire/main.php, from:&lt;br&gt;$baseURL = dirname(dirname($_SERVER['SCRIPT_NAME'])); &lt;br&gt;&lt;br&gt;to:&lt;br&gt;$baseURL = '/'; &lt;br&gt;&lt;br&gt;If you installed Silverstripe in some sub-directory, $baseURL will have to be set to that sub-directory.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hjr29</dc:creator><pubDate>Sat, 14 Jun 2008 00:46:14 -0000</pubDate></item></channel></rss>