<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #474: Images don't display on the 2010 archive</title>
    <link>http://localhost:8080/trac/ticket/474</link>
    <description>&lt;p&gt;
Images are not working on the 2010 archive:
&lt;/p&gt;
&lt;p&gt;
&lt;a class="ext-link" href="http://2010.archive.transitionnetwork.org/index.php"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://2010.archive.transitionnetwork.org/index.php&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
But they are working here:
&lt;/p&gt;
&lt;p&gt;
&lt;a class="ext-link" href="http://2011.archive.transitionnetwork.org/index.php"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://2011.archive.transitionnetwork.org/index.php&lt;/a&gt;
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>Transition Technology</title>
      <url>/trac/chrome/site/TransitionNetwork-Logo-Web-Small.jpg</url>
      <link>http://localhost:8080/trac/ticket/474</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 26 Feb 2013 21:51:12 GMT</pubDate>
      <title>hours, status, description, totalhours changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/474#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/474#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.6&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/trac/ticket/474?action=diff&amp;amp;version=1"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.6&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Replying to &lt;a class="closed ticket" href="http://localhost:8080/trac/ticket/474" title="defect: Images don't display on the 2010 archive (closed: fixed)"&gt;chris&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
But they are working here:
&lt;/p&gt;
&lt;p&gt;
&lt;a class="ext-link" href="http://2011.archive.transitionnetwork.org/index.php"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://2011.archive.transitionnetwork.org/index.php&lt;/a&gt;
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
The 2011 archive had started doing the same thing so I have spent some time solving this, for the 2011 archives I re-enabled uploads and set it so that existing files can't be overwritten in lots of config.php files:
&lt;/p&gt;
&lt;pre class="wiki"&gt;$EnableUpload = 1;
$EnableUploadOverwrite = 0;
&lt;/pre&gt;&lt;p&gt;
New files can't actually be uploaded as all the files and directories are owned by root and the web server doesn't have permission write any files.
&lt;/p&gt;
&lt;p&gt;
This didn't solve the problem with the 2010 archive, but editing paths in config files, as the location of the files changed when moved from the last web server, solved the problem, these regural expressions were used for this in vim:
&lt;/p&gt;
&lt;pre class="wiki"&gt;:1,$s;/home/tt/public_html;/web/2010.archive.transitionnetwork.org/www;gc
:1,$s;/web/transitiontowns.org.webarch.net/www;/web/2010.archive.transitionnetwork.org/www;gc
:1,$s;http://transitiontowns.org/pub;http://2010.archive.transitionnetwork.org/pub;gc
&lt;/pre&gt;&lt;p&gt;
Now the archive have images again :-)
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="http://2010.archive.transitionnetwork.org/index.php"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://2010.archive.transitionnetwork.org/index.php&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="http://2011.archive.transitionnetwork.org/index.php"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://2011.archive.transitionnetwork.org/index.php&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Also the archives do get traffic still -- the 2011 archive had 13 visits yesterday according to the piwik stats.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>