<?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>Chaos Engine &#187; WebDAV</title>
	<atom:link href="http://dev.modmancer.com/index.php/tag/webdav/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.modmancer.com</link>
	<description>Sometimes I drink to forget.. but then I forget to drink..</description>
	<lastBuildDate>Mon, 06 Feb 2012 16:11:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Syncing Firefox bookmarks and passwords</title>
		<link>http://dev.modmancer.com/index.php/2010/05/23/syncing-firefox-bookmarks-and-passwords/</link>
		<comments>http://dev.modmancer.com/index.php/2010/05/23/syncing-firefox-bookmarks-and-passwords/#comments</comments>
		<pubDate>Sun, 23 May 2010 12:11:10 +0000</pubDate>
		<dc:creator>riddler</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[bookmarks]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[WebDAV]]></category>

		<guid isPermaLink="false">http://dev.modmancer.com/?p=46</guid>
		<description><![CDATA[I use a few computers and I like to have pretty much the same $ENV on them. Using various rsync methods helps keeping $HOME synced. Yet, sometimes that $HOME is way too big for syncing via the Internet. And what if I&#8217;d like to sync just some programes and not the whole damn $HOME dir? [...]]]></description>
			<content:encoded><![CDATA[<p>I use a few computers and I like to have pretty much the same $ENV on  them. Using various rsync methods helps keeping $HOME synced. Yet,  sometimes that $HOME is way too big for syncing via the Internet. And  what if I&#8217;d like to sync just some programes and not the whole damn  $HOME dir?<br />
<span id="more-46"></span></p>
<p>One of the things that was bothering me a lot was syncing Firefox and  it&#8217;s bookmarks/passwords on different computers. Especially when I  change a computer and forget to pickup whatever I needed on a USB  stick(encrypted one). And I need my bookmarks. I&#8217;m one of those geeks  who have been keeping a well organized bookmarks for the past 10+ years.  I&#8217;ve been digging around a bit and found a perfect solution. It comes  down to this: <a title="Lighty" href="http://www.lighttpd.net" target="_blank">Lighttpd</a> via <a title="WebDAV" href="http://en.wikipedia.org/wiki/WebDAV" target="_blank">WebDAV</a> and HTTPS and one neat plugin for Firefox.</p>
<p>This short HOWTO assumes that you know your way around with Lighty. I  won&#8217;t go too deep into details but if you need some additional help  just let me know. So, you&#8217;ll need Lighttpd compiled with WebDAV support.  Once that is done you need the following in your lighttpd.conf:</p>
<pre>$HTTP["host"] == "sync.com" {
server.document-root = "/home/user/sync"
server.errorlog      = "/var/log/sync.error.log"
accesslog.filename   = "/var/log//sync.access.log"
webdav.activate = "enable"
webdav.is-readonly = "disable"
}
</pre>
<p>This will allow you to read and write data to /home/user/sync which  will be our central location for keeping bookmarks and/or passwords. I  suggest using this location only via HTTPS.</p>
<p>Give settings will allow anyone rw access. Not a good idea. Add  something like this to your Lighttpd configuration:</p>
<pre>$HTTP["host"] =~ "sync.com" {
auth.require = ("/" =&gt; (
"method"  =&gt; "digest",
"realm"   =&gt; "Datasphere entrance",
"require" =&gt; "user=username"
))
}
</pre>
<p>Or tweak this password protection in any other way available for  Lighty &#8211;&gt; <a title="ModAuth" href="http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAuth" target="_blank">http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAuth</a></p>
<p>We&#8217;re almost done.</p>
<p>Next step is to install Syncplaces addon for Firefox.You can find it  here: <a href="https://addons.mozilla.org/en-US/firefox/addon/8426" target="_blank">https://addons.mozilla.org/en-US/firefox/addon/8426</a></p>
<p>It&#8217;s pretty easy to setup. There are just a few things you need to  change in the Options menu: Host should be whatever is the hostname of  your sync site and paths to files for passwords and bookmarks. By  default those are /syncplaces.xml, /syncplaces.html and /passwords.  Change them to whatever you want. Syncplaces can be tweaked to do  automatic syncing at whatever time you like. Or when you shut down  Firefox thus making sure that the latest bookmarks and passwords will be  on server once you go an pull the data from another computer.</p>
<p>I&#8217;ve tried to keep this HOWTO as simple as possible. If any part of  it is not clear enough let me know and I&#8217;ll explain.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.modmancer.com/index.php/2010/05/23/syncing-firefox-bookmarks-and-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

