<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Forum posts to 'Archive'</title>
		<link>http://www.silverstripe.org/archive/rss</link>
		<atom:link href="http://www.silverstripe.org/archive/rss" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title>Re: Installing on kiwihosting.net.nz</title>
			<link>http://www.silverstripe.org/archive/show/116655?start=0#post116701</link>
			<description>&lt;p&gt;&lt;q&gt;Some hosts still have globals turned on????&lt;/q&gt;&lt;br /&gt;They probably don't. I messed around with the files quite a bit, trying things that others suggested. The most important line in the .htaccess file is the first one. It will probably work without the other two lines below the first one, but I didn't experiment further, so I left them in. &lt;/p&gt;&lt;p&gt;Hans&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Installing on kiwihosting.net.nz &lt;a href=&quot;http://www.silverstripe.org/archive/show/116655?start=0#post116701&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/116655?start=0#post116701&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Tue, 08 Jul 2008 15:51:59 +1200</pubDate>
			<dc:creator>HansR</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/116655?start=0#post116701</guid>
		</item>
		
		<item>
			<title>Re: Installing on kiwihosting.net.nz</title>
			<link>http://www.silverstripe.org/archive/show/116655?start=0#post116699</link>
			<description>&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;php_value register_globals off&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;Some hosts still have globals turned on????&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Installing on kiwihosting.net.nz &lt;a href=&quot;http://www.silverstripe.org/archive/show/116655?start=0#post116699&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/116655?start=0#post116699&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Tue, 08 Jul 2008 15:46:03 +1200</pubDate>
			<dc:creator>Double-A-Ron</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/116655?start=0#post116699</guid>
		</item>
		
		<item>
			<title>Installing on kiwihosting.net.nz</title>
			<link>http://www.silverstripe.org/archive/show/116655#post116655</link>
			<description>&lt;p&gt;I've finally sorted out all the &lt;a href=&quot;http://www.silverstripe.com/site-builders-forum/show/84637&quot;&gt;problems&lt;/a&gt; with running Silverstripe on &lt;a href=&quot;http://kiwihosting.net.nz&quot;&gt;kiwihosting.net.nz&lt;/a&gt;. I've posted the installation procedure on my &lt;a href=&quot;http://hdrlab.org.nz/installing-silverstripe-on-kiwihosting-net-nz/&quot;&gt;own blog&lt;/a&gt;, but it makes most sense to post them here too. So here it is:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Installing Silverstripe on Kiwihosting.net.nz&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Download the latest Silverstripe archive and decompress it to a directory. Open up sapphire/main.php, and search for the following line:&lt;/p&gt;&lt;p&gt;    $baseURL = dirname(dirname(dirname(dirname($_SERVER['SCRIPT_NAME']))));&lt;/p&gt;&lt;p&gt;Replace this line with:&lt;/p&gt;&lt;p&gt;    $baseURL = &quot;/&quot;; &lt;/p&gt;&lt;p&gt;In version 2.2.2, this is at line 149. Upload the Silverstripe files to the server as per normal installation. Next, create a new .htaccess file containing the following:&lt;/p&gt;&lt;p&gt;    php_flag zend.ze1_compatibility_mode Off&lt;br /&gt;    php_value allow_call_time_pass_reference on&lt;br /&gt;    php_value register_globals off&lt;/p&gt;&lt;p&gt;    ### SILVERSTRIPE START ###&lt;br /&gt;    RewriteEngine On&lt;br /&gt;    RewriteBase /&lt;/p&gt;&lt;p&gt;    RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$ &lt;br /&gt;    RewriteCond %{REQUEST_URI} ^(.*)$&lt;br /&gt;    RewriteCond %{REQUEST_URI} !(/awstats/*)$&lt;br /&gt;    RewriteCond %{REQUEST_FILENAME} !-f&lt;br /&gt;    RewriteRule .* /sapphire/main.php?url=%1&amp;amp;%{QUERY_STRING} [L]&lt;br /&gt;    ### SILVERSTRIPE END ###&lt;/p&gt;&lt;p&gt;Upload this .htaccess file to the root directory of the server. Next, complete the standard installation procedure. The server may complain that mod-rewrite is not working; this is okay. At this point, you may need to upload the .htaccess file again, because the installer may change it.&lt;/p&gt;&lt;p&gt;Download the file mysite/_config.php (via FTP). Add the following line:&lt;/p&gt;&lt;p&gt;    Director::setBaseURL('/'); &lt;/p&gt;&lt;p&gt;Now upload mysite/_config.php back to the server. Silverstripe should now be installed, and work correctly.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Installing on kiwihosting.net.nz &lt;a href=&quot;http://www.silverstripe.org/archive/show/116655#post116655&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/show/116655#post116655&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Tue, 08 Jul 2008 13:46:23 +1200</pubDate>
			<dc:creator>HansR</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/116655#post116655</guid>
		</item>
		

	</channel>
</rss>