<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Evilcoder.org &#187; Gallery</title>
	<atom:link href="http://www.evilcoder.org/tag/gallery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.evilcoder.org</link>
	<description>My contribution to the World</description>
	<lastBuildDate>Sun, 28 Feb 2010 10:04:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Gallery2 to Gallery3</title>
		<link>http://www.evilcoder.org/2009/06/21/gallery2-to-gallery3/</link>
		<comments>http://www.evilcoder.org/2009/06/21/gallery2-to-gallery3/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 14:46:51 +0000</pubDate>
		<dc:creator>Remko</dc:creator>
				<category><![CDATA[Weblog]]></category>
		<category><![CDATA[Gallery]]></category>

		<guid isPermaLink="false">http://www.evilcoder.org/?p=1245</guid>
		<description><![CDATA[Somewhere on the internet I host several Gallery instances for myself and others, to be able to easily show pictures to others. Hence the reason for me setting up a G2 after it came out. The gallery2 instances served me from the beginning till now, on both Apache servers as Nginx servers. Now that G3 [...]]]></description>
			<content:encoded><![CDATA[<p>Somewhere on the internet I host several Gallery instances for myself and others, to be able to easily show pictures to others. Hence the reason for me setting up a G2 after it came out. The gallery2 instances served me from the beginning till now, on both Apache servers as Nginx servers. Now that G3 has beta1 out, I decided to give my own set of ~7000 pictures (16gb) a go. I replaced the instance and got a working setup. I cannot seem to create a new album yet to import some missing pictures (that I never uploaded to G2). But all with all. G3 seems to be lightweight and working properly. test it <img src='http://www.evilcoder.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The only thing that I needed to add to nginx.conf btw is:</p>
<p>if (!-e $request_filename) {<br />
                                rewrite ^/path/to/index.php/(.+)$ /path/to/index.php?kohana_uri=$1 last;<br />
}</p>
<p>and it works out fine. Compared to:</p>
<p>location /v {<br />
        rewrite ^/v/(.*)$ /main.php?g2_view=core.ShowItem&#038;g2_path=$1 last;<br />
}<br />
location /d/ {<br />
        rewrite ^/d/([0-9]+)-([0-9]+)/(.*)$ /main.php?g2_view=core.DownloadItem&#038;g2_itemId=$1&#038;g2_serialNumber=$2&#038;g2_fileName=$3 last;<br />
}<br />
location /rss/ {<br />
        rewrite ^/rss/(.*)$ /main.php?g2_view=rss.Render&#038;g2_name=$1 last;<br />
}<br />
location /srss/ {<br />
        rewrite ^/srss/(.*)$  /main.php?g2_view=rss.SimpleRender&#038;g2_itemId=$1 last;<br />
}<br />
location /c/add/ {<br />
        rewrite ^/c/add/([0-9]+).html(.*)$ /main.php?g2_view=comment.AddComment&#038;g2_itemId=$1 last;<br />
}<br />
location /c/view {<br />
        rewrite ^/c/view/([0-9]+).html(.*)$ /main.php?g2_view=comment.ShowAllComments&#038;g2_itemId=$1 last;<br />
}<br />
location /admin/ {<br />
        rewrite ^/admin/(.*)$ /main.php?g2_view=core.SiteAdmin last;<br />
}</p>
<p>for Gallery2, this made it easier <img src='http://www.evilcoder.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.evilcoder.org/2009/06/21/gallery2-to-gallery3/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
