<?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>HTTP_HOST errors in Apache log during log rotation</title>
			<link>http://www.silverstripe.org/archive/show/41293#post41293</link>
			<description>&lt;p&gt;Guys&lt;/p&gt;&lt;p&gt;Trickier one this time...&lt;/p&gt;&lt;p&gt;I rotate my Apache Logs nightly and this causes the Apache2 server to send some test requests to itself.&lt;/p&gt;&lt;p&gt;xxx.xxx.xxx.xxx - - [07/Mar/2008:xx:09:24 +1300] &quot;GET / HTTP/1.0&quot; 200 2382 &quot;-&quot; &quot;Apache/2.2.4 (Linux/SUSE) (internal dummy connection)&quot;&lt;br /&gt;xxx.xxx.xxx.xxx - - [07/Mar/2008:xx:09:24 +1300] &quot;GET / HTTP/1.0&quot; 200 2382 &quot;-&quot; &quot;Apache/2.2.4 (Linux/SUSE) (internal dummy connection)&quot;&lt;br /&gt;...&lt;/p&gt;&lt;p&gt;But when this happens I get the following in the Apache error_log&lt;/p&gt;&lt;p&gt;[Fri Mar 07 xx:09:24 2008] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined index:  HTTP_HOST in xxx/sapphire/core/control/Director.php on line 482&lt;br /&gt;[Fri Mar 07 xx:09:24 2008] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined index:  HTTP_HOST in xxx/sapphire/core/control/Director.php on line 487&lt;br /&gt;...&lt;/p&gt;&lt;p&gt;When I installed this instance of SS I removed the Dev server entries 127.0.0.1 and localhost as suggested when running a live site so my _config.php has the following entry.&lt;/p&gt;&lt;p&gt;// Sites running on the following servers will be&lt;br /&gt;// run in development mode. See&lt;br /&gt;// &lt;a href=&quot;http://doc.silverstripe.com/doku.php?id=devmode&quot;&gt;http://doc.silverstripe.com/doku.php?id=devmode&lt;/a&gt;&lt;br /&gt;// for a description of what dev mode does.&lt;br /&gt;Director::set_dev_servers(array(&lt;br /&gt;        '',&lt;br /&gt;));&lt;/p&gt;&lt;p&gt;Is this a bug or do I have some other configuration wrong?&lt;/p&gt;&lt;p&gt;3d&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: HTTP_HOST errors in Apache log during log rotation &lt;a href=&quot;http://www.silverstripe.org/archive/show/41293#post41293&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/show/41293#post41293&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Sat, 08 Mar 2008 13:09:06 +1300</pubDate>
			<dc:creator>3dkiwi</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/41293#post41293</guid>
		</item>
		

	</channel>
</rss>