<?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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: IE8, Javascript includes &amp; Apache Error Logs</title>
	<atom:link href="http://www.douglasradburn.co.uk/ie8-javascript-includes-apache-error-logs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.douglasradburn.co.uk/ie8-javascript-includes-apache-error-logs/</link>
	<description>Just another weblog typed by a web monkey...</description>
	<lastBuildDate>Mon, 22 Mar 2010 10:18:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Douglas Radburn</title>
		<link>http://www.douglasradburn.co.uk/ie8-javascript-includes-apache-error-logs/comment-page-1/#comment-20195</link>
		<dc:creator>Douglas Radburn</dc:creator>
		<pubDate>Mon, 22 Mar 2010 10:18:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.douglasradburn.co.uk/?p=152#comment-20195</guid>
		<description>Hi Steve,

Of course, you&#039;re right, however, the error log was reporting an entry against &quot;http://www.mydomain.co.uk/products&quot; NOT the JS file that was to be included.

I could see why apache would report that it couldn&#039;t find the JS, but it could.  In the temptate used at the time, the base href tag actually sorted the relative issue anyway.</description>
		<content:encoded><![CDATA[<p>Hi Steve,</p>
<p>Of course, you&#8217;re right, however, the error log was reporting an entry against &#8220;http://www.mydomain.co.uk/products&#8221; NOT the JS file that was to be included.</p>
<p>I could see why apache would report that it couldn&#8217;t find the JS, but it could.  In the temptate used at the time, the base href tag actually sorted the relative issue anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Fenton</title>
		<link>http://www.douglasradburn.co.uk/ie8-javascript-includes-apache-error-logs/comment-page-1/#comment-20194</link>
		<dc:creator>Steve Fenton</dc:creator>
		<pubDate>Mon, 22 Mar 2010 10:10:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.douglasradburn.co.uk/?p=152#comment-20194</guid>
		<description>There is an explanation to this.

With &quot;/js/monkey.js&quot;, this is treated as a path relative to the application root.

With &quot;js/monkey.js&quot;, this is treated as a path relative to the current address.

Here are some examples:

On http://www.mydomain.co.uk/, both includes would be pointing at /js/monkey.js

On http://www.mydomain.co.uk/products/, the first script would still be pointing at /js/monkey.js but the second (without the leading slash) would be pointing at /products/js/monkey.js</description>
		<content:encoded><![CDATA[<p>There is an explanation to this.</p>
<p>With &#8220;/js/monkey.js&#8221;, this is treated as a path relative to the application root.</p>
<p>With &#8220;js/monkey.js&#8221;, this is treated as a path relative to the current address.</p>
<p>Here are some examples:</p>
<p>On <a href="http://www.mydomain.co.uk/" rel="nofollow">http://www.mydomain.co.uk/</a>, both includes would be pointing at /js/monkey.js</p>
<p>On <a href="http://www.mydomain.co.uk/products/" rel="nofollow">http://www.mydomain.co.uk/products/</a>, the first script would still be pointing at /js/monkey.js but the second (without the leading slash) would be pointing at /products/js/monkey.js</p>
]]></content:encoded>
	</item>
</channel>
</rss>
